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

Unified Diff: webkit/port/platform/graphics/skia/public/PlatformCanvas.h

Issue 11244: Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Index: webkit/port/platform/graphics/skia/public/PlatformCanvas.h
===================================================================
--- webkit/port/platform/graphics/skia/public/PlatformCanvas.h (revision 0)
+++ webkit/port/platform/graphics/skia/public/PlatformCanvas.h (working copy)
@@ -6,24 +6,22 @@
// that can be used by upper-level classes that just need to pass a reference
// around.
-#include "build/build_config.h"
-
-#if defined(OS_WIN)
-#include "base/gfx/platform_canvas_win.h"
+#if defined(WIN32)
+#include "PlatformCanvasWin.h"
namespace gfx {
typedef PlatformCanvasWin PlatformCanvas;
} // namespace gfx
-#elif defined(OS_MACOSX)
-#include "base/gfx/platform_canvas_mac.h"
+#elif defined(__APPLE__)
+#include "PlatformCanvasMac.h"
namespace gfx {
typedef PlatformCanvasMac PlatformCanvas;
} // namespace gfx
-#elif defined(OS_LINUX)
-#include "base/gfx/platform_canvas_linux.h"
+#elif defined(__linux__)
+#include "PlatformCanvasLinux.h"
namespace gfx {
typedef PlatformCanvasLinux PlatformCanvas;
Property changes on: webkit\port\platform\graphics\skia\public\PlatformCanvas.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/platform_canvas.h:r69-2775

Powered by Google App Engine
This is Rietveld 408576698