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

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

Issue 2786453002: Add links to more options pages for Chrome OS accessibility features (Closed)
Patch Set: Created 3 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10 10
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 explicit AccessibilityHandler(content::WebUI* webui); 26 explicit AccessibilityHandler(content::WebUI* webui);
27 ~AccessibilityHandler() override; 27 ~AccessibilityHandler() override;
28 28
29 // SettingsPageUIHandler implementation. 29 // SettingsPageUIHandler implementation.
30 void RegisterMessages() override; 30 void RegisterMessages() override;
31 void OnJavascriptAllowed() override {} 31 void OnJavascriptAllowed() override {}
32 void OnJavascriptDisallowed() override {} 32 void OnJavascriptDisallowed() override {}
33 33
34 private: 34 private:
35 // Callback for the "showChromeVoxSettings" message. 35 // Callback for the messages to show settings for ChromeVox,
36 // Select To Speak, or Switch Access.
36 void HandleShowChromeVoxSettings(const base::ListValue* args); 37 void HandleShowChromeVoxSettings(const base::ListValue* args);
38 void HandleShowSelectToSpeakSettings(const base::ListValue* args);
39 void HandleShowSwitchAccessSettings(const base::ListValue* args);
40
41 void OpenExtensionOptionsPage(const char extension_id[]);
37 42
38 Profile* profile_; // Weak pointer. 43 Profile* profile_; // Weak pointer.
39 44
40 DISALLOW_COPY_AND_ASSIGN(AccessibilityHandler); 45 DISALLOW_COPY_AND_ASSIGN(AccessibilityHandler);
41 }; 46 };
42 47
43 } // namespace settings 48 } // namespace settings
44 } // namespace chromeos 49 } // namespace chromeos
45 50
46 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_ 51 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCESSIBILITY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698