| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // If set, the document of the active touch sequence. Unset if no touch | 101 // If set, the document of the active touch sequence. Unset if no touch |
| 102 // sequence active. | 102 // sequence active. |
| 103 Member<Document> m_touchSequenceDocument; | 103 Member<Document> m_touchSequenceDocument; |
| 104 | 104 |
| 105 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; | 105 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; |
| 106 bool m_touchPressed; | 106 bool m_touchPressed; |
| 107 // True if a touch is active but scrolling/zooming has started. | 107 // True if a touch is active but scrolling/zooming has started. |
| 108 bool m_touchScrollStarted; | 108 bool m_touchScrollStarted; |
| 109 // The touch event currently being handled or NoType if none. | 109 // The touch event currently being handled or NoType if none. |
| 110 PlatformEvent::EventType m_currentEvent; | 110 PlatformEvent::EventType m_currentEvent; |
| 111 TouchAction m_currentTouchAction; |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace blink | 114 } // namespace blink |
| 114 | 115 |
| 115 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); | 116 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); |
| 116 | 117 |
| 117 #endif // TouchEventManager_h | 118 #endif // TouchEventManager_h |
| OLD | NEW |