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 9176c4bcee6cffbd9f30109e2dd25fd47a9432f4..232d3a96040b57a6271651cb8f06f4e5d417251c 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -16,7 +16,6 @@ |
#include "content/common/content_export.h" |
#include "content/public/browser/bluetooth_chooser.h" |
#include "content/public/browser/invalidate_type.h" |
-#include "content/public/browser/web_contents.h" |
#include "content/public/common/media_stream_request.h" |
#include "content/public/common/window_container_type.mojom.h" |
#include "third_party/WebKit/public/platform/WebDisplayMode.h" |
@@ -46,6 +45,7 @@ |
class RenderWidgetHost; |
class SessionStorageNamespace; |
class SiteInstance; |
+class WebContents; |
class WebContentsImpl; |
struct ColorSuggestion; |
struct ContextMenuParams; |
@@ -331,14 +331,12 @@ |
// Notifies the delegate about the creation of a new WebContents. This |
// typically happens when popups are created. |
- virtual void WebContentsCreated( |
- WebContents* source_contents, |
- int opener_render_process_id, |
- int opener_render_frame_id, |
- const std::string& frame_name, |
- const GURL& target_url, |
- WebContents* new_contents, |
- const base::Optional<WebContents::CreateParams>& create_params) {} |
+ virtual void WebContentsCreated(WebContents* source_contents, |
+ int opener_render_process_id, |
+ int opener_render_frame_id, |
+ const std::string& frame_name, |
+ const GURL& target_url, |
+ WebContents* new_contents) {} |
// Notification that the tab is hung. |
virtual void RendererUnresponsive( |