diff options
Diffstat (limited to 'chromium/components/web_contents_delegate_android/web_contents_delegate_android.h')
-rw-r--r-- | chromium/components/web_contents_delegate_android/web_contents_delegate_android.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/chromium/components/web_contents_delegate_android/web_contents_delegate_android.h b/chromium/components/web_contents_delegate_android/web_contents_delegate_android.h index 552574f78a4..4b179ac46f6 100644 --- a/chromium/components/web_contents_delegate_android/web_contents_delegate_android.h +++ b/chromium/components/web_contents_delegate_android/web_contents_delegate_android.h @@ -12,12 +12,12 @@ #include "base/android/jni_weak_ref.h" #include "base/android/scoped_java_ref.h" #include "base/compiler_specific.h" +#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents_delegate.h" class GURL; namespace content { -class WebContents; class WebContentsDelegate; struct NativeWebKeyboardEvent; struct OpenURLParams; @@ -73,12 +73,15 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate { content::WebContents* source, const content::WebContentsUnresponsiveState& unresponsive_state) override; void RendererResponsive(content::WebContents* source) override; - 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) override; + 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) + override; bool ShouldCreateWebContents( content::WebContents* web_contents, content::SiteInstance* source_site_instance, |