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

Unified Diff: third_party/WebKit/public/web/WebScopedUserGesture.h

Issue 2408333004: Move persistent gesture state to Document, add DocumentUserGestureToken (Closed)
Patch Set: Re-add dropped null check Created 4 years, 2 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: third_party/WebKit/public/web/WebScopedUserGesture.h
diff --git a/third_party/WebKit/public/web/WebScopedUserGesture.h b/third_party/WebKit/public/web/WebScopedUserGesture.h
index bf34f71132b558ebf0eb2e69f52fade8f54584bf..3e620147bea4ff3b1d85abc69ebc5087030140d2 100644
--- a/third_party/WebKit/public/web/WebScopedUserGesture.h
+++ b/third_party/WebKit/public/web/WebScopedUserGesture.h
@@ -37,6 +37,7 @@
namespace blink {
class UserGestureIndicator;
+class WebLocalFrame;
class WebUserGestureToken;
// An instance of this class, while kept alive, will indicate that we are in
@@ -55,7 +56,7 @@ class WebUserGestureToken;
class WebScopedUserGesture {
public:
BLINK_EXPORT explicit WebScopedUserGesture(const WebUserGestureToken& token);
- BLINK_EXPORT WebScopedUserGesture();
+ BLINK_EXPORT WebScopedUserGesture(WebLocalFrame*);
BLINK_EXPORT ~WebScopedUserGesture();
private:

Powered by Google App Engine
This is Rietveld 408576698