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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

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/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index eba56985b6cd80626b07e4b8265d3332ae66ba48..25cc35d9e5b8dc355a1e95ed0782401f85d0fdbc 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -129,6 +129,10 @@ bool RemoteFrame::shouldClose() {
return true;
}
+void RemoteFrame::setDocumentHasReceivedUserGesture() {
+ client()->setHasReceivedUserGesture();
+}
+
void RemoteFrame::forwardInputEvent(Event* event) {
client()->forwardInputEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698