Index: ui/native_theme/native_theme_win.h |
diff --git a/ui/native_theme/native_theme_win.h b/ui/native_theme/native_theme_win.h |
index 03483650bc57ab4f54b36911a12a9fb7621e5696..8f8597badc52f5af872491f9b862defd2dfdddd2 100644 |
--- a/ui/native_theme/native_theme_win.h |
+++ b/ui/native_theme/native_theme_win.h |
@@ -130,22 +130,6 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme, |
void PaintMenuGutter(SkCanvas* canvas, const gfx::Rect& rect) const; |
void PaintMenuBackground(SkCanvas* canvas, const gfx::Rect& rect) const; |
- // Paint directly to canvas' HDC. |
- void PaintDirect(SkCanvas* canvas, |
- Part part, |
- State state, |
- const gfx::Rect& rect, |
- const ExtraParams& extra) const; |
- |
- // Create a temporary HDC, paint to that, clean up the alpha values in the |
- // temporary HDC, and then blit the result to canvas. This is to work around |
- // the fact that Windows XP and some classic themes give bogus alpha values. |
- void PaintIndirect(SkCanvas* canvas, |
- Part part, |
- State state, |
- const gfx::Rect& rect, |
- const ExtraParams& extra) const; |
- |
HRESULT GetThemePartSize(ThemeName themeName, |
HDC hdc, |
int part_id, |
@@ -161,11 +145,6 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme, |
int state_id, |
RECT* rect) const; |
- HRESULT PaintMenuSeparator(HDC hdc, |
- const gfx::Rect& rect) const; |
- |
- HRESULT PaintMenuGutter(HDC hdc, const gfx::Rect& rect) 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 |
// therefore the menu arrow should point to the left and not to the right. |
@@ -174,8 +153,6 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme, |
const gfx::Rect& rect, |
const MenuArrowExtraParams& extra) const; |
- HRESULT PaintMenuBackground(HDC hdc, const gfx::Rect& rect) const; |
- |
HRESULT PaintMenuCheck(HDC hdc, |
State state, |
const gfx::Rect& rect, |
@@ -185,11 +162,6 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme, |
State state, |
const gfx::Rect& rect) const; |
- HRESULT PaintMenuItemBackground(HDC hdc, |
- State state, |
- const gfx::Rect& rect, |
- const MenuItemExtraParams& extra) const; |
- |
HRESULT PaintPushButton(HDC hdc, |
Part part, |
State state, |