| 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" |
| 11 #include "core/page/DragActions.h" | 11 #include "core/page/DragActions.h" |
| 12 #include "core/page/EventWithHitTestResults.h" | 12 #include "core/page/EventWithHitTestResults.h" |
| 13 #include "platform/PlatformMouseEvent.h" | 13 #include "platform/PlatformMouseEvent.h" |
| 14 #include "platform/Timer.h" | 14 #include "platform/Timer.h" |
| 15 #include "public/platform/WebInputEventResult.h" | 15 #include "public/platform/WebInputEventResult.h" |
| 16 #include "wtf/Allocator.h" | 16 #include "wtf/Allocator.h" |
| 17 #include "wtf/Time.h" |
| 17 | 18 |
| 18 namespace blink { | 19 namespace blink { |
| 19 | 20 |
| 20 class ContainerNode; | 21 class ContainerNode; |
| 21 class DragState; | 22 class DragState; |
| 22 class DataTransfer; | 23 class DataTransfer; |
| 23 class Element; | 24 class Element; |
| 24 class FloatQuad; | 25 class FloatQuad; |
| 25 class HitTestResult; | 26 class HitTestResult; |
| 26 class InputDeviceCapabilities; | 27 class InputDeviceCapabilities; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 unsigned m_svgPan : 1; | 210 unsigned m_svgPan : 1; |
| 210 unsigned m_capturesDragging : 1; | 211 unsigned m_capturesDragging : 1; |
| 211 unsigned m_mouseDownMayStartDrag : 1; | 212 unsigned m_mouseDownMayStartDrag : 1; |
| 212 | 213 |
| 213 Member<Node> m_mousePressNode; | 214 Member<Node> m_mousePressNode; |
| 214 | 215 |
| 215 int m_clickCount; | 216 int m_clickCount; |
| 216 Member<Node> m_clickNode; | 217 Member<Node> m_clickNode; |
| 217 | 218 |
| 218 IntPoint m_mouseDownPos; // In our view's coords. | 219 IntPoint m_mouseDownPos; // In our view's coords. |
| 219 double m_mouseDownTimestamp; | 220 TimeTicks m_mouseDownTimestamp; |
| 220 PlatformMouseEvent m_mouseDown; | 221 PlatformMouseEvent m_mouseDown; |
| 221 | 222 |
| 222 LayoutPoint m_dragStartPos; | 223 LayoutPoint m_dragStartPos; |
| 223 | 224 |
| 224 Timer<MouseEventManager> m_fakeMouseMoveEventTimer; | 225 Timer<MouseEventManager> m_fakeMouseMoveEventTimer; |
| 225 }; | 226 }; |
| 226 | 227 |
| 227 } // namespace blink | 228 } // namespace blink |
| 228 | 229 |
| 229 #endif // MouseEventManager_h | 230 #endif // MouseEventManager_h |
| OLD | NEW |