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

Unified Diff: content/public/browser/web_contents.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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 43804129322c4ed56ffc7b451c6ae1e5b84bfc2d..d6c9a9626bcc2d0878d343ddbb12c9028f62f6b8 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -628,6 +628,13 @@ class WebContents : public PageNavigator,
// Requests the renderer to exit fullscreen.
virtual void ExitFullscreen() = 0;
+ // Unblocks requests from renderer for a newly created window. This is
+ // used in showCreatedWindow() or sometimes later in cases where
+ // delegate->ShouldResumeRequestsForCreatedWindow() indicated the requests
+ // should not yet be resumed. Then the client is responsible for calling this
+ // as soon as they are ready.
+ virtual void ResumeLoadingCreatedWebContents() = 0;
+
#if defined(OS_ANDROID)
CONTENT_EXPORT static WebContents* FromJavaWebContents(
jobject jweb_contents_android);

Powered by Google App Engine
This is Rietveld 408576698