OLD | NEW |
| (Empty) |
1 // Copyright (c) 2006-2008 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. | |
4 | |
5 // Declare a platform-neutral name for this platform's device class | |
6 // that can be used by upper-level classes that just need to pass a reference | |
7 // around. | |
8 | |
9 #if defined(WIN32) | |
10 #include "skia/ext/platform_device_win.h" | |
11 #elif defined(__APPLE__) | |
12 #include "skia/ext/platform_device_mac.h" | |
13 #elif defined(__linux__) | |
14 #include "PlatformDeviceLinux.h" | |
15 #endif | |
16 | |
17 namespace gfx { | |
18 | |
19 #if defined(WIN32) | |
20 typedef PlatformDeviceWin PlatformDevice; | |
21 #elif defined(__APPLE__) | |
22 typedef PlatformDeviceMac PlatformDevice; | |
23 #elif defined(__linux__) | |
24 typedef PlatformDeviceLinux PlatformDevice; | |
25 #endif | |
26 | |
27 } // namespace gfx | |
OLD | NEW |