mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 04:16:42 +01:00
31 lines
1.7 KiB
Diff
31 lines
1.7 KiB
Diff
diff --git browser/guest_view/extension_options/extension_options_guest.cc browser/guest_view/extension_options/extension_options_guest.cc
|
|
index eb8eb4d..836ce55 100644
|
|
--- browser/guest_view/extension_options/extension_options_guest.cc
|
|
+++ browser/guest_view/extension_options/extension_options_guest.cc
|
|
@@ -203,7 +203,9 @@ bool ExtensionOptionsGuest::ShouldCreateWebContents(
|
|
const std::string& frame_name,
|
|
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
|
|
index e0309f7..f6a3878 100644
|
|
--- browser/guest_view/extension_options/extension_options_guest.h
|
|
+++ browser/guest_view/extension_options/extension_options_guest.h
|
|
@@ -56,7 +56,9 @@ class ExtensionOptionsGuest
|
|
const std::string& frame_name,
|
|
const GURL& target_url,
|
|
const std::string& partition_id,
|
|
- content::SessionStorageNamespace* session_storage_namespace) final;
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
+ content::WebContentsView** view,
|
|
+ content::RenderViewHostDelegateView** delegate_view) final;
|
|
|
|
// content::WebContentsObserver implementation.
|
|
void DidNavigateMainFrame(const content::LoadCommittedDetails& details,
|