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

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

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/ScrollAnimatorBase.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
index 42d431d2e8e326c917dc62ae352a516c45294128..24a07d17171bbcb913545d8d68937b54f9586aae 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
@@ -106,6 +106,10 @@
virtual void didAddHorizontalScrollbar(Scrollbar&) {}
virtual void willRemoveHorizontalScrollbar(Scrollbar&) {}
+ virtual bool shouldScrollbarParticipateInHitTesting(Scrollbar&) {
+ return true;
+ }
+
virtual void notifyContentAreaScrolled(const ScrollOffset&) {}
virtual bool setScrollbarsVisibleForTesting(bool) { return false; }

Powered by Google App Engine
This is Rietveld 408576698