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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 1095913002: Fix window.open issue in Document mode on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GuestViewBase delegate method Created 5 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
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index ef73451fc22bb90396332d2416e048d25de58257..05e3a1d8d2357e5b07a4ce4e24be63159e6164e9 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -215,6 +215,11 @@ class CONTENT_EXPORT WebContentsDelegate {
// to live. Default is true.
virtual bool ShouldFocusPageAfterCrash();
+ // Returns whether the page should resume accepting requests for the new
+ // window. This is used when window creation is asynchronous
+ // and the navigations need to be delayed. Default is true.
+ virtual bool ShouldResumeRequestsForCreatedWindow();
+
// This is called when WebKit tells us that it is done tabbing through
// controls on the page. Provides a way for WebContentsDelegates to handle
// this. Returns true if the delegate successfully handled it.

Powered by Google App Engine
This is Rietveld 408576698