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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const WebMouseEvent&); | 57 const WebMouseEvent&); |
58 | 58 |
59 WebInputEventResult DispatchMouseClickIfNeeded( | 59 WebInputEventResult DispatchMouseClickIfNeeded( |
60 const MouseEventWithHitTestResults&, | 60 const MouseEventWithHitTestResults&, |
61 Element& mouse_release_target); | 61 Element& mouse_release_target); |
62 | 62 |
63 WebInputEventResult DispatchDragSrcEvent(const AtomicString& event_type, | 63 WebInputEventResult DispatchDragSrcEvent(const AtomicString& event_type, |
64 const WebMouseEvent&); | 64 const WebMouseEvent&); |
65 WebInputEventResult DispatchDragEvent(const AtomicString& event_type, | 65 WebInputEventResult DispatchDragEvent(const AtomicString& event_type, |
66 Node* target, | 66 Node* target, |
| 67 Node* related_target, |
67 const WebMouseEvent&, | 68 const WebMouseEvent&, |
68 DataTransfer*); | 69 DataTransfer*); |
69 | 70 |
70 // Resets the internal state of this object. | 71 // Resets the internal state of this object. |
71 void Clear(); | 72 void Clear(); |
72 | 73 |
73 void SendBoundaryEvents(EventTarget* exited_target, | 74 void SendBoundaryEvents(EventTarget* exited_target, |
74 EventTarget* entered_target, | 75 EventTarget* entered_target, |
75 const String& canvas_region_id, | 76 const String& canvas_region_id, |
76 const WebMouseEvent&); | 77 const WebMouseEvent&); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 WebMouseEvent mouse_down_; | 233 WebMouseEvent mouse_down_; |
233 | 234 |
234 LayoutPoint drag_start_pos_; | 235 LayoutPoint drag_start_pos_; |
235 | 236 |
236 TaskRunnerTimer<MouseEventManager> fake_mouse_move_event_timer_; | 237 TaskRunnerTimer<MouseEventManager> fake_mouse_move_event_timer_; |
237 }; | 238 }; |
238 | 239 |
239 } // namespace blink | 240 } // namespace blink |
240 | 241 |
241 #endif // MouseEventManager_h | 242 #endif // MouseEventManager_h |
OLD | NEW |