OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
9 #include "content/public/browser/web_ui_data_source.h" | 10 #include "content/public/browser/web_ui_data_source.h" |
10 | 11 |
11 namespace base { | 12 namespace base { |
12 class ListValue; | 13 class ListValue; |
13 } // namespace base | 14 } // namespace base |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 | 17 |
17 class AccessibilityUI : public WebUIController { | 18 class AccessibilityUI : public WebUIController { |
18 public: | 19 public: |
19 explicit AccessibilityUI(WebUI* web_ui); | 20 explicit AccessibilityUI(WebUI* web_ui); |
20 ~AccessibilityUI() override; | 21 ~AccessibilityUI() override; |
21 | 22 |
22 private: | 23 private: |
23 void ToggleAccessibility(const base::ListValue* args); | 24 void ToggleAccessibility(const base::ListValue* args); |
24 void ToggleGlobalAccessibility(const base::ListValue* args); | 25 void ToggleGlobalAccessibility(const base::ListValue* args); |
25 void ToggleInternalTree(const base::ListValue* args); | 26 void ToggleInternalTree(const base::ListValue* args); |
26 void RequestAccessibilityTree(const base::ListValue* args); | 27 void RequestAccessibilityTree(const base::ListValue* args); |
27 | 28 |
28 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI); | 29 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI); |
29 }; | 30 }; |
30 | 31 |
31 } // namespace content | 32 } // namespace content |
32 | 33 |
33 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ | 34 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ |
OLD | NEW |