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

Unified Diff: ui/views/style/platform_style.h

Issue 1971333002: Views: factor out Combobox background and const-ify style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ios build break Created 4 years, 7 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 | « ui/views/style/mac/combobox_background_mac.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index 97f697e4fd4e2f2e4e9e41137453c1b8601fbaca..3a6392622d465819ea9ff14f4357d272a040324d 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -49,7 +49,8 @@ class VIEWS_EXPORT PlatformStyle {
static std::unique_ptr<FocusableBorder> CreateComboboxBorder();
// Creates the appropriate background for a Combobox.
- static std::unique_ptr<Background> CreateComboboxBackground();
+ static std::unique_ptr<Background> CreateComboboxBackground(
+ int shoulder_width);
// Creates the default label button border for the given |style|. Used when a
// custom default border is not provided for a particular LabelButton class.
« no previous file with comments | « ui/views/style/mac/combobox_background_mac.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698