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

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

Issue 2391393002: Harmony - Use FocusableBorder for comboboxes on Mac (Closed)
Patch Set: fix mac Created 4 years, 2 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/platform_style.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ddb21d100c737a283618c3c67fb20d73f3ee7563..c8317df0316f99f8ec9d3dff0ca91d0301bacc34 100644
--- a/ui/views/style/platform_style_mac.mm
+++ b/ui/views/style/platform_style_mac.mm
@@ -11,9 +11,7 @@
#include "ui/gfx/vector_icons_public.h"
#include "ui/resources/grit/ui_resources.h"
#include "ui/views/controls/button/label_button.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"
#import <Cocoa/Cocoa.h>
@@ -48,17 +46,6 @@ gfx::ImageSkia PlatformStyle::CreateComboboxArrow(bool is_enabled,
}
// static
-std::unique_ptr<FocusableBorder> PlatformStyle::CreateComboboxBorder() {
- return base::WrapUnique(new FocusableRoundedBorder);
-}
-
-// static
-std::unique_ptr<Background> PlatformStyle::CreateComboboxBackground(
- int shoulder_width) {
- return base::MakeUnique<ComboboxBackgroundMac>(shoulder_width);
-}
-
-// static
std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) {
return base::MakeUnique<CocoaScrollBar>(is_horizontal);
}
« no previous file with comments | « ui/views/style/platform_style.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698