Chromium Code Reviews| Index: ui/views/style/platform_style_mac.mm |
| diff --git a/ui/views/style/platform_style_mac.cc b/ui/views/style/platform_style_mac.mm |
| similarity index 75% |
| rename from ui/views/style/platform_style_mac.cc |
| rename to ui/views/style/platform_style_mac.mm |
| index f1038d87842aeeea13a344d82c013f46914ee84a..dac10975f248173357c158793c7412f888c4b4e1 100644 |
| --- a/ui/views/style/platform_style_mac.cc |
| +++ b/ui/views/style/platform_style_mac.mm |
| @@ -6,6 +6,7 @@ |
| #include "ui/views/controls/button/label_button.h" |
| #include "ui/views/controls/button/label_button_border.h" |
| +#import "ui/views/controls/scrollbar/native_cocoa_scroll_bar.h" |
| #include "ui/views/style/mac/dialog_button_border_mac.h" |
| namespace views { |
| @@ -19,4 +20,9 @@ scoped_ptr<LabelButtonBorder> PlatformStyle::CreateLabelButtonBorder( |
| return make_scoped_ptr(new LabelButtonAssetBorder(style)); |
| } |
| +// static |
| +scoped_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) { |
|
tapted
2016/02/09 23:51:48
I think platform_style.cc will need an implementat
spqchan
2016/02/10 00:35:16
Done.
|
| + return make_scoped_ptr(new NativeCocoaScrollBar(is_horizontal)); |
| +} |
| + |
| } // namespace views |