1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
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"
12 #elif defined(OS_MACOSX)
13 typedef struct CGContext* CGContextRef;
19 typedef HDC NativeDrawingContext;
20 #elif defined(OS_MACOSX)
21 typedef CGContextRef NativeDrawingContext;
23 typedef void* NativeDrawingContext;
28 #endif // PRINTING_NATIVE_DRAWING_CONTEXT_H_