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

Unified Diff: ui/gfx/native_theme_linux.h

Issue 6490014: Make the size of menulists on Linux the same size as on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: handle border radius Created 9 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 | « no previous file | ui/gfx/native_theme_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_linux.h
diff --git a/ui/gfx/native_theme_linux.h b/ui/gfx/native_theme_linux.h
index b557dfc82138dafdf6065e84f7edad0ee0e6d779..5bd9a2810c44973bcbe61e7161dacfb630a0a673 100644
--- a/ui/gfx/native_theme_linux.h
+++ b/ui/gfx/native_theme_linux.h
@@ -60,6 +60,7 @@ class NativeThemeLinux {
bool checked;
bool indeterminate; // Whether the button state is indeterminate.
bool is_default; // Whether the button is default button.
+ bool has_border;
SkColor background_color;
};
@@ -70,6 +71,8 @@ class NativeThemeLinux {
};
struct MenuListExtraParams {
+ bool has_border;
+ bool has_border_radius;
int arrow_x;
int arrow_y;
SkColor background_color;
« no previous file with comments | « no previous file | ui/gfx/native_theme_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698