mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-23 07:20:12 +01:00
- Remove |accept_lang| parameter from CefJSDialogHandler::OnJSDialog and CefFormatUrlForSecurityDisplay (see https://crbug.com/336973#c36). - Remove remaining NPAPI-related code including functions from cef_web_plugin.h (see https://crbug.com/493212#c55). - Mac: 10.7+ deployment target is now required for client applications. - Mac: Remove CefBrowserHost::SetWindowVisibility (issue #1375). No replacement is required for windowed rendering. Use WasHidden for off-screen rendering. - Windows: Visual Studio 2015 Update 2 is now required when building CEF/Chromium.
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
diff --git ui/browser.cc ui/browser.cc
|
|
index b9d1732..7754dd9 100644
|
|
--- ui/browser.cc
|
|
+++ ui/browser.cc
|
|
@@ -1729,7 +1729,9 @@ bool Browser::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) {
|
|
if (window_container_type == WINDOW_CONTAINER_TYPE_BACKGROUND) {
|
|
// If a BackgroundContents is created, suppress the normal WebContents.
|
|
return !MaybeCreateBackgroundContents(
|
|
diff --git ui/browser.h ui/browser.h
|
|
index 3cb7401..e41d498 100644
|
|
--- ui/browser.h
|
|
+++ ui/browser.h
|
|
@@ -613,7 +613,9 @@ class Browser : public TabStripModelObserver,
|
|
const std::string& frame_name,
|
|
const GURL& target_url,
|
|
const std::string& partition_id,
|
|
- content::SessionStorageNamespace* session_storage_namespace) override;
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
+ content::WebContentsView** view,
|
|
+ content::RenderViewHostDelegateView** delegate_view) override;
|
|
void WebContentsCreated(content::WebContents* source_contents,
|
|
int opener_render_frame_id,
|
|
const std::string& frame_name,
|