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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 EventTarget* related_target, | 50 EventTarget* related_target, |
51 bool check_for_listener = false); | 51 bool check_for_listener = false); |
52 | 52 |
53 WebInputEventResult SetMousePositionAndDispatchMouseEvent( | 53 WebInputEventResult SetMousePositionAndDispatchMouseEvent( |
54 Node* target_node, | 54 Node* target_node, |
55 const String& canvas_region_id, | 55 const String& canvas_region_id, |
56 const AtomicString& event_type, | 56 const AtomicString& event_type, |
57 const WebMouseEvent&); | 57 const WebMouseEvent&); |
58 | 58 |
59 WebInputEventResult DispatchMouseClickIfNeeded( | 59 WebInputEventResult DispatchMouseClickIfNeeded( |
60 const MouseEventWithHitTestResults&); | 60 const MouseEventWithHitTestResults&, |
| 61 Node* release_node); |
61 | 62 |
62 WebInputEventResult DispatchDragSrcEvent(const AtomicString& event_type, | 63 WebInputEventResult DispatchDragSrcEvent(const AtomicString& event_type, |
63 const WebMouseEvent&); | 64 const WebMouseEvent&); |
64 WebInputEventResult DispatchDragEvent(const AtomicString& event_type, | 65 WebInputEventResult DispatchDragEvent(const AtomicString& event_type, |
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 mouse_down_; | 232 WebMouseEvent mouse_down_; |
232 | 233 |
233 LayoutPoint drag_start_pos_; | 234 LayoutPoint drag_start_pos_; |
234 | 235 |
235 TaskRunnerTimer<MouseEventManager> fake_mouse_move_event_timer_; | 236 TaskRunnerTimer<MouseEventManager> fake_mouse_move_event_timer_; |
236 }; | 237 }; |
237 | 238 |
238 } // namespace blink | 239 } // namespace blink |
239 | 240 |
240 #endif // MouseEventManager_h | 241 #endif // MouseEventManager_h |
OLD | NEW |