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:
Marshall Greenblatt
2016-04-27 16:38:52 -04:00
parent 3c957f9257
commit e7ddc933c9
215 changed files with 869 additions and 1537 deletions

View File

@@ -55,12 +55,12 @@ class UserData : public base::SupportsUserData::Data {
// gain a ref-counted reference to the CefView and the CefView will keep an
// unowned reference to the views::View. Destruction of the views::View will
// release the ref-counted reference to the CefView.
static scoped_ptr<views::View> PassOwnership(
static std::unique_ptr<views::View> PassOwnership(
CefRefPtr<CefView> cef_view) WARN_UNUSED_RESULT {
DCHECK(cef_view->IsValid());
DCHECK(!cef_view->IsAttached());
scoped_ptr<views::View> view =
std::unique_ptr<views::View> view =
CefViewAdapter::GetFor(cef_view)->PassOwnership();
DCHECK(view);
@@ -153,7 +153,7 @@ views::View* GetFor(CefRefPtr<CefView> view) {
return CefViewAdapter::GetFor(view)->Get();
}
scoped_ptr<views::View> PassOwnership(CefRefPtr<CefView> view) {
std::unique_ptr<views::View> PassOwnership(CefRefPtr<CefView> view) {
return UserData::PassOwnership(view);
}