mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 6e53600d (#386251)
- 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.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
namespace {
|
||||
|
||||
scoped_ptr<CefBrowserPlatformDelegateNative> CreateNativeDelegate(
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> CreateNativeDelegate(
|
||||
const CefWindowInfo& window_info) {
|
||||
#if defined(OS_WIN)
|
||||
return make_scoped_ptr(new CefBrowserPlatformDelegateNativeWin(window_info));
|
||||
@@ -39,8 +39,8 @@ scoped_ptr<CefBrowserPlatformDelegateNative> CreateNativeDelegate(
|
||||
#endif
|
||||
}
|
||||
|
||||
scoped_ptr<CefBrowserPlatformDelegateOsr> CreateOSRDelegate(
|
||||
scoped_ptr<CefBrowserPlatformDelegateNative> native_delegate) {
|
||||
std::unique_ptr<CefBrowserPlatformDelegateOsr> CreateOSRDelegate(
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate) {
|
||||
#if defined(OS_WIN)
|
||||
return make_scoped_ptr(
|
||||
new CefBrowserPlatformDelegateOsrWin(std::move(native_delegate)));
|
||||
@@ -56,10 +56,10 @@ scoped_ptr<CefBrowserPlatformDelegateOsr> CreateOSRDelegate(
|
||||
} // namespace
|
||||
|
||||
// static
|
||||
scoped_ptr<CefBrowserPlatformDelegate> CefBrowserPlatformDelegate::Create(
|
||||
std::unique_ptr<CefBrowserPlatformDelegate> CefBrowserPlatformDelegate::Create(
|
||||
CefBrowserHostImpl::CreateParams& create_params) {
|
||||
if (create_params.window_info) {
|
||||
scoped_ptr<CefBrowserPlatformDelegateNative> native_delegate =
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate =
|
||||
CreateNativeDelegate(*create_params.window_info.get());
|
||||
if (create_params.window_info->windowless_rendering_enabled &&
|
||||
create_params.client &&
|
||||
@@ -71,7 +71,7 @@ scoped_ptr<CefBrowserPlatformDelegate> CefBrowserPlatformDelegate::Create(
|
||||
#if defined(USE_AURA)
|
||||
else {
|
||||
// CefWindowInfo is not used in this case.
|
||||
scoped_ptr<CefBrowserPlatformDelegateNative> native_delegate =
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate =
|
||||
CreateNativeDelegate(CefWindowInfo());
|
||||
return make_scoped_ptr(new CefBrowserPlatformDelegateViews(
|
||||
std::move(native_delegate),
|
||||
|
Reference in New Issue
Block a user