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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ 7 8 #include "content/public/browser/web_ui_controller.h" 9 #include "content/public/browser/web_ui_data_source.h" 10 11 namespace base { 12 class ListValue; 13 } // namespace base 14 15 namespace content { 16 17 class AccessibilityUI : public WebUIController { 18 public: 19 explicit AccessibilityUI(WebUI* web_ui); 20 virtual ~AccessibilityUI(); 21 22 private: 23 void ToggleAccessibility(const base::ListValue* args); 24 void ToggleGlobalAccessibility(const base::ListValue* args); 25 void RequestAccessibilityTree(const base::ListValue* args); 26 27 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI); 28 }; 29 30 } // namespace content 31 32 #endif // CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ 33