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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 months 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 "core/input/EventHandlingUtil.h" 10 #include "core/input/EventHandlingUtil.h"
(...skipping 10 matching lines...) Expand all
21 class Document; 21 class Document;
22 class WebTouchEvent; 22 class WebTouchEvent;
23 23
24 // This class takes care of dispatching all touch events and 24 // This class takes care of dispatching all touch events and
25 // maintaining related states. 25 // maintaining related states.
26 class CORE_EXPORT TouchEventManager 26 class CORE_EXPORT TouchEventManager
27 : public GarbageCollectedFinalized<TouchEventManager> { 27 : public GarbageCollectedFinalized<TouchEventManager> {
28 WTF_MAKE_NONCOPYABLE(TouchEventManager); 28 WTF_MAKE_NONCOPYABLE(TouchEventManager);
29 29
30 public: 30 public:
31
32 explicit TouchEventManager(LocalFrame&); 31 explicit TouchEventManager(LocalFrame&);
33 DECLARE_TRACE(); 32 DECLARE_TRACE();
34 33
35 // The entries in touch point array of WebTouchEvent (i.e. first parameter) 34 // The entries in touch point array of WebTouchEvent (i.e. first parameter)
36 // correspond to the entries of the PointerEventTargets (i.e. last parameter). 35 // correspond to the entries of the PointerEventTargets (i.e. last parameter).
37 WebInputEventResult HandleTouchEvent( 36 WebInputEventResult HandleTouchEvent(
38 const WebTouchEvent&, 37 const WebTouchEvent&,
39 const Vector<WebTouchEvent>&, 38 const Vector<WebTouchEvent>&,
40 const HeapVector<EventHandlingUtil::PointerEventTarget>&); 39 const HeapVector<EventHandlingUtil::PointerEventTarget>&);
41 40
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool suppressing_touchmoves_within_slop_; 88 bool suppressing_touchmoves_within_slop_;
90 89
91 // The current touch action, computed on each touch start and is 90 // The current touch action, computed on each touch start and is
92 // a union of all touches. Reset when all touches are released. 91 // a union of all touches. Reset when all touches are released.
93 TouchAction current_touch_action_; 92 TouchAction current_touch_action_;
94 }; 93 };
95 94
96 } // namespace blink 95 } // namespace blink
97 96
98 #endif // TouchEventManager_h 97 #endif // TouchEventManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698