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

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..3058142db075fdf98885cd092b5a3d12abf826a0 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"
namespace views {
@@ -26,6 +27,8 @@ class PlatformStyle {
// Applies the current system theme to the default border created by |button|.
static scoped_ptr<Border> CreateThemedLabelButtonBorder(LabelButton* button);
+ static scoped_ptr<ScrollBar> CreateScrollBar(bool is_horizontal);
tapted 2016/02/11 08:46:18 nit: needs a comment. (Also.. this should perhaps
spqchan 2016/02/13 01:39:23 Sounds good, I made the change in scroll_view
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle);
};

Powered by Google App Engine
This is Rietveld 408576698