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

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

Issue 2445193005: Route setHasReceivedUserGesture() state for RemoteFrames (Closed)
Patch Set: 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/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 1e6d90dc3233296bfb90a4e658a30a14572721e7..3d452f434c421353e633943028ebe7f1a38275e1 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -148,6 +148,10 @@ class WebLocalFrame : public WebFrame {
// cross process.
virtual void setCommittedFirstRealLoad() = 0;
+ // Mark this frame's document as having received a user gesture, based on
+ // one of its descendants having processed a user gesture.
+ virtual void setHasReceivedUserGesture() = 0;
+
// Orientation Changes ----------------------------------------------------
// Notify the frame that the screen orientation has changed.

Powered by Google App Engine
This is Rietveld 408576698