Chromium Code Reviews| 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)) { |