Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index ba817d44c0dc7afd96da502f0259b986f09530e4..65eda42dcc85219cfa084360b3d7b5f6d3ed989b 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -453,7 +453,17 @@ public: |
void setPointerCapture(int pointerId, ExceptionState&); |
void releasePointerCapture(int pointerId, ExceptionState&); |
- bool hasPointerCapture(int pointerId); |
+ |
+ // Returns true iff the element would capture the next pointer event, as |
+ // defined in the spec: |
+ // https://w3c.github.io/pointerevents/#dom-element-haspointercapture |
+ bool hasPointerCapture(int pointerId) const; |
+ |
+ // Returns true iff the element received a pointer event for the |pointerId| |
+ // after reuqesting to capture it. In spec terms, the pending pointer |
+ // capture has been processed for this |pointerId|: |
+ // https://w3c.github.io/pointerevents/#process-pending-pointer-capture |
+ bool hasProcessedPointerCapture(int pointerId) const; |
String textFromChildren(); |