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

Unified Diff: Source/platform/UserGestureIndicator.h

Issue 174893002: Remove handlers for user gesture callbacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/platform/UserGestureIndicator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/UserGestureIndicator.h
diff --git a/Source/platform/UserGestureIndicator.h b/Source/platform/UserGestureIndicator.h
index c69d866d89b3083ed9b75b6c22f2dad45d0ba594..5281bf6909ea33c17e6c33dd5b9a332ef4b471d5 100644
--- a/Source/platform/UserGestureIndicator.h
+++ b/Source/platform/UserGestureIndicator.h
@@ -42,12 +42,6 @@ enum ProcessingUserGestureState {
DefinitelyNotProcessingUserGesture
};
-class UserGestureHandler {
-public:
- virtual ~UserGestureHandler() { }
- virtual void onGesture() = 0;
-};
-
class PLATFORM_EXPORT UserGestureToken : public RefCounted<UserGestureToken> {
public:
virtual ~UserGestureToken() { }
@@ -74,7 +68,6 @@ public:
static bool processingUserGesture();
static bool consumeUserGesture();
static UserGestureToken* currentToken();
- static void setHandler(UserGestureHandler*);
explicit UserGestureIndicator(ProcessingUserGestureState);
explicit UserGestureIndicator(PassRefPtr<UserGestureToken>);
@@ -84,7 +77,6 @@ public:
private:
static ProcessingUserGestureState s_state;
static UserGestureIndicator* s_topmostIndicator;
- static UserGestureHandler* s_handler;
ProcessingUserGestureState m_previousState;
RefPtr<UserGestureToken> m_token;
};
« no previous file with comments | « no previous file | Source/platform/UserGestureIndicator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698