| Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| index 67f82bf8d0e7fe3f2180a6f32cf59210feb1fad5..2995e7837fcd723dcc7421917cd9421723eaa013 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| @@ -224,6 +224,10 @@ void ChromePluginPlaceholder::OpenAboutPluginsCallback() {
|
| new ChromeViewHostMsg_OpenAboutPlugins(routing_id()));
|
| }
|
|
|
| +void ChromePluginPlaceholder::ShowPermissionBubbleCallback() {
|
| + // TODO(tommycli): Show a permission bubble in the browser process.
|
| +}
|
| +
|
| #if defined(ENABLE_PLUGIN_INSTALLATION)
|
| void ChromePluginPlaceholder::OnDidNotFindMissingPlugin() {
|
| SetMessage(l10n_util::GetStringUTF16(IDS_PLUGIN_NOT_FOUND));
|
| @@ -417,7 +421,9 @@ gin::ObjectTemplateBuilder ChromePluginPlaceholder::GetObjectTemplateBuilder(
|
| "didFinishLoading",
|
| &ChromePluginPlaceholder::DidFinishLoadingCallback)
|
| .SetMethod("openAboutPlugins",
|
| - &ChromePluginPlaceholder::OpenAboutPluginsCallback);
|
| + &ChromePluginPlaceholder::OpenAboutPluginsCallback)
|
| + .SetMethod("showPermissionBubble",
|
| + &ChromePluginPlaceholder::ShowPermissionBubbleCallback);
|
|
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnablePluginPlaceholderTesting)) {
|
|
|