| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MouseEventManager_h | 5 #ifndef MouseEventManager_h |
| 6 #define MouseEventManager_h | 6 #define MouseEventManager_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/dom/SynchronousMutationObserver.h" | 9 #include "core/dom/SynchronousMutationObserver.h" |
| 10 #include "core/input/BoundaryEventDispatcher.h" | 10 #include "core/input/BoundaryEventDispatcher.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 const String& canvasRegionId, | 49 const String& canvasRegionId, |
| 50 EventTarget* relatedTarget, | 50 EventTarget* relatedTarget, |
| 51 bool checkForListener = false); | 51 bool checkForListener = false); |
| 52 | 52 |
| 53 WebInputEventResult setMousePositionAndDispatchMouseEvent( | 53 WebInputEventResult setMousePositionAndDispatchMouseEvent( |
| 54 Node* targetNode, | 54 Node* targetNode, |
| 55 const String& canvasRegionId, | 55 const String& canvasRegionId, |
| 56 const AtomicString& eventType, | 56 const AtomicString& eventType, |
| 57 const WebMouseEvent&); | 57 const WebMouseEvent&); |
| 58 | 58 |
| 59 WebInputEventResult dispatchMouseClickIfNeeded( | 59 WebInputEventResult dispatchMouseClickIfNeeded(Node* target, |
| 60 const MouseEventWithHitTestResults&); | 60 const WebMouseEvent&, |
| 61 const String& canvasRegionId); |
| 61 | 62 |
| 62 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, | 63 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, |
| 63 const WebMouseEvent&); | 64 const WebMouseEvent&); |
| 64 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, | 65 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, |
| 65 Node* target, | 66 Node* target, |
| 66 const WebMouseEvent&, | 67 const WebMouseEvent&, |
| 67 DataTransfer*); | 68 DataTransfer*); |
| 68 | 69 |
| 69 // Resets the internal state of this object. | 70 // Resets the internal state of this object. |
| 70 void clear(); | 71 void clear(); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 WebMouseEvent m_mouseDown; | 232 WebMouseEvent m_mouseDown; |
| 232 | 233 |
| 233 LayoutPoint m_dragStartPos; | 234 LayoutPoint m_dragStartPos; |
| 234 | 235 |
| 235 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; | 236 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; |
| 236 }; | 237 }; |
| 237 | 238 |
| 238 } // namespace blink | 239 } // namespace blink |
| 239 | 240 |
| 240 #endif // MouseEventManager_h | 241 #endif // MouseEventManager_h |
| OLD | NEW |