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

Unified Diff: Source/core/page/EventHandler.h

Issue 893683003: Implement top controls show/hide functionality for main thread scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix minor macro issue Created 5 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: Source/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index c499895b67f62917c079d8d2daae4f8943f6fd7b..27612802071bd0917e1a27e7cbdee78bea099573 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -316,6 +316,8 @@ private:
bool panScrollInProgress() const;
void setLastKnownMousePosition(const PlatformMouseEvent&);
+ bool shouldTopControlsConsumeScroll(FloatSize) const;
+
// NOTE: If adding a new field to this class please ensure that it is
// cleared in |EventHandler::clear()|.

Powered by Google App Engine
This is Rietveld 408576698