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.
5 #ifndef PRINTING_NATIVE_DRAWING_CONTEXT_H_
6 #define PRINTING_NATIVE_DRAWING_CONTEXT_H_
8 #include "build/build_config.h"
11 #include "base/win/windows_types.h"
12 #elif BUILDFLAG(IS_APPLE)
13 typedef struct CGContext* CGContextRef;
19 typedef HDC NativeDrawingContext;
20 #elif BUILDFLAG(IS_APPLE)
21 typedef CGContextRef NativeDrawingContext;
23 typedef void* NativeDrawingContext;
26 } // namespace printing
28 #endif // PRINTING_NATIVE_DRAWING_CONTEXT_H_