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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_
8 #include "base/basictypes.h"
9 #include "base/macros.h"
10 #include "chrome/browser/ui/webui/options/options_ui.h"
14 // Help UI page handler to support About in Settings when using Settings in a
15 // window. Defers to ::HelpHandler.
16 class HelpOverlayHandler
: public ::options::OptionsPageUIHandler
{
19 ~HelpOverlayHandler() override
;
21 // OptionsPageUIHandler implementation.
22 void GetLocalizedValues(base::DictionaryValue
* localized_strings
) override
;
24 // WebUIMessageHandler implementation.
25 void RegisterMessages() override
;
28 DISALLOW_COPY_AND_ASSIGN(HelpOverlayHandler
);
31 } // namespace options
33 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_