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

Unified Diff: chrome/browser/ui/webui/options/chromeos/help_overlay_handler.h

Issue 423533003: Use PageManager in About page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/options/chromeos/help_overlay_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/help_overlay_handler.h b/chrome/browser/ui/webui/options/chromeos/help_overlay_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c512c367936cabe29b6cc34cc5590efc3abaddf
--- /dev/null
+++ b/chrome/browser/ui/webui/options/chromeos/help_overlay_handler.h
@@ -0,0 +1,34 @@
+// Copyright 2014 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_OPTIONS_CHROMEOS_HELP_OVERLAY_HANDLER_H_
+#define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_HELP_OVERLAY_HANDLER_H_
+
Dan Beam 2014/08/06 18:30:55 #include "base/basictypes.h" #include "base/macros
michaelpg 2014/08/06 21:58:18 Oops, these files should not be part of this CL, t
+#include "chrome/browser/ui/webui/options/options_ui.h"
+
+namespace chromeos {
+namespace options {
+
+// Help UI page handler for the options page when using Settings in a window
+// on Chrome OS. Defers to ::HelpHandler.
+class HelpOverlayHandler : public ::options::OptionsPageUIHandler {
+ public:
+ HelpOverlayHandler();
+ virtual ~HelpOverlayHandler();
+
+ // OptionsPageUIHandler implementation.
+ virtual void GetLocalizedValues(
+ base::DictionaryValue* localized_strings) OVERRIDE;
+
+ // WebUIMessageHandler implementation.
+ virtual void RegisterMessages() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(HelpOverlayHandler);
+};
+
+} // namespace options
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_HELP_OVERLAY_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698