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

Unified Diff: sky/engine/core/page/EventHandler.h

Issue 868933003: Remove user gesture tracking (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/page/EventHandler.h
diff --git a/sky/engine/core/page/EventHandler.h b/sky/engine/core/page/EventHandler.h
index de4971735c97bd7c6f8936187cbdca763af67474..88934682569f881e5e7946ec6c8a3e22efd10938 100644
--- a/sky/engine/core/page/EventHandler.h
+++ b/sky/engine/core/page/EventHandler.h
@@ -34,7 +34,6 @@
#include "sky/engine/platform/Cursor.h"
#include "sky/engine/platform/PlatformMouseEvent.h"
#include "sky/engine/platform/Timer.h"
-#include "sky/engine/platform/UserGestureIndicator.h"
#include "sky/engine/platform/geometry/LayoutPoint.h"
#include "sky/engine/platform/heap/Handle.h"
#include "sky/engine/platform/scroll/ScrollTypes.h"
@@ -162,8 +161,6 @@ public:
void notifyElementActivated();
- PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_lastMouseDownUserGestureToken.release(); }
-
private:
bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleSelection&, TextGranularity);
void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace);
@@ -301,7 +298,6 @@ private:
IntPoint m_mouseDownPos; // In our view's coords.
double m_mouseDownTimestamp;
PlatformMouseEvent m_mouseDown;
- RefPtr<UserGestureToken> m_lastMouseDownUserGestureToken;
RefPtr<Node> m_latchedWheelEventNode;
bool m_widgetIsLatched;
@@ -314,7 +310,6 @@ private:
// If set, the document of the active touch sequence. Unset if no touch sequence active.
RefPtr<Document> m_touchSequenceDocument;
- RefPtr<UserGestureToken> m_touchSequenceUserGestureToken;
bool m_touchPressed;

Powered by Google App Engine
This is Rietveld 408576698