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

Unified Diff: trunk/Source/platform/UserGestureIndicator.cpp

Issue 264333002: Revert 172810 "Add a "forwarded" flag to usergesture tokens." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 7 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 | « trunk/Source/platform/UserGestureIndicator.h ('k') | trunk/Source/web/WebUserGestureToken.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/platform/UserGestureIndicator.cpp
===================================================================
--- trunk/Source/platform/UserGestureIndicator.cpp (revision 173444)
+++ trunk/Source/platform/UserGestureIndicator.cpp (working copy)
@@ -88,23 +88,12 @@
m_javascriptPrompt = true;
}
- virtual bool wasForwarded() const OVERRIDE
- {
- return m_forwarded;
- }
-
- virtual void setForwarded() OVERRIDE
- {
- m_forwarded = true;
- }
-
private:
GestureToken()
: m_consumableGestures(0),
m_timestamp(0),
m_outOfProcess(false),
- m_javascriptPrompt(false),
- m_forwarded(false)
+ m_javascriptPrompt(false)
{
}
@@ -112,7 +101,6 @@
double m_timestamp;
bool m_outOfProcess;
bool m_javascriptPrompt;
- bool m_forwarded;
};
}
« no previous file with comments | « trunk/Source/platform/UserGestureIndicator.h ('k') | trunk/Source/web/WebUserGestureToken.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698