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

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

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.cc
diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc
index 6d636b6332c6f9021ade06ec06ee727db6d097ae..5638a956878467b8c9e1ec0bc2b9b8ff0f6942b5 100644
--- a/ui/views/style/platform_style.cc
+++ b/ui/views/style/platform_style.cc
@@ -25,6 +25,12 @@ scoped_ptr<LabelButtonBorder> PlatformStyle::CreateLabelButtonBorder(
Button::STYLE_TEXTBUTTON));
return border;
}
+
+// static
+scoped_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) {
+ return make_scoped_ptr(new NativeScrollBar(is_horizontal));
+}
+
#endif
#if !defined(OS_LINUX) || defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698