summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
commit21f527e6a4a812b604dd0891b27878d8418c04d9 (patch)
tree4dec5cb778e0b0755606f1d2113b3b6097188f85 /base/gfx
parentf8a2599cd63347322133ffa5c89195d66dc3d4b3 (diff)
downloadchromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.zip
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.gz
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.bz2
Move the "platform" wrappers in skia/ext to the skia namespace.
Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rw-r--r--base/gfx/native_theme.cc2
-rw-r--r--base/gfx/native_theme.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/base/gfx/native_theme.cc b/base/gfx/native_theme.cc
index 8c7914d..2faffd5 100644
--- a/base/gfx/native_theme.cc
+++ b/base/gfx/native_theme.cc
@@ -199,7 +199,7 @@ HRESULT NativeTheme::PaintScrollbarTrack(HDC hdc,
int classic_state,
RECT* target_rect,
RECT* align_rect,
- PlatformCanvasWin* canvas) const {
+ skia::PlatformCanvasWin* canvas) const {
HANDLE handle = GetThemeHandle(SCROLLBAR);
if (handle && draw_theme_)
return draw_theme_(handle, hdc, part_id, state_id, target_rect, NULL);
diff --git a/base/gfx/native_theme.h b/base/gfx/native_theme.h
index c2a31eb..94b8848 100644
--- a/base/gfx/native_theme.h
+++ b/base/gfx/native_theme.h
@@ -17,8 +17,11 @@
#include "base/gfx/size.h"
#include "skia/include/SkColor.h"
-namespace gfx {
+namespace skia {
class PlatformCanvasWin;
+} // namespace skia
+
+namespace gfx {
// TODO: Define class member enums to replace part_id and state_id parameters
// that are currently defined in <vssym32.h>. Afterward, classic_state should
@@ -128,7 +131,7 @@ class NativeTheme {
int classic_state,
RECT* target_rect,
RECT* align_rect,
- PlatformCanvasWin* canvas) const;
+ skia::PlatformCanvasWin* canvas) const;
// |arrow_direction| determines whether the arrow is pointing to the left or
// to the right. In RTL locales, sub-menus open from right to left and