OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkXPSDevice_DEFINED | 8 #ifndef SkXPSDevice_DEFINED |
9 #define SkXPSDevice_DEFINED | 9 #define SkXPSDevice_DEFINED |
10 | 10 |
11 #include "SkTypes.h" | 11 #include "SkTypes.h" |
12 | 12 |
| 13 #ifdef SK_BUILD_FOR_WIN |
| 14 |
13 #include <ObjBase.h> | 15 #include <ObjBase.h> |
14 #include <XpsObjectModel.h> | 16 #include <XpsObjectModel.h> |
15 | 17 |
16 #include "SkAutoCoInitialize.h" | 18 #include "SkAutoCoInitialize.h" |
17 #include "SkBitmapDevice.h" | 19 #include "SkBitmapDevice.h" |
18 #include "SkBitSet.h" | 20 #include "SkBitSet.h" |
19 #include "SkCanvas.h" | 21 #include "SkCanvas.h" |
20 #include "SkColor.h" | 22 #include "SkColor.h" |
21 #include "SkPaint.h" | 23 #include "SkPaint.h" |
22 #include "SkPath.h" | 24 #include "SkPath.h" |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 313 |
312 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; | 314 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
313 | 315 |
314 // Disable the default copy and assign implementation. | 316 // Disable the default copy and assign implementation. |
315 SkXPSDevice(const SkXPSDevice&); | 317 SkXPSDevice(const SkXPSDevice&); |
316 void operator=(const SkXPSDevice&); | 318 void operator=(const SkXPSDevice&); |
317 | 319 |
318 typedef SkBitmapDevice INHERITED; | 320 typedef SkBitmapDevice INHERITED; |
319 }; | 321 }; |
320 | 322 |
321 #endif | 323 #endif // SK_BUILD_FOR_WIN |
| 324 #endif // SkXPSDevice_DEFINED |
OLD | NEW |