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:
@@ -10,7 +10,6 @@
|
||||
|
||||
#include "libcef/browser/menu_runner.h"
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
#include "content/public/common/context_menu_params.h"
|
||||
@@ -27,7 +26,7 @@ class CefMenuManager : public CefMenuModelImpl::Delegate,
|
||||
public content::WebContentsObserver {
|
||||
public:
|
||||
CefMenuManager(CefBrowserHostImpl* browser,
|
||||
scoped_ptr<CefMenuRunner> runner);
|
||||
std::unique_ptr<CefMenuRunner> runner);
|
||||
~CefMenuManager() override;
|
||||
|
||||
// Delete the runner to free any platform constructs.
|
||||
@@ -63,7 +62,7 @@ class CefMenuManager : public CefMenuModelImpl::Delegate,
|
||||
// CefBrowserHostImpl pointer is guaranteed to outlive this object.
|
||||
CefBrowserHostImpl* browser_;
|
||||
|
||||
scoped_ptr<CefMenuRunner> runner_;
|
||||
std::unique_ptr<CefMenuRunner> runner_;
|
||||
|
||||
CefRefPtr<CefMenuModelImpl> model_;
|
||||
content::ContextMenuParams params_;
|
||||
|
Reference in New Issue
Block a user