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

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

Issue 2478463003: Revert of Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: 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.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
index 6579fe491766dc6ef2c702aedbb0000f56081906..9d36150257e4681000f95dbb1da3bee179bc2e3d 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
@@ -231,16 +231,6 @@
return Platform::current()->scrollbarBehavior()->shouldSnapBackToDragOrigin(
mousePosition, trackRect(scrollbar),
scrollbar.orientation() == HorizontalScrollbar);
-}
-
-double ScrollbarTheme::overlayScrollbarFadeOutDelaySeconds() const {
- // On Mac, fading is controlled by the painting code in ScrollAnimatorMac.
- return 0.0;
-}
-
-double ScrollbarTheme::overlayScrollbarFadeOutDurationSeconds() const {
- // On Mac, fading is controlled by the painting code in ScrollAnimatorMac.
- return 0.0;
}
int ScrollbarTheme::thumbPosition(const ScrollbarThemeClient& scrollbar,

Powered by Google App Engine
This is Rietveld 408576698