|
@@ -15,6 +15,7 @@
|
|
|
#include "atom/browser/ui/autofill_popup.h"
|
|
|
#include "content/common/cursors/webcursor.h"
|
|
|
#include "content/public/browser/keyboard_event_processing_result.h"
|
|
|
+#include "content/public/browser/web_contents.h"
|
|
|
#include "content/public/browser/web_contents_observer.h"
|
|
|
#include "content/public/common/favicon_url.h"
|
|
|
#include "native_mate/handle.h"
|
|
@@ -247,12 +248,15 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|
|
const base::string16& message,
|
|
|
int32_t line_no,
|
|
|
const base::string16& source_id) 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;
|
|
|
void AddNewContents(content::WebContents* source,
|
|
|
content::WebContents* new_contents,
|
|
|
WindowOpenDisposition disposition,
|