Index: components/web_contents_delegate_android/web_contents_delegate_android.h |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.h b/components/web_contents_delegate_android/web_contents_delegate_android.h |
index 552574f78a471d1befc5b846a756b74b3e32cef1..4b179ac46f6a54c90da71ff9836346c5f7f9639e 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h |
+++ b/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, |