Chromium Code Reviews| 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 "public/platform/WebInputEventResult.h" | 10 #include "public/platform/WebInputEventResult.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 String, | 88 String, |
| 89 DefaultHash<unsigned>::Hash, | 89 DefaultHash<unsigned>::Hash, |
| 90 WTF::UnsignedWithZeroKeyHashTraits<unsigned>>; | 90 WTF::UnsignedWithZeroKeyHashTraits<unsigned>>; |
| 91 TouchRegionMap m_regionForTouchID; | 91 TouchRegionMap m_regionForTouchID; |
| 92 | 92 |
| 93 // If set, the document of the active touch sequence. Unset if no touch | 93 // If set, the document of the active touch sequence. Unset if no touch |
| 94 // sequence active. | 94 // sequence active. |
| 95 Member<Document> m_touchSequenceDocument; | 95 Member<Document> m_touchSequenceDocument; |
| 96 | 96 |
| 97 bool m_touchPressed; | 97 bool m_touchPressed; |
| 98 bool m_suppressingTouchmoves; | |
|
mustaq
2017/02/01 20:17:10
Please make it clear that this is "suppressingMove
lanwei
2017/02/02 19:49:36
Done.
| |
| 98 | 99 |
| 99 // The current touch action, computed on each touch start and is | 100 // The current touch action, computed on each touch start and is |
| 100 // a union of all touches. Reset when all touches are released. | 101 // a union of all touches. Reset when all touches are released. |
| 101 TouchAction m_currentTouchAction; | 102 TouchAction m_currentTouchAction; |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace blink | 105 } // namespace blink |
| 105 | 106 |
| 106 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); | 107 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TouchEventManager::TouchInfo); |
| 107 | 108 |
| 108 #endif // TouchEventManager_h | 109 #endif // TouchEventManager_h |
| OLD | NEW |