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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.h

Issue 1635863006: Pointerevent capture APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/events/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index 335e298d6c6506410ce88bf16f8ee03340b07ce3..9e342217270e39a2f8f6dfefbc6292902bd4f70a 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -50,10 +50,11 @@ public:
// Clear all the existing ids.
void clear();
- // When a pointerEvent with a particular id is removed that id is considered
- // free even though there might have been other PointerEvents that were
- // generated with the same id before.
- void remove(const PassRefPtrWillBeRawPtr<PointerEvent>);
+ // Returns true if pointerEvent is removed. When a pointerEvent with a
+ // particular id is removed that id is considered free even though there
+ // might have been other PointerEvents that were generated with the same id
+ // before.
+ bool remove(const PassRefPtrWillBeRawPtr<PointerEvent>);
// Returns whether a pointer id exists and active
bool isActive(const int);
@@ -84,6 +85,7 @@ private:
bool isPrimary(const int) const;
void setIdTypeButtons(PointerEventInit &, const WebPointerProperties &,
unsigned buttons);
+
static const int s_invalidId;
static const int s_mouseId;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ExceptionCode.h ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698