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

Unified Diff: ui/native_theme/native_theme.h

Issue 12041085: Fix menu corners: the menu background was being painted as a rect when in fact, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 11 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/native_theme/native_theme_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme.h
diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
index 0c5499ec4e12e6ed2c8b521da3814fdfb2d4f571..2958609dda7f76cb815080765a378c833f925b27 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -135,6 +135,10 @@ class NATIVE_THEME_EXPORT NativeTheme {
bool has_gutter;
};
+ struct MenuBackgroundExtraParams {
+ int corner_radius;
+ };
+
struct ProgressBarExtraParams {
double animated_seconds;
bool determinate;
@@ -190,6 +194,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
MenuItemExtraParams menu_item;
MenuListExtraParams menu_list;
MenuSeparatorExtraParams menu_separator;
+ MenuBackgroundExtraParams menu_background;
ProgressBarExtraParams progress_bar;
ScrollbarArrowExtraParams scrollbar_arrow;
ScrollbarTrackExtraParams scrollbar_track;
« no previous file with comments | « no previous file | ui/native_theme/native_theme_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698