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

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

Issue 16507017: Initial touch-action main thread implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge with trunk (no changes) Created 7 years 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 afd790377d8081f620962c90259b805c285ff057..5849e37f5bf076f199bc3e8b5f2d6fecdc9c839b 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -32,6 +32,7 @@
#include "core/page/FocusDirection.h"
#include "core/platform/Cursor.h"
#include "core/rendering/HitTestRequest.h"
+#include "core/rendering/style/RenderStyleConstants.h"
#include "platform/PlatformMouseEvent.h"
#include "platform/Timer.h"
#include "platform/UserGestureIndicator.h"
@@ -232,6 +233,8 @@ private:
ScrollableArea* associatedScrollableArea(const RenderLayer*) const;
bool dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent&);
+ TouchAction computeEffectiveTouchAction(const Node&);
+
bool handleMouseEventAsEmulatedGesture(const PlatformMouseEvent&);
bool handleWheelEventAsEmulatedGesture(const PlatformWheelEvent&);
HitTestResult hitTestResultInFrame(Frame*, const LayoutPoint&, HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent);

Powered by Google App Engine
This is Rietveld 408576698