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

Unified Diff: ui/native_theme/common_theme.h

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 (nit) 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/common_theme.h
diff --git a/ui/native_theme/common_theme.h b/ui/native_theme/common_theme.h
index b30b68d8686fcf068e2bc76b618ce800046a9a38..ca40765c67ca9e06d3938583a7d180f277113571 100644
--- a/ui/native_theme/common_theme.h
+++ b/ui/native_theme/common_theme.h
@@ -45,7 +45,8 @@ void NATIVE_THEME_EXPORT CommonThemePaintMenuBackground(SkCanvas* canvas,
void NATIVE_THEME_EXPORT CommonThemePaintMenuItemBackground(
SkCanvas* canvas,
NativeTheme::State state,
- const gfx::Rect& rect);
+ const gfx::Rect& rect,
+ const NativeTheme::MenuItemExtraParams& menu_item);
// Creates a gfx::Canvas wrapping an SkCanvas.
scoped_ptr<gfx::Canvas> NATIVE_THEME_EXPORT CommonThemeCreateCanvas(

Powered by Google App Engine
This is Rietveld 408576698