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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2274253002: Added counters for pointer boundary events fired. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added hasProcessedPendingPointerCapture API. Created 4 years, 4 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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 5ff62967e326ce3888314c78ce9357148d38ec0d..4e0d741bb4b7e43321fc49c2b9b944f204d525a3 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -2792,11 +2792,16 @@ void Element::releasePointerCapture(int pointerId, ExceptionState& exceptionStat
}
}
-bool Element::hasPointerCapture(int pointerId)
+bool Element::hasPointerCapture(int pointerId) const
{
return document().frame() && document().frame()->eventHandler().hasPointerCapture(pointerId, this);
}
+bool Element::hasProcessedPointerCapture(int pointerId) const
+{
+ return document().frame() && document().frame()->eventHandler().hasProcessedPointerCapture(pointerId, this);
+}
+
String Element::innerText()
{
// We need to update layout, since plainText uses line boxes in the layout tree.

Powered by Google App Engine
This is Rietveld 408576698