OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_ | 5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_ |
6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_ | 6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file provides an easy way to include the appropriate | 9 // This file provides an easy way to include the appropriate |
10 // VectorPlatformDevice header file for your platform. | 10 // VectorPlatformDevice header file for your platform. |
11 #if defined(WIN32) | 11 #if defined(WIN32) |
12 #include "skia/ext/vector_platform_device_win.h" | 12 #include "skia/ext/vector_platform_device_win.h" |
13 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) | 13 #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) |
14 #include "skia/ext/vector_platform_device_linux.h" | 14 #include "skia/ext/vector_platform_device_linux.h" |
| 15 #elif defined(__APPLE__) |
| 16 #include "skia/ext/bitmap_platform_device_mac.h" |
| 17 namespace skia { |
| 18 typedef SkBitmapPlatformDeviceFactory SkVectorPlatformDeviceFactory; |
| 19 } // namespace skia |
15 #endif | 20 #endif |
16 | 21 |
17 #endif | 22 #endif |
18 | 23 |
OLD | NEW |