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

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

Issue 2255323004: Create MouseEventManager and EventHandlingUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing 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 282c63d4397c1e1017af85547c1fd698842bef0e..7e223627fec60ff2c1f01f63decd680d72a7520f 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.h
+++ b/third_party/WebKit/Source/core/input/GestureManager.h
@@ -20,14 +20,12 @@ class PointerEventManager;
// This class takes care of gestures and delegating the action based on the
// gesture to the responsible class.
-class CORE_EXPORT GestureManager {
+class CORE_EXPORT GestureManager : public GarbageCollectedFinalized<GestureManager> {
WTF_MAKE_NONCOPYABLE(GestureManager);
- DISALLOW_NEW();
public:
GestureManager(LocalFrame*, ScrollManager*, PointerEventManager*,
SelectionController*);
- ~GestureManager();
DECLARE_TRACE();
void clear();
@@ -57,8 +55,8 @@ private:
const Member<LocalFrame> m_frame;
- ScrollManager* m_scrollManager;
- PointerEventManager* m_pointerEventManager;
+ Member<ScrollManager> m_scrollManager;
+ Member<PointerEventManager> m_pointerEventManager;
// Set on GestureTapDown if the |pointerdown| event corresponding to the
// triggering |touchstart| event was canceled. This suppresses mouse event
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandlingUtil.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