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

Unified Diff: base/gfx/platform_canvas.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
« no previous file with comments | « base/gfx/bitmap_platform_device_win.cc ('k') | base/gfx/platform_canvas_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/platform_canvas.h
===================================================================
--- base/gfx/platform_canvas.h (revision 5678)
+++ base/gfx/platform_canvas.h (working copy)
@@ -2,31 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Declare a platform-neutral name for this platform's canvas class
-// 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"
-namespace gfx {
-
-typedef PlatformCanvasWin PlatformCanvas;
-
-} // namespace gfx
-#elif defined(OS_MACOSX)
-#include "base/gfx/platform_canvas_mac.h"
-namespace gfx {
-
-typedef PlatformCanvasMac PlatformCanvas;
-
-} // namespace gfx
-#elif defined(OS_LINUX)
-#include "base/gfx/platform_canvas_linux.h"
-namespace gfx {
-
-typedef PlatformCanvasLinux PlatformCanvas;
-
-} // namespace gfx
-#endif
+// TODO(brettw) this file should be removed and the includes changed to this
+// new location.
+#include "webkit/port/platform/graphics/skia/public/PlatformCanvas.h"
« no previous file with comments | « base/gfx/bitmap_platform_device_win.cc ('k') | base/gfx/platform_canvas_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698