Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: third_party/WebKit/Source/core/input/TouchEventManager.h

Issue 2475443004: Add use counter when touch-action isn't used when preventDefault'd. (Closed)
Patch Set: Whoops missed updating a file Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698