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

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: Rebased. 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/events/EventTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a6e0c638155848cc910b4d7e1efcfcdd6141cc05..44ea3d5ebe715453a7c4f89602bdd13c5cfe776d 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.
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/events/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698