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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.h

Issue 2350433002: Extract more of the mouse logic from EventHandler (Closed)
Patch Set: Remove redundant condition Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/GestureManager.h
diff --git a/third_party/WebKit/Source/core/input/GestureManager.h b/third_party/WebKit/Source/core/input/GestureManager.h
index 7e223627fec60ff2c1f01f63decd680d72a7520f..8cf4e5ffd9734448a3d482d78ec48ea3170c8cf4 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.h
+++ b/third_party/WebKit/Source/core/input/GestureManager.h
@@ -17,6 +17,7 @@ namespace blink {
class ScrollManager;
class SelectionController;
class PointerEventManager;
+class MouseEventManager;
// This class takes care of gestures and delegating the action based on the
// gesture to the responsible class.
@@ -24,8 +25,8 @@ class CORE_EXPORT GestureManager : public GarbageCollectedFinalized<GestureManag
WTF_MAKE_NONCOPYABLE(GestureManager);
public:
- GestureManager(LocalFrame*, ScrollManager*, PointerEventManager*,
- SelectionController*);
+ GestureManager(LocalFrame*, ScrollManager*, MouseEventManager*,
+ PointerEventManager*, SelectionController*);
DECLARE_TRACE();
void clear();
@@ -56,6 +57,7 @@ private:
const Member<LocalFrame> m_frame;
Member<ScrollManager> m_scrollManager;
+ Member<MouseEventManager> m_mouseEventManager;
Member<PointerEventManager> m_pointerEventManager;
// Set on GestureTapDown if the |pointerdown| event corresponding to the

Powered by Google App Engine
This is Rietveld 408576698