summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 19:02:16 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 19:02:16 +0000
commitc6d9422188208e9034891c3cb46d37171e33208c (patch)
tree82dd7b79d7b1ff2b67f7bf55eedc360e87084a37 /views/window
parentb00bbb39365d95b4e8d95302d1e18507997fd1ec (diff)
downloadchromium_src-c6d9422188208e9034891c3cb46d37171e33208c.zip
chromium_src-c6d9422188208e9034891c3cb46d37171e33208c.tar.gz
chromium_src-c6d9422188208e9034891c3cb46d37171e33208c.tar.bz2
In preparation for NativeTheme refactoring, renaming the class NativeTheme
to NativeThemeWin, since it is windows specific anyway. BUG=None TEST=None R=xiyuan@chromium.org Review URL: http://codereview.chromium.org/6778009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/dialog_client_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/window/dialog_client_view.cc b/views/window/dialog_client_view.cc
index 99512cb..2f08f96 100644
--- a/views/window/dialog_client_view.cc
+++ b/views/window/dialog_client_view.cc
@@ -429,8 +429,8 @@ void DialogClientView::PaintSizeBox(gfx::Canvas* canvas) {
#if defined(OS_WIN)
HDC dc = canvas->BeginPlatformPaint();
SIZE gripper_size = { 0, 0 };
- gfx::NativeTheme::instance()->GetThemePartSize(
- gfx::NativeTheme::STATUS, dc, SP_GRIPPER, 1, NULL, TS_TRUE,
+ gfx::NativeThemeWin::instance()->GetThemePartSize(
+ gfx::NativeThemeWin::STATUS, dc, SP_GRIPPER, 1, NULL, TS_TRUE,
&gripper_size);
// TODO(beng): (http://b/1085509) In "classic" rendering mode, there isn't
@@ -441,7 +441,7 @@ void DialogClientView::PaintSizeBox(gfx::Canvas* canvas) {
size_box_bounds_.set_x(size_box_bounds_.right() - gripper_size.cx);
size_box_bounds_.set_y(size_box_bounds_.bottom() - gripper_size.cy);
RECT native_bounds = size_box_bounds_.ToRECT();
- gfx::NativeTheme::instance()->PaintStatusGripper(
+ gfx::NativeThemeWin::instance()->PaintStatusGripper(
dc, SP_PANE, 1, 0, &native_bounds);
canvas->EndPlatformPaint();
#else