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

Unified Diff: ui/views/controls/scrollbar/native_scroll_bar.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/controls/scrollbar/native_scroll_bar.h
diff --git a/ui/views/controls/scrollbar/native_scroll_bar.h b/ui/views/controls/scrollbar/native_scroll_bar.h
index c9d96af77e7efc62bb73d52ccb3b49c175e03298..2045bf4485f4d148c3cf20233b237f34f3ba54ca 100644
--- a/ui/views/controls/scrollbar/native_scroll_bar.h
+++ b/ui/views/controls/scrollbar/native_scroll_bar.h
@@ -36,6 +36,9 @@ class VIEWS_EXPORT NativeScrollBar : public ScrollBar {
static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
+ protected:
+ virtual NativeScrollBarWrapper* CreateWrapper();
+
private:
friend class NativeScrollBarTest;
FRIEND_TEST_ALL_PREFIXES(NativeScrollBarTest, Scrolling);

Powered by Google App Engine
This is Rietveld 408576698