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

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

Issue 2408133007: Check the root frame pointer events as well for capture (Closed)
Patch Set: Applying Mustaq's comments Created 4 years, 2 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/PointerEventManager.h
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.h b/third_party/WebKit/Source/core/input/PointerEventManager.h
index faedf8b6931405fb57d5f8b20217357992ac5f15..5a0ab01081efb2f6e9a5284a0eaf307df4a25fa6 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -68,6 +68,10 @@ class CORE_EXPORT PointerEventManager
// Returns whether there is any touch on the screen.
bool isAnyTouchActive() const;
+ // Returns whether pointerId is for an active pointerevent and whether the
+ // last event was sent to the given frame.
+ bool isPointerEventActiveOnFrame(int, LocalFrame*) const;
+
// TODO(crbug.com/625843): This can be hidden when mouse refactoring in
// EventHandler is done.
EventTarget* getMouseCapturingNode();

Powered by Google App Engine
This is Rietveld 408576698