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

Unified Diff: base/gfx/platform_device.h

Issue 1853: Refactor the platform canvas unit test a bit so that it can be run on... (Closed) Base URL: svn://chrome-svn/chrome/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/gfx/platform_canvas_unittest_win.cc ('k') | base/gfx/platform_device_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/platform_device.h
===================================================================
--- base/gfx/platform_device.h (revision 1896)
+++ base/gfx/platform_device.h (working copy)
@@ -6,17 +6,22 @@
// that can be used by upper-level classes that just need to pass a reference
// around.
+#if defined(OS_WIN)
+#include "base/gfx/platform_device_win.h"
+#elif defined(OS_MACOSX)
+#include "base/gfx/platform_device_mac.h"
+#elif defined(OS_LINUX)
+#include "base/gfx/platform_device_linux.h"
+#endif
+
namespace gfx {
-
+
#if defined(OS_WIN)
-class PlatformDeviceWin;
typedef PlatformDeviceWin PlatformDevice;
#elif defined(OS_MACOSX)
-class PlatformDeviceMac;
typedef PlatformDeviceMac PlatformDevice;
#elif defined(OS_LINUX)
-class PlatformDeviceLinux;
typedef PlatformDeviceLinux PlatformDevice;
#endif
-
+
} // namespace gfx
« no previous file with comments | « base/gfx/platform_canvas_unittest_win.cc ('k') | base/gfx/platform_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698