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

Unified Diff: ui/views/style/platform_style_mac.mm

Issue 1819443002: MacViews: draw combobox arrow backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use Background instead of a separate Part Created 4 years, 9 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/views/style/platform_style_mac.mm
diff --git a/ui/views/style/platform_style_mac.mm b/ui/views/style/platform_style_mac.mm
index c9f4f8c6cde2702b89992028d613910b61e83411..630de8057e0717712e4fbfdde6f03d573cc30352 100644
--- a/ui/views/style/platform_style_mac.mm
+++ b/ui/views/style/platform_style_mac.mm
@@ -8,11 +8,17 @@
#include "ui/views/controls/button/label_button_border.h"
#include "ui/views/controls/focusable_rounded_border_mac.h"
#import "ui/views/controls/scrollbar/cocoa_scroll_bar.h"
+#include "ui/views/style/mac/combobox_background_mac.h"
#include "ui/views/style/mac/dialog_button_border_mac.h"
namespace views {
// static
+scoped_ptr<Background> PlatformStyle::CreateComboboxBackground() {
tapted 2016/03/22 23:04:33 nit: move below CreateComboboxBorder
Elly Fong-Jones 2016/03/23 18:07:45 Done.
+ return make_scoped_ptr(new ComboboxBackgroundMac);
+}
+
+// static
scoped_ptr<FocusableBorder> PlatformStyle::CreateComboboxBorder() {
return make_scoped_ptr(new FocusableRoundedBorder);
}

Powered by Google App Engine
This is Rietveld 408576698