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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2807433003: No pointer captured when the pointer lock is applied (Closed)
Patch Set: pointer lock Created 3 years, 8 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/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 886d2b746bfb65380e99834f6ee68a1553f47d27..d7a82eed0427eb18d25c760dba443df6b641fead 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1193,6 +1193,10 @@ void EventHandler::releasePointerCapture(int pointerId, EventTarget* target) {
}
}
+void EventHandler::releasePointerCapture() {
Navid Zolghadr 2017/04/10 17:16:14 Can we use a mouse specific name for this function
lanwei 2017/05/17 13:56:00 Done.
+ m_pointerEventManager->releasePointerCapture(PointerEventFactory::s_mouseId);
+}
+
bool EventHandler::hasPointerCapture(int pointerId,
const EventTarget* target) const {
if (rootFrameTouchPointerActiveInCurrentFrame(pointerId)) {

Powered by Google App Engine
This is Rietveld 408576698