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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h

Issue 2467693002: Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: sigh....git cl format Created 4 years, 1 month 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: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index 20b5cf668322114958066a5201f8caafc8dd1fec..1d7840e92cd57ac82fa438c6a7e81b007da56c24 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -103,6 +103,8 @@ class PLATFORM_EXPORT ScrollbarTheme {
int thumbPosition(const ScrollbarThemeClient& scrollbar) {
return thumbPosition(scrollbar, scrollbar.currentPos());
}
+ virtual double overlayScrollbarFadeOutDelaySeconds() const;
+ virtual double overlayScrollbarFadeOutDurationSeconds() const;
// The position the thumb would have, relative to the track, at the specified
// scroll position.
virtual int thumbPosition(const ScrollbarThemeClient&, float scrollPosition);
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698