| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 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 // Declare a platform-neutral name for this platform's bitmap device class | 5 // TODO(brettw) this file should be removed and the includes changed to this |
| 6 // that can be used by upper-level classes that just need to pass a reference | 6 // new location. |
| 7 // around. | 7 #include "webkit/port/platform/graphics/skia/public/BitmapPlatformDevice.h" |
| 8 | |
| 9 #if defined(OS_WIN) | |
| 10 #include "base/gfx/bitmap_platform_device_win.h" | |
| 11 #elif defined(OS_MACOSX) | |
| 12 #include "base/gfx/bitmap_platform_device_mac.h" | |
| 13 #elif defined(OS_LINUX) | |
| 14 #include "base/gfx/bitmap_platform_device_linux.h" | |
| 15 #endif | |
| 16 | |
| 17 namespace gfx { | |
| 18 | |
| 19 #if defined(OS_WIN) | |
| 20 typedef BitmapPlatformDeviceWin BitmapPlatformDevice; | |
| 21 #elif defined(OS_MACOSX) | |
| 22 typedef BitmapPlatformDeviceMac BitmapPlatformDevice; | |
| 23 #elif defined(OS_LINUX) | |
| 24 typedef BitmapPlatformDeviceLinux BitmapPlatformDevice; | |
| 25 #endif | |
| 26 | |
| 27 } | |
| OLD | NEW |