mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision ad51088c (#444943)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "gin/object_template_builder.h"
|
||||
#include "third_party/WebKit/public/platform/URLConversion.h"
|
||||
#include "third_party/WebKit/public/platform/WebInputEvent.h"
|
||||
#include "third_party/WebKit/public/platform/WebMouseEvent.h"
|
||||
#include "third_party/WebKit/public/web/WebDocument.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
#include "third_party/WebKit/public/web/WebScriptSource.h"
|
||||
@@ -164,12 +165,6 @@ bool CefPluginPlaceholder::OnMessageReceived(const IPC::Message& message) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void CefPluginPlaceholder::OpenAboutPluginsCallback() {
|
||||
// CEF does not use IDR_DISABLED_PLUGIN_HTML which would originate this
|
||||
// callback for the chrome://plugins link.
|
||||
NOTREACHED();
|
||||
}
|
||||
|
||||
void CefPluginPlaceholder::ShowPermissionBubbleCallback() {
|
||||
// CEF does not use IDR_PREFER_HTML_PLUGIN_HTML which would originate this
|
||||
// callback.
|
||||
@@ -304,8 +299,6 @@ gin::ObjectTemplateBuilder CefPluginPlaceholder::GetObjectTemplateBuilder(
|
||||
.SetMethod<void (CefPluginPlaceholder::*)()>(
|
||||
"didFinishLoading",
|
||||
&CefPluginPlaceholder::DidFinishLoadingCallback)
|
||||
.SetMethod("openAboutPlugins",
|
||||
&CefPluginPlaceholder::OpenAboutPluginsCallback)
|
||||
.SetMethod("showPermissionBubble",
|
||||
&CefPluginPlaceholder::ShowPermissionBubbleCallback);
|
||||
|
||||
|
@@ -72,9 +72,6 @@ class CefPluginPlaceholder final
|
||||
void OnMenuAction(int request_id, unsigned action) override;
|
||||
void OnMenuClosed(int request_id) override;
|
||||
|
||||
// Javascript callbacks:
|
||||
// Open chrome://plugins in a new tab.
|
||||
void OpenAboutPluginsCallback();
|
||||
// Show the Plugins permission bubble.
|
||||
void ShowPermissionBubbleCallback();
|
||||
|
||||
|
@@ -14,7 +14,6 @@
|
||||
|
||||
namespace blink {
|
||||
class WebLocalFrame;
|
||||
class WebPlugin;
|
||||
}
|
||||
|
||||
class SkBitmap;
|
||||
|
Reference in New Issue
Block a user