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

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

Issue 2249663002: Fixed & refactored mouse event firing at gesture context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests, removed one overfitting Created 4 years, 4 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 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"
11 #include "core/page/EventWithHitTestResults.h" 11 #include "core/page/EventWithHitTestResults.h"
12 #include "platform/PlatformEvent.h" 12 #include "platform/PlatformEvent.h"
13 #include "public/platform/WebInputEventResult.h" 13 #include "public/platform/WebInputEventResult.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class HitTestResult;
dtapuska 2016/08/19 19:07:12 Its unclear why this change is necessary. Is it in
mustaq 2016/08/19 19:38:36 Removed, thanks.
17 class ScrollManager; 18 class ScrollManager;
18 class SelectionController; 19 class SelectionController;
19 class PointerEventManager; 20 class PointerEventManager;
20 21
21 // This class takes care of gestures and delegating the action based on the 22 // This class takes care of gestures and delegating the action based on the
22 // gesture to the responsible class. 23 // gesture to the responsible class.
23 class CORE_EXPORT GestureManager { 24 class CORE_EXPORT GestureManager {
24 WTF_MAKE_NONCOPYABLE(GestureManager); 25 WTF_MAKE_NONCOPYABLE(GestureManager);
25 DISALLOW_NEW(); 26 DISALLOW_NEW();
26 27
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool m_longTapShouldInvokeContextMenu; 69 bool m_longTapShouldInvokeContextMenu;
69 70
70 const Member<SelectionController> m_selectionController; 71 const Member<SelectionController> m_selectionController;
71 72
72 double m_lastShowPressTimestamp; 73 double m_lastShowPressTimestamp;
73 }; 74 };
74 75
75 } // namespace blink 76 } // namespace blink
76 77
77 #endif // GestureManager_h 78 #endif // GestureManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.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