diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 18:52:38 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 18:52:38 +0000 |
commit | 6165b4070b7e3a2fd33efd0eb66043c86f61d8b2 (patch) | |
tree | d2f7f195c13274ca524d264dc34639e276805325 /base/gfx/platform_canvas.h | |
parent | 941ac7fca4afc89cb28ffa760f5a4a4ca077912c (diff) | |
download | chromium_src-6165b4070b7e3a2fd33efd0eb66043c86f61d8b2.zip chromium_src-6165b4070b7e3a2fd33efd0eb66043c86f61d8b2.tar.gz chromium_src-6165b4070b7e3a2fd33efd0eb66043c86f61d8b2.tar.bz2 |
Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left header files in the original locations that include the ones in the new location so I don't have to change all the includes in Chrome at once. These will be removed later.
I kept the names, indenting, and the namespaces the same for now. I will also be cleaning this up in separate passes.
Review URL: http://codereview.chromium.org/11244
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/platform_canvas.h')
-rw-r--r-- | base/gfx/platform_canvas.h | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/base/gfx/platform_canvas.h b/base/gfx/platform_canvas.h index d7442cc..5bf0ec1 100644 --- a/base/gfx/platform_canvas.h +++ b/base/gfx/platform_canvas.h @@ -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" |