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

Unified Diff: third_party/WebKit/Source/core/input/TouchEventManager.h

Issue 1971473002: Move touch hit testing to PointerEventManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/core/input/TouchEventManager.h
diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.h b/third_party/WebKit/Source/core/input/TouchEventManager.h
index 6de6c5641c11978ca3a4d2a29b89599238de6363..e62e110cd0c8180b845618bc5228a979c6e7efba 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.h
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.h
@@ -40,7 +40,6 @@ public:
FloatPoint adjustedPagePoint;
FloatSize adjustedRadius;
bool knownTarget;
- bool consumed;
mustaq 2016/05/11 14:30:55 I don't think we can afford to lose this until crb
Navid Zolghadr 2016/05/11 16:43:42 Let's discuss this offline in more details. But I
String region;
};
@@ -48,14 +47,15 @@ public:
~TouchEventManager();
DECLARE_TRACE();
- // Returns true if it succesfully generates touchInfos.
- bool generateTouchInfosAfterHittest(
+ // Does the hit-testing again if the original hit test result was not inside
+ // capturing frame for touch events.
+ bool reHitTestTouchPointsIfNeeded(
const PlatformTouchEvent&,
HeapVector<TouchInfo>&);
WebInputEventResult handleTouchEvent(
const PlatformTouchEvent&,
- const HeapVector<TouchInfo>&);
+ HeapVector<TouchInfo>&);
// Resets the internal state of this object.
void clear();

Powered by Google App Engine
This is Rietveld 408576698