Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: base/gfx/bitmap_platform_device.h

Issue 1616: Refactor the platform canvas unit test a bit so that it can be run on... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/gfx/SConscript ('k') | base/gfx/bitmap_platform_device_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Declare a platform-neutral name for this platform's bitmap device class
6 // that can be used by upper-level classes that just need to pass a reference 6 // that can be used by upper-level classes that just need to pass a reference
7 // around. 7 // around.
8 8
9 #if defined(OS_WIN)
10 #include "base/gfx/bitmap_platform_device_win.h"
9 namespace gfx { 11 namespace gfx {
10 12
11 #if defined(OS_WIN)
12 class BitmapPlatformDeviceWin;
13 typedef BitmapPlatformDeviceWin BitmapPlatformDevice; 13 typedef BitmapPlatformDeviceWin BitmapPlatformDevice;
14
15 }
14 #elif defined(OS_MACOSX) 16 #elif defined(OS_MACOSX)
15 class BitmapPlatformDeviceMac; 17 #include "base/gfx/bitmap_platform_device_mac.h"
18 namespace gfx {
19
16 typedef BitmapPlatformDeviceMac BitmapPlatformDevice; 20 typedef BitmapPlatformDeviceMac BitmapPlatformDevice;
21
22 }
17 #elif defined(OS_LINUX) 23 #elif defined(OS_LINUX)
18 class BitmapPlatformDeviceLinux; 24 #include "base/gfx/bitmap_platform_device_linux.h"
25 namespace gfx {
26
19 typedef BitmapPlatformDeviceLinux BitmapPlatformDevice; 27 typedef BitmapPlatformDeviceLinux BitmapPlatformDevice;
28
29 }
20 #endif 30 #endif
21
22 } // namespace gfx
OLDNEW
« no previous file with comments | « base/gfx/SConscript ('k') | base/gfx/bitmap_platform_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698