Chromium Code Reviews| Index: ui/views/style/platform_style.h |
| diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h |
| index e56fe0e30ba41263550095c37f381c195b0cf850..2e449fdb949a79b554f976f0a55c1b6edf057ad1 100644 |
| --- a/ui/views/style/platform_style.h |
| +++ b/ui/views/style/platform_style.h |
| @@ -8,6 +8,7 @@ |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "ui/views/controls/button/button.h" |
| +#include "ui/views/controls/scrollbar/scroll_bar.h" |
|
tapted
2016/02/16 06:47:58
nit: forward declare? (Button was just needed for
spqchan
2016/02/16 23:18:19
Done.
|
| namespace views { |
| @@ -26,6 +27,9 @@ class PlatformStyle { |
| // Applies the current system theme to the default border created by |button|. |
| static scoped_ptr<Border> CreateThemedLabelButtonBorder(LabelButton* button); |
| + // Creates the default scrollbar for the given orientation. |
| + static scoped_ptr<ScrollBar> CreateScrollBar(bool is_horizontal); |
| + |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle); |
| }; |