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

Unified Diff: ui/native_theme/native_theme_base.cc

Issue 1661673004: Enables hot-tracking for overflow extension buttons in the app menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restores hot-tracking of extension buttons in app menu with MD Created 4 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
Index: ui/native_theme/native_theme_base.cc
diff --git a/ui/native_theme/native_theme_base.cc b/ui/native_theme/native_theme_base.cc
index 1a7837ef3ebc6161d32094f9b56b21ebf3f759e7..4da1497e40a2ec9d4a1e9f67ffce2f02049428da 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -213,7 +213,7 @@ void NativeThemeBase::Paint(SkCanvas* canvas,
PaintMenuPopupBackground(canvas, rect.size(), extra.menu_background);
break;
case kMenuItemBackground:
- PaintMenuItemBackground(canvas, state, rect, extra.menu_list);
+ PaintMenuItemBackground(canvas, state, rect, extra.menu_item);
break;
case kProgressBar:
PaintProgressBar(canvas, state, rect, extra.progress_bar);
@@ -792,7 +792,7 @@ void NativeThemeBase::PaintMenuItemBackground(
SkCanvas* canvas,
State state,
const gfx::Rect& rect,
- const MenuListExtraParams& menu_list) const {
+ const MenuItemExtraParams& menu_item) const {
// By default don't draw anything over the normal background.
}

Powered by Google App Engine
This is Rietveld 408576698