Chromium Code Reviews| Index: ui/views/style/platform_style.cc |
| diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc |
| index 596112b9648b486d976e2064cbd40db74c368430..cc16c52190327bf076c902ce0725b43f259acaee 100644 |
| --- a/ui/views/style/platform_style.cc |
| +++ b/ui/views/style/platform_style.cc |
| @@ -6,6 +6,8 @@ |
| #include "build/build_config.h" |
| #include "ui/base/material_design/material_design_controller.h" |
| +#include "ui/base/resource/resource_bundle.h" |
| +#include "ui/resources/grit/ui_resources.h" |
| #include "ui/views/background.h" |
| #include "ui/views/controls/button/label_button.h" |
| #include "ui/views/controls/button/label_button_border.h" |
| @@ -17,6 +19,14 @@ namespace views { |
| #if !defined(OS_MACOSX) |
| // static |
| +gfx::ImageSkia PlatformStyle::CreateComboboxArrow(bool is_enabled) { |
| + gfx::ImageSkia* image = |
| + ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( |
|
tapted
2016/03/29 04:16:36
nit: The convention for this elsewhere in Chrome i
Elly Fong-Jones
2016/04/04 17:09:55
Done.
|
| + IDR_MENU_DROPARROW); |
| + return *image; |
| +} |
| + |
| +// static |
| scoped_ptr<FocusableBorder> PlatformStyle::CreateComboboxBorder() { |
| return make_scoped_ptr(new FocusableBorder()); |
| } |