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

Unified Diff: ui/views/controls/scrollbar/native_scroll_bar_wrapper.h

Issue 1671313002: MacViews: Overlay Scrollbars with Show/Hide Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments and fixed nits 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_wrapper.h
diff --git a/ui/views/controls/scrollbar/native_scroll_bar_wrapper.h b/ui/views/controls/scrollbar/native_scroll_bar_wrapper.h
index 6f4e45aee88fdb59e4496abb237105f4c6a5113a..128974992aafde114c5c077d6373ac1cec625765 100644
--- a/ui/views/controls/scrollbar/native_scroll_bar_wrapper.h
+++ b/ui/views/controls/scrollbar/native_scroll_bar_wrapper.h
@@ -38,6 +38,9 @@ class VIEWS_EXPORT NativeScrollBarWrapper {
// Returns the system sizes of vertical/horizontal scroll bars.
static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
+
+ // Returns the overlay params for the scrollbar views.
+ virtual ui::NativeTheme::OverlayParams GetOverlayParams();
};
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698