| 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 TouchEventManager_h | 5 #ifndef TouchEventManager_h |
| 6 #define TouchEventManager_h | 6 #define TouchEventManager_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/events/PointerEventFactory.h" | 9 #include "core/events/PointerEventFactory.h" |
| 10 #include "platform/UserGestureIndicator.h" | 10 #include "platform/UserGestureIndicator.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 public: | 30 public: |
| 31 DEFINE_INLINE_TRACE() | 31 DEFINE_INLINE_TRACE() |
| 32 { | 32 { |
| 33 visitor->trace(touchNode); | 33 visitor->trace(touchNode); |
| 34 visitor->trace(targetFrame); | 34 visitor->trace(targetFrame); |
| 35 } | 35 } |
| 36 | 36 |
| 37 PlatformTouchPoint point; | 37 PlatformTouchPoint point; |
| 38 Member<Node> touchNode; | 38 Member<Node> touchNode; |
| 39 Member<LocalFrame> targetFrame; | 39 Member<LocalFrame> targetFrame; |
| 40 FloatPoint adjustedPagePoint; | 40 FloatPoint contentPoint; |
| 41 FloatSize adjustedRadius; | 41 FloatSize adjustedRadius; |
| 42 bool knownTarget; | 42 bool knownTarget; |
| 43 bool consumed; | 43 bool consumed; |
| 44 String region; | 44 String region; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 explicit TouchEventManager(LocalFrame*); | 47 explicit TouchEventManager(LocalFrame*); |
| 48 ~TouchEventManager(); | 48 ~TouchEventManager(); |
| 49 DECLARE_TRACE(); | 49 DECLARE_TRACE(); |
| 50 | 50 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // True if waiting on first touch move after a touch start. | 93 // True if waiting on first touch move after a touch start. |
| 94 bool m_waitingForFirstTouchMove; | 94 bool m_waitingForFirstTouchMove; |
| 95 | 95 |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); | 100 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); |
| 101 | 101 |
| 102 #endif // TouchEventManager_h | 102 #endif // TouchEventManager_h |
| OLD | NEW |