OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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_SETTINGS_CHROMEOS_A11Y_HANDLER_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_A11Y_HANDLER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "chrome/browser/ui/webui/settings/md_settings_ui.h" | |
Dan Beam
2016/03/11 22:07:20
this is now settings_page_ui_handler.h
| |
10 | |
11 namespace content { | |
12 class WebUI; | |
13 } | |
14 | |
15 class Profile; | |
16 | |
17 namespace chromeos { | |
18 namespace settings { | |
19 | |
20 // Chrome OS "Accessibility" settings page UI handler. | |
21 class A11yHandler | |
22 : public ::settings::SettingsPageUIHandler { | |
23 public: | |
24 explicit A11yHandler(content::WebUI* webui); | |
25 ~A11yHandler() override; | |
26 | |
27 // SettingsPageUIHandler implementation. | |
28 void RegisterMessages() override; | |
29 | |
30 private: | |
31 // Initializes the page. | |
32 void HandleInitialize(const base::ListValue* args); | |
33 | |
34 Profile* profile_; // Weak pointer. | |
Dan Beam
2016/03/11 22:07:20
unused
| |
35 | |
36 DISALLOW_COPY_AND_ASSIGN(A11yHandler); | |
37 }; | |
38 | |
39 } // namespace settings | |
40 } // namespace chromeos | |
41 | |
42 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_A11Y_HANDLER_H_ | |
OLD | NEW |