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

Unified Diff: ui/views/style/platform_style.h

Issue 1671313002: MacViews: Overlay Scrollbars with Show/Hide Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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.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);
};

Powered by Google App Engine
This is Rietveld 408576698