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

Unified Diff: Source/platform/UserGestureIndicator.h

Issue 235983016: Add support for setting password value gated on user's gesture in a page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: OVERRIDE added Created 6 years, 8 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') | Source/platform/UserGestureIndicator.cpp » ('J')
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 5281bf6909ea33c17e6c33dd5b9a332ef4b471d5..50831e0b00a661c952fa91a4bab8912d2e50fb3d 100644
--- a/Source/platform/UserGestureIndicator.h
+++ b/Source/platform/UserGestureIndicator.h
@@ -68,6 +68,8 @@ public:
static bool processingUserGesture();
static bool consumeUserGesture();
static UserGestureToken* currentToken();
+ static void clearProcessedUserGestureInPast();
+ static bool processedUserGestureInPast();
explicit UserGestureIndicator(ProcessingUserGestureState);
explicit UserGestureIndicator(PassRefPtr<UserGestureToken>);
@@ -77,6 +79,7 @@ public:
private:
static ProcessingUserGestureState s_state;
static UserGestureIndicator* s_topmostIndicator;
+ static bool s_processedUserGestureInPast;
ProcessingUserGestureState m_previousState;
RefPtr<UserGestureToken> m_token;
};
« no previous file with comments | « no previous file | Source/platform/UserGestureIndicator.cpp » ('j') | Source/platform/UserGestureIndicator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698