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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Add missing copyright on new file Created 4 years 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 GestureManager_h 5 #ifndef GestureManager_h
6 #define GestureManager_h 6 #define GestureManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/layout/HitTestRequest.h" 10 #include "core/layout/HitTestRequest.h"
(...skipping 18 matching lines...) Expand all
29 GestureManager(LocalFrame&, 29 GestureManager(LocalFrame&,
30 ScrollManager&, 30 ScrollManager&,
31 MouseEventManager&, 31 MouseEventManager&,
32 PointerEventManager&, 32 PointerEventManager&,
33 SelectionController&); 33 SelectionController&);
34 DECLARE_TRACE(); 34 DECLARE_TRACE();
35 35
36 void clear(); 36 void clear();
37 37
38 HitTestRequest::HitTestRequestType getHitTypeForGestureType( 38 HitTestRequest::HitTestRequestType getHitTypeForGestureType(
39 PlatformEvent::EventType); 39 WebInputEvent::Type);
40 WebInputEventResult handleGestureEventInFrame( 40 WebInputEventResult handleGestureEventInFrame(
41 const GestureEventWithHitTestResults&); 41 const GestureEventWithHitTestResults&);
42 42
43 // TODO(nzolghadr): This can probably be hidden and the related logic 43 // TODO(nzolghadr): This can probably be hidden and the related logic
44 // be moved to this class (see crrev.com/112023010). Since that might cause 44 // be moved to this class (see crrev.com/112023010). Since that might cause
45 // regression it's better to move that logic in another change. 45 // regression it's better to move that logic in another change.
46 TimeTicks getLastShowPressTimestamp() const; 46 TimeTicks getLastShowPressTimestamp() const;
47 47
48 private: 48 private:
49 WebInputEventResult handleGestureShowPress(); 49 WebInputEventResult handleGestureShowPress();
(...skipping 29 matching lines...) Expand all
79 bool m_longTapShouldInvokeContextMenu; 79 bool m_longTapShouldInvokeContextMenu;
80 80
81 const Member<SelectionController> m_selectionController; 81 const Member<SelectionController> m_selectionController;
82 82
83 TimeTicks m_lastShowPressTimestamp; 83 TimeTicks m_lastShowPressTimestamp;
84 }; 84 };
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 #endif // GestureManager_h 88 #endif // GestureManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandlerTest.cpp ('k') | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698