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

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

Issue 2193473002: Revert "Send got/lostpointercapture immediately if possible" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 6b33a8d73985c6d2652af02291c1afc152772df2..0282b186827a60b0fd57a24facacd722e9a28484 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -70,12 +70,6 @@ public:
// |m_touchIdsForCanceledPointerdowns|.
bool primaryPointerdownCanceled(uint32_t uniqueTouchEventId);
- // Try to immediately send the got/lostpointercapture without boundary
- // events.
- // TODO(crbug.com/629935): This function should be private as soon as PointerEventManager
- // a GC managed object and postTask can be done internally in this class.
- void immediatelyProcessPendingPointerCapture(int pointerId);
-
private:
typedef HeapHashMap<int, Member<EventTarget>, WTF::IntHash<int>,
WTF::UnsignedWithZeroKeyHashTraits<int>> PointerCapturingMap;
@@ -156,11 +150,7 @@ private:
EventTarget*,
PointerEvent*,
bool checkForListener = false);
- void modifyPendingPointerCapture(int pointerId, EventTarget*);
- // Returns true if capture target and pending capture target were different.
- bool getPointerCaptureState(int pointerId,
- EventTarget** pointerCaptureTarget,
- EventTarget** pendingPointerCaptureTarget);
+ void releasePointerCapture(int);
// NOTE: If adding a new field to this class please ensure that it is
// cleared in |PointerEventManager::clear()|.
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698