[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / printing / native_drawing_context.h
1 // Copyright 2015 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PRINTING_NATIVE_DRAWING_CONTEXT_H_
6 #define PRINTING_NATIVE_DRAWING_CONTEXT_H_
7
8 #include "build/build_config.h"
9
10 #if BUILDFLAG(IS_WIN)
11 #include "base/win/windows_types.h"
12 #elif BUILDFLAG(IS_APPLE)
13 typedef struct CGContext* CGContextRef;
14 #endif
15
16 namespace printing {
17
18 #if BUILDFLAG(IS_WIN)
19 typedef HDC NativeDrawingContext;
20 #elif BUILDFLAG(IS_APPLE)
21 typedef CGContextRef NativeDrawingContext;
22 #else
23 typedef void* NativeDrawingContext;
24 #endif
25
26 }  // namespace printing
27
28 #endif  // PRINTING_NATIVE_DRAWING_CONTEXT_H_