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

Unified Diff: chrome/browser/ui/webui/plugins_ui.cc

Issue 10006028: Plugins page in BWSI session has unnecessary and misleading UI components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 years, 8 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
Index: chrome/browser/ui/webui/plugins_ui.cc
diff --git a/chrome/browser/ui/webui/plugins_ui.cc b/chrome/browser/ui/webui/plugins_ui.cc
index 16cfa42c4ef4b6394cccb087cb08b06813dba127..cc4b69cfdc6a518ed4e162a43bb69da4f4e3b06e 100644
--- a/chrome/browser/ui/webui/plugins_ui.cc
+++ b/chrome/browser/ui/webui/plugins_ui.cc
@@ -44,6 +44,10 @@
#include "ui/base/resource/resource_bundle.h"
#include "webkit/plugins/npapi/plugin_group.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h"
+#endif
+
#if defined(ENABLE_PLUGIN_INSTALLATION)
#include "chrome/browser/plugin_finder.h"
#include "chrome/browser/plugin_installer.h"
@@ -96,6 +100,9 @@ ChromeWebUIDataSource* CreatePluginsUIHTMLSource() {
source->set_json_path("strings.js");
source->add_resource_path("plugins.js", IDR_PLUGINS_JS);
source->set_default_resource(IDR_PLUGINS_HTML);
+#if defined(OS_CHROMEOS)
+ chromeos::AddAccountUITweaksLocalizedValues(source);
+#endif
return source;
}
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698