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

Unified Diff: chrome/browser/plugins/plugin_observer.cc

Issue 11667015: For the Metro mode infobar, move various variables from the caller side to the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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/browser/plugins/plugin_infobar_delegates.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_observer.cc
===================================================================
--- chrome/browser/plugins/plugin_observer.cc (revision 174623)
+++ chrome/browser/plugins/plugin_observer.cc (working copy)
@@ -296,11 +296,8 @@
delegate = base::win::IsMetroProcess() ?
new PluginMetroModeInfoBarDelegate(
infobar_service,
- l10n_util::GetStringFUTF16(IDS_METRO_MISSING_PLUGIN_PROMPT,
- plugin_metadata->name()),
- l10n_util::GetStringUTF16(IDS_WIN8_DESKTOP_RESTART),
- GURL("https://support.google.com/chrome/?ib_display_in_desktop"),
- false) :
+ PluginMetroModeInfoBarDelegate::MISSING_PLUGIN,
+ plugin_metadata->name()) :
PluginInstallerInfoBarDelegate::Create(
infobar_service, installer, plugin_metadata.Pass(), callback);
#endif
@@ -383,11 +380,8 @@
infobar_service->AddInfoBar(
new PluginMetroModeInfoBarDelegate(
infobar_service,
- l10n_util::GetStringFUTF16(IDS_METRO_NPAPI_PLUGIN_PROMPT,
- plugin->name()),
- l10n_util::GetStringUTF16(IDS_WIN8_RESTART),
- GURL("https://support.google.com/chrome/?ib_redirect_to_desktop"),
- true));
+ PluginMetroModeInfoBarDelegate::DESKTOP_MODE_REQUIRED,
+ plugin->name()));
#else
NOTREACHED();
#endif
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698