Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4119)

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.cc

Issue 1025303007: Remove PluginInstallerInfoBarDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/render_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6bb6bd2e7366a0febe5f8fbfea6faa04bee8a272..c1788a3d2695e4085cdc40514894aea64a148b2c 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
@@ -98,12 +98,8 @@ ChromePluginPlaceholder* ChromePluginPlaceholder::CreateMissingPlugin(
IDR_BLOCKED_PLUGIN_HTML));
base::DictionaryValue values;
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- values.SetString("message", l10n_util::GetStringUTF8(IDS_PLUGIN_SEARCHING));
-#else
values.SetString("message",
l10n_util::GetStringUTF8(IDS_PLUGIN_NOT_SUPPORTED));
-#endif
std::string html_data = webui::GetI18nTemplateHtml(template_html, &values);
@@ -111,12 +107,6 @@ ChromePluginPlaceholder* ChromePluginPlaceholder::CreateMissingPlugin(
ChromePluginPlaceholder* missing_plugin = new ChromePluginPlaceholder(
render_frame, frame, params, html_data, params.mimeType);
missing_plugin->set_allow_loading(true);
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- RenderThread::Get()->Send(
- new ChromeViewHostMsg_FindMissingPlugin(missing_plugin->routing_id(),
- missing_plugin->CreateRoutingId(),
- params.mimeType.utf8()));
-#endif
return missing_plugin;
}
« no previous file with comments | « chrome/common/render_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698