Index: extensions/browser/guest_view/web_view/web_view_guest.h |
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h |
index 72d3fb00603f2cb23d2334e6f375e50aea0f47e2..54e72bdd6a9cf151b3b9514957ac15ea0165b90c 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_guest.h |
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h |
@@ -15,6 +15,7 @@ |
#include "content/public/browser/javascript_dialog_manager.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
+#include "content/public/browser/web_contents.h" |
#include "extensions/browser/guest_view/web_view/javascript_dialog_helper.h" |
#include "extensions/browser/guest_view/web_view/web_view_find_helper.h" |
#include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" |
@@ -241,12 +242,15 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>, |
content::WebContents* OpenURLFromTab( |
content::WebContents* source, |
const content::OpenURLParams& params) final; |
- void WebContentsCreated(content::WebContents* source_contents, |
- int opener_render_process_id, |
- int opener_render_frame_id, |
- const std::string& frame_name, |
- const GURL& target_url, |
- content::WebContents* new_contents) final; |
+ void WebContentsCreated( |
+ content::WebContents* source_contents, |
+ int opener_render_process_id, |
+ int opener_render_frame_id, |
+ const std::string& frame_name, |
+ const GURL& target_url, |
+ content::WebContents* new_contents, |
+ const base::Optional<content::WebContents::CreateParams>& create_params) |
+ final; |
void EnterFullscreenModeForTab(content::WebContents* web_contents, |
const GURL& origin) final; |
void ExitFullscreenModeForTab(content::WebContents* web_contents) final; |