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

Unified Diff: ui/gfx/native_theme_base.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 | « ui/gfx/native_theme_aura.cc ('k') | ui/gfx/native_theme_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_base.h
diff --git a/ui/gfx/native_theme_base.h b/ui/gfx/native_theme_base.h
index 413eb087547f68959708502ae379047298e5e75a..96247089540018baa61a1884c85149dca79e7102 100644
--- a/ui/gfx/native_theme_base.h
+++ b/ui/gfx/native_theme_base.h
@@ -82,11 +82,8 @@ class NativeThemeBase : public NativeTheme {
const gfx::Rect& rect,
const MenuListExtraParams& menu_list) const;
- virtual void PaintMenuPopupBackground(
- SkCanvas* canvas,
- State state,
- const gfx::Rect& rect,
- const MenuListExtraParams& menu_list) const;
+ virtual void PaintMenuPopupBackground(SkCanvas* canvas,
+ const gfx::Size& size) const;
virtual void PaintMenuItemBackground(
SkCanvas* canvas,
« no previous file with comments | « ui/gfx/native_theme_aura.cc ('k') | ui/gfx/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698