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

Unified Diff: public/web/WebUserGestureToken.h

Issue 258783004: Add a "forwarded" flag to usergesture tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix unittest 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 | « Source/web/tests/WebUserGestureTokenTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebUserGestureToken.h
diff --git a/public/web/WebUserGestureToken.h b/public/web/WebUserGestureToken.h
index 4251dcd1d986f7f0eb0adeb61f245e9a65c47de0..064cfe868284aa9f3f65c1e199a7f1fbc88dd939 100644
--- a/public/web/WebUserGestureToken.h
+++ b/public/web/WebUserGestureToken.h
@@ -56,6 +56,8 @@ public:
BLINK_EXPORT bool hasGestures() const;
BLINK_EXPORT void setOutOfProcess();
BLINK_EXPORT void setJavascriptPrompt();
+ BLINK_EXPORT bool wasForwarded() const;
+ BLINK_EXPORT void setForwarded();
bool isNull() const { return m_token.isNull(); }
#if BLINK_IMPLEMENTATION
« no previous file with comments | « Source/web/tests/WebUserGestureTokenTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698