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

Unified Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 449623003: Integrate About page into Settings for Chrome OS settings in a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/help/help_handler.h
diff --git a/chrome/browser/ui/webui/help/help_handler.h b/chrome/browser/ui/webui/help/help_handler.h
index 812f40b1990a879b8364d81b9bff1c77052d3258..baee08067de4d3385067206cc5384141fa0c530c 100644
--- a/chrome/browser/ui/webui/help/help_handler.h
+++ b/chrome/browser/ui/webui/help/help_handler.h
@@ -9,17 +9,20 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
+#include "base/strings/string16.h"
#include "chrome/browser/ui/webui/help/version_updater.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_ui_message_handler.h"
#if defined(OS_CHROMEOS)
+#include "base/task/cancelable_task_tracker.h"
#include "chrome/browser/chromeos/version_loader.h"
#endif // defined(OS_CHROMEOS)
-namespace content {
-class WebUIDataSource;
+namespace base {
+class DictionaryValue;
+class ListValue;
}
// WebUI message handler for the help page.
@@ -32,13 +35,16 @@ class HelpHandler : public content::WebUIMessageHandler,
// WebUIMessageHandler implementation.
virtual void RegisterMessages() OVERRIDE;
- // Fills |source| with string values for the UI.
- void GetLocalizedValues(content::WebUIDataSource* source);
+ // Adds string values for the UI to |localized_strings|.
+ static void GetLocalizedValues(base::DictionaryValue* localized_strings);
// NotificationObserver implementation.
virtual void Observe(int type, const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // Returns the browser version as a string.
+ static base::string16 BuildBrowserVersionString();
+
private:
// Initializes querying values for the page.
void OnPageLoaded(const base::ListValue* args);
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698