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

Unified Diff: third_party/WebKit/public/platform/WebThemeEngine.h

Issue 2467693002: Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: overlay-scrollbar-mouse-capture now works on Mac 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/public/platform/WebThemeEngine.h
diff --git a/third_party/WebKit/public/platform/WebThemeEngine.h b/third_party/WebKit/public/platform/WebThemeEngine.h
index 8fe876d11d9b8f6647bde8d53955354c46014e4d..16b94f3b5c61fa4064e9ede9b3a88c88e2e7c19a 100644
--- a/third_party/WebKit/public/platform/WebThemeEngine.h
+++ b/third_party/WebKit/public/platform/WebThemeEngine.h
@@ -165,6 +165,9 @@ class WebThemeEngine {
WebColor color;
};
+ virtual double getOverlayScrollbarFadeOutDelaySeconds() { return 0.0; }
skobes 2016/11/02 21:02:43 Could these just be fields in ScrollbarStyle and r
bokan 2016/11/02 22:41:57 Yup, done. I also added a TODO to set those member
+ virtual double getOverlayScrollbarFadeOutDurationSeconds() { return 0.0; }
+
// Gets the overlay scrollbar style. Used for mobile theme.
virtual void getOverlayScrollbarStyle(ScrollbarStyle*) {}

Powered by Google App Engine
This is Rietveld 408576698