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

Side by Side Diff: chrome/browser/ui/webui/settings/chromeos/accessibility_handler.h

Issue 2200463002: Reorganize accessibility settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address last feedback from dbeam Created 4 years, 4 months 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
OLDNEW
(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_ACCESSIBILITY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10
11 namespace base {
12 class ListValue;
13 }
14
15 namespace content {
16 class WebUI;
17 }
18
19 class Profile;
20
21 namespace chromeos {
22 namespace settings {
23
24 class AccessibilityHandler : public ::settings::SettingsPageUIHandler {
25 public:
26 explicit AccessibilityHandler(content::WebUI* webui);
27 ~AccessibilityHandler() override;
28
29 // SettingsPageUIHandler implementation.
30 void RegisterMessages() override;
31 void OnJavascriptAllowed() override {}
32 void OnJavascriptDisallowed() override {}
33
34 private:
35 // Callback for the "showChromeVoxSettings" message.
36 void HandleShowChromeVoxSettings(const base::ListValue* args);
37
38 Profile* profile_; // Weak pointer.
39
40 DISALLOW_COPY_AND_ASSIGN(AccessibilityHandler);
41 };
42
43 } // namespace settings
44 } // namespace chromeos
45
46 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698