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

Unified Diff: ui/native_theme/native_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 (tests) 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.h
diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
index b09dd15b1c17171fe6dffbb7aa1f9b100bd4e920..f4dbd690a7edffe0645b6a3bca0472f367c749dd 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -132,6 +132,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
struct MenuItemExtraParams {
bool is_selected;
+ int corner_radius;
};
struct MenuListExtraParams {
@@ -196,7 +197,9 @@ class NATIVE_THEME_EXPORT NativeTheme {
int classic_state; // Used on Windows when uxtheme is not available.
};
- union ExtraParams {
+ union NATIVE_THEME_EXPORT ExtraParams {
+ ExtraParams();
+
ButtonExtraParams button;
InnerSpinButtonExtraParams inner_spin;
MenuArrowExtraParams menu_arrow;

Powered by Google App Engine
This is Rietveld 408576698