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

Unified Diff: chrome/browser/ui/webui/chromeos/ui_account_tweaks.h

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/chromeos/ui_account_tweaks.h
diff --git a/chrome/browser/ui/webui/chromeos/ui_account_tweaks.h b/chrome/browser/ui/webui/chromeos/ui_account_tweaks.h
new file mode 100644
index 0000000000000000000000000000000000000000..2134548dbed9836631cc643c62469936d7f66dc2
--- /dev/null
+++ b/chrome/browser/ui/webui/chromeos/ui_account_tweaks.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
+#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
+#pragma once
+
+#include "base/values.h"
+#include "base/compiler_specific.h"
+#include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
+
+namespace chromeos {
+
+/**
+ * Fills given dictionary with account status data (whether current user is
+ * owner/guest, id of the owner).
+ * @param localized_strings non-null dictionary that will be filled.
+ */
+void AddAccountUITweaksLocalizedValues(
+ base::DictionaryValue* localized_strings);
+
+/**
+ * Fills given data source with account status data (whether current user is
+ * owner/guest, id of the owner).
+ * @param source non-null ui data source which localized values dictionary will
+ * be filled.
+ */
+void AddAccountUITweaksLocalizedValues(ChromeWebUIDataSource* source);
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_UI_ACCOUNT_TWEAKS_H_
« no previous file with comments | « chrome/browser/resources/shared_resources.grd ('k') | chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698