Revert 268405 "Make sure that ScratchBuffer::Allocate() always r..."
[chromium-blink-merge.git] / content / browser / accessibility / accessibility_ui.h
blob4922728303853701dfab66213309f0bd36f925a9
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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
8 #include "content/public/browser/web_ui_controller.h"
9 #include "content/public/browser/web_ui_data_source.h"
11 namespace base {
12 class ListValue;
13 } // namespace base
15 namespace content {
17 class AccessibilityUI : public WebUIController {
18 public:
19 explicit AccessibilityUI(WebUI* web_ui);
20 virtual ~AccessibilityUI();
22 private:
23 void ToggleAccessibility(const base::ListValue* args);
24 void ToggleGlobalAccessibility(const base::ListValue* args);
25 void RequestAccessibilityTree(const base::ListValue* args);
27 DISALLOW_COPY_AND_ASSIGN(AccessibilityUI);
30 } // namespace content
32 #endif // CHROME_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_