diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 19:02:16 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 19:02:16 +0000 |
commit | c6d9422188208e9034891c3cb46d37171e33208c (patch) | |
tree | 82dd7b79d7b1ff2b67f7bf55eedc360e87084a37 /webkit/glue/webthemeengine_impl_win.cc | |
parent | b00bbb39365d95b4e8d95302d1e18507997fd1ec (diff) | |
download | chromium_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 'webkit/glue/webthemeengine_impl_win.cc')
-rw-r--r-- | webkit/glue/webthemeengine_impl_win.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/webkit/glue/webthemeengine_impl_win.cc b/webkit/glue/webthemeengine_impl_win.cc index a6344b6..dd3f356 100644 --- a/webkit/glue/webthemeengine_impl_win.cc +++ b/webkit/glue/webthemeengine_impl_win.cc @@ -30,7 +30,7 @@ void WebThemeEngineImpl::paintButton( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintButton( + gfx::NativeThemeWin::instance()->PaintButton( hdc, part, state, classic_state, &native_rect); canvas->endPlatformPaint(); @@ -42,7 +42,7 @@ void WebThemeEngineImpl::paintMenuList( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintMenuList( + gfx::NativeThemeWin::instance()->PaintMenuList( hdc, part, state, classic_state, &native_rect); canvas->endPlatformPaint(); @@ -54,7 +54,7 @@ void WebThemeEngineImpl::paintScrollbarArrow( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintScrollbarArrow( + gfx::NativeThemeWin::instance()->PaintScrollbarArrow( hdc, state, classic_state, &native_rect); canvas->endPlatformPaint(); @@ -66,7 +66,7 @@ void WebThemeEngineImpl::paintScrollbarThumb( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintScrollbarThumb( + gfx::NativeThemeWin::instance()->PaintScrollbarThumb( hdc, part, state, classic_state, &native_rect); canvas->endPlatformPaint(); @@ -79,7 +79,7 @@ void WebThemeEngineImpl::paintScrollbarTrack( RECT native_rect = WebRectToRECT(rect); RECT native_align_rect = WebRectToRECT(align_rect); - gfx::NativeTheme::instance()->PaintScrollbarTrack( + gfx::NativeThemeWin::instance()->PaintScrollbarTrack( hdc, part, state, classic_state, &native_rect, &native_align_rect, canvas); @@ -92,7 +92,7 @@ void WebThemeEngineImpl::paintSpinButton( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintSpinButton( + gfx::NativeThemeWin::instance()->PaintSpinButton( hdc, part, state, classic_state, &native_rect); canvas->endPlatformPaint(); @@ -107,7 +107,7 @@ void WebThemeEngineImpl::paintTextField( RECT native_rect = WebRectToRECT(rect); COLORREF c = skia::SkColorToCOLORREF(color); - gfx::NativeTheme::instance()->PaintTextField( + gfx::NativeThemeWin::instance()->PaintTextField( hdc, part, state, classic_state, &native_rect, c, fill_content_area, draw_edges); @@ -120,7 +120,7 @@ void WebThemeEngineImpl::paintTrackbar( HDC hdc = canvas->beginPlatformPaint(); RECT native_rect = WebRectToRECT(rect); - gfx::NativeTheme::instance()->PaintTrackbar( + gfx::NativeThemeWin::instance()->PaintTrackbar( hdc, part, state, classic_state, &native_rect, canvas); canvas->endPlatformPaint(); @@ -133,7 +133,7 @@ void WebThemeEngineImpl::paintProgressBar( HDC hdc = canvas->beginPlatformPaint(); RECT native_bar_rect = WebRectToRECT(barRect); RECT native_value_rect = WebRectToRECT(valueRect); - gfx::NativeTheme::instance()->PaintProgressBar( + gfx::NativeThemeWin::instance()->PaintProgressBar( hdc, &native_bar_rect, &native_value_rect, determinate, animatedSeconds, canvas); canvas->endPlatformPaint(); |