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

Side by Side Diff: content/browser/accessibility/accessibility_ui.h

Issue 2552203005: Enable toggling of new accessibility modes in chrome://accessibility (Closed)
Patch Set: Rebase Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h"
9 #include "content/public/browser/web_ui_controller.h" 9 #include "content/public/browser/web_ui_controller.h"
10 #include "content/public/browser/web_ui_data_source.h" 10 #include "content/public/browser/web_ui_data_source.h"
11 11
12 namespace base { 12 namespace base {
13 class ListValue; 13 class ListValue;
14 } // namespace base 14 } // namespace base
15 15
16 namespace content { 16 namespace content {
17 17
18 class AccessibilityUI : public WebUIController { 18 class AccessibilityUI : public WebUIController {
19 public: 19 public:
20 explicit AccessibilityUI(WebUI* web_ui); 20 explicit AccessibilityUI(WebUI* web_ui);
21 ~AccessibilityUI() override; 21 ~AccessibilityUI() override;
22 22
23 private: 23 private:
24 void ToggleAccessibility(const base::ListValue* args); 24 void ToggleAccessibility(const base::ListValue* args);
25 void ToggleGlobalAccessibility(const base::ListValue* args); 25 void SetGlobalFlag(const base::ListValue* args);
26 void ToggleInternalTree(const base::ListValue* args);
27 void RequestAccessibilityTree(const base::ListValue* args); 26 void RequestAccessibilityTree(const base::ListValue* args);
28 27
29 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI); 28 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI);
30 }; 29 };
31 30
32 } // namespace content 31 } // namespace content
33 32
34 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_ 33 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_UI_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698