2015-07-16 23:40:01 +02:00
|
|
|
diff --git browser/guest_view/extension_options/extension_options_guest.cc browser/guest_view/extension_options/extension_options_guest.cc
|
2016-01-06 20:20:54 +01:00
|
|
|
index f594ade..f71e7ed 100644
|
2015-07-16 23:40:01 +02:00
|
|
|
--- browser/guest_view/extension_options/extension_options_guest.cc
|
|
|
|
+++ browser/guest_view/extension_options/extension_options_guest.cc
|
2016-01-06 20:20:54 +01:00
|
|
|
@@ -202,7 +202,9 @@ bool ExtensionOptionsGuest::ShouldCreateWebContents(
|
2015-07-24 02:06:56 +02:00
|
|
|
const std::string& frame_name,
|
2015-07-16 23:40:01 +02:00
|
|
|
const GURL& target_url,
|
|
|
|
const std::string& partition_id,
|
|
|
|
- content::SessionStorageNamespace* session_storage_namespace) {
|
|
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
|
|
+ content::WebContentsView** view,
|
|
|
|
+ content::RenderViewHostDelegateView** delegate_view) {
|
|
|
|
// This method handles opening links from within the guest. Since this guest
|
|
|
|
// view is used for displaying embedded extension options, we want any
|
|
|
|
// external links to be opened in a new tab, not in a new guest view.
|
|
|
|
diff --git browser/guest_view/extension_options/extension_options_guest.h browser/guest_view/extension_options/extension_options_guest.h
|
2016-01-06 20:20:54 +01:00
|
|
|
index b81fe41..41e3e2a 100644
|
2015-07-16 23:40:01 +02:00
|
|
|
--- browser/guest_view/extension_options/extension_options_guest.h
|
|
|
|
+++ browser/guest_view/extension_options/extension_options_guest.h
|
2016-01-06 20:20:54 +01:00
|
|
|
@@ -56,7 +56,9 @@ class ExtensionOptionsGuest
|
2015-07-24 02:06:56 +02:00
|
|
|
const std::string& frame_name,
|
2015-07-16 23:40:01 +02:00
|
|
|
const GURL& target_url,
|
|
|
|
const std::string& partition_id,
|
2015-11-10 21:18:16 +01:00
|
|
|
- content::SessionStorageNamespace* session_storage_namespace) final;
|
2015-07-16 23:40:01 +02:00
|
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
|
|
+ content::WebContentsView** view,
|
2015-11-10 21:18:16 +01:00
|
|
|
+ content::RenderViewHostDelegateView** delegate_view) final;
|
2015-07-16 23:40:01 +02:00
|
|
|
|
|
|
|
// content::WebContentsObserver implementation.
|
2015-11-10 21:18:16 +01:00
|
|
|
void DidNavigateMainFrame(const content::LoadCommittedDetails& details,
|