Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1024)

Unified Diff: ui/gfx/native_theme_aura.h

Issue 9565021: ui/gfx: Drop unused args from PaintMenuBackgroundColor() and pass gfx::Size instead of gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/native_theme_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_aura.h
diff --git a/ui/gfx/native_theme_aura.h b/ui/gfx/native_theme_aura.h
index 3535d7df13625d5ad54fe85e07db1d5d7a4c0ec9..4e83b8781261bc9f12c1295c19a8e5986ff8b668 100644
--- a/ui/gfx/native_theme_aura.h
+++ b/ui/gfx/native_theme_aura.h
@@ -25,34 +25,24 @@ class NativeThemeAura : public NativeThemeBase {
NativeThemeAura();
virtual ~NativeThemeAura();
- // NativeTheme overrides
+ // Overridden from NativeThemeBase:
virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
-
- // NativeThemeBase overrides
- virtual void PaintMenuPopupBackground(
- SkCanvas* canvas,
- State state,
- const gfx::Rect& rect,
- const MenuListExtraParams& menu_list) const OVERRIDE;
-
+ virtual void PaintMenuPopupBackground(SkCanvas* canvas,
+ const gfx::Size& size) const OVERRIDE;
virtual void PaintScrollbarTrack(
SkCanvas* canvas,
Part part,
State state,
const ScrollbarTrackExtraParams& extra_params,
const gfx::Rect& rect) const OVERRIDE;
-
- virtual void PaintArrowButton(
- SkCanvas* canvas,
- const gfx::Rect& rect,
- Part direction,
- State state) const OVERRIDE;
-
- virtual void PaintScrollbarThumb(
- SkCanvas* canvas,
- Part part,
- State state,
- const gfx::Rect& rect) const OVERRIDE;
+ virtual void PaintArrowButton(SkCanvas* canvas,
+ const gfx::Rect& rect,
+ Part direction,
+ State state) const OVERRIDE;
+ virtual void PaintScrollbarThumb(SkCanvas* canvas,
+ Part part,
+ State state,
+ const gfx::Rect& rect) const OVERRIDE;
SkBitmap* GetHorizontalBitmapNamed(int resource_id) const;
« no previous file with comments | « no previous file | ui/gfx/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698