Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "chrome/browser/ui/webui/options/options_ui.h" | |
| 11 | |
| 12 namespace base { | |
| 13 class DictionaryValue; | |
| 14 } | |
|
Dan Beam
2014/08/13 17:03:18
not required
michaelpg
2014/08/13 20:17:51
Done.
| |
| 15 | |
| 16 namespace options { | |
| 17 | |
| 18 // Help UI page handler to support About in Settings when using Settings in a | |
| 19 // window. Defers to ::HelpHandler. | |
| 20 class HelpOverlayHandler : public ::options::OptionsPageUIHandler { | |
| 21 public: | |
| 22 HelpOverlayHandler(); | |
| 23 virtual ~HelpOverlayHandler(); | |
| 24 | |
| 25 // OptionsPageUIHandler implementation. | |
| 26 virtual void GetLocalizedValues( | |
| 27 base::DictionaryValue* localized_strings) OVERRIDE; | |
| 28 | |
| 29 // WebUIMessageHandler implementation. | |
| 30 virtual void RegisterMessages() OVERRIDE; | |
| 31 | |
| 32 private: | |
| 33 DISALLOW_COPY_AND_ASSIGN(HelpOverlayHandler); | |
| 34 }; | |
| 35 | |
| 36 } // namespace options | |
| 37 | |
| 38 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_ | |
| OLD | NEW |