| 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 PointerEventManager_h | 5 #ifndef PointerEventManager_h |
| 6 #define PointerEventManager_h | 6 #define PointerEventManager_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/events/PointerEvent.h" | 9 #include "core/events/PointerEvent.h" |
| 10 #include "core/events/PointerEventFactory.h" | 10 #include "core/events/PointerEventFactory.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 ~PointerEventManager(); | 28 ~PointerEventManager(); |
| 29 DECLARE_TRACE(); | 29 DECLARE_TRACE(); |
| 30 | 30 |
| 31 // Sends the mouse pointer events and the boundary events | 31 // Sends the mouse pointer events and the boundary events |
| 32 // that it may cause. It also sends the compat mouse events | 32 // that it may cause. It also sends the compat mouse events |
| 33 // and sets the newNodeUnderMouse if the capturing is set | 33 // and sets the newNodeUnderMouse if the capturing is set |
| 34 // in this function. | 34 // in this function. |
| 35 WebInputEventResult sendMousePointerEvent( | 35 WebInputEventResult sendMousePointerEvent( |
| 36 Node* target, const AtomicString& type, | 36 Node* target, const AtomicString& type, |
| 37 int clickCount, const PlatformMouseEvent&, | 37 int clickCount, const PlatformMouseEvent&, |
| 38 Node* relatedTarget, | |
| 39 Node* lastNodeUnderMouse, | 38 Node* lastNodeUnderMouse, |
| 40 Node** newNodeUnderMouse); | 39 Node** newNodeUnderMouse); |
| 41 | 40 |
| 42 WebInputEventResult handleTouchEvents( | 41 WebInputEventResult handleTouchEvents( |
| 43 const PlatformTouchEvent&); | 42 const PlatformTouchEvent&); |
| 44 | 43 |
| 45 // Sends boundary events mouseout/leave/over/enter to the | 44 // Sends boundary events mouseout/leave/over/enter to the |
| 46 // corresponding targets. This function sends pointerout/leave/over/enter | 45 // corresponding targets. This function sends pointerout/leave/over/enter |
| 47 // only when isFrameBoundaryTransition is true which indicates the | 46 // only when isFrameBoundaryTransition is true which indicates the |
| 48 // transition is over the document boundary and not only the elements border | 47 // transition is over the document boundary and not only the elements border |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 PointerCapturingMap m_pointerCaptureTarget; | 188 PointerCapturingMap m_pointerCaptureTarget; |
| 190 PointerCapturingMap m_pendingPointerCaptureTarget; | 189 PointerCapturingMap m_pendingPointerCaptureTarget; |
| 191 | 190 |
| 192 PointerEventFactory m_pointerEventFactory; | 191 PointerEventFactory m_pointerEventFactory; |
| 193 TouchEventManager m_touchEventManager; | 192 TouchEventManager m_touchEventManager; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 } // namespace blink | 195 } // namespace blink |
| 197 | 196 |
| 198 #endif // PointerEventManager_h | 197 #endif // PointerEventManager_h |
| OLD | NEW |