OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 void InitDemoModeDetection() override; | 95 void InitDemoModeDetection() override; |
96 void StopDemoModeDetection() override; | 96 void StopDemoModeDetection() override; |
97 | 97 |
98 // Handlers for JS WebUI messages. | 98 // Handlers for JS WebUI messages. |
99 void HandleEnableLargeCursor(bool enabled); | 99 void HandleEnableLargeCursor(bool enabled); |
100 void HandleEnableHighContrast(bool enabled); | 100 void HandleEnableHighContrast(bool enabled); |
101 void HandleEnableVirtualKeyboard(bool enabled); | 101 void HandleEnableVirtualKeyboard(bool enabled); |
102 void HandleEnableScreenMagnifier(bool enabled); | 102 void HandleEnableScreenMagnifier(bool enabled); |
103 void HandleEnableSpokenFeedback(bool /* enabled */); | 103 void HandleEnableSpokenFeedback(bool /* enabled */); |
| 104 void HandleEnableMonoAudio(bool enabled); |
104 void HandleInitialized(); | 105 void HandleInitialized(); |
105 void HandleSkipUpdateEnrollAfterEula(); | 106 void HandleSkipUpdateEnrollAfterEula(); |
106 void HandleUpdateCurrentScreen(const std::string& screen); | 107 void HandleUpdateCurrentScreen(const std::string& screen); |
107 void HandleSetDeviceRequisition(const std::string& requisition); | 108 void HandleSetDeviceRequisition(const std::string& requisition); |
108 void HandleScreenAssetsLoaded(const std::string& screen_async_load_id); | 109 void HandleScreenAssetsLoaded(const std::string& screen_async_load_id); |
109 void HandleSkipToLoginForTesting(const base::ListValue* args); | 110 void HandleSkipToLoginForTesting(const base::ListValue* args); |
110 void HandleLaunchHelpApp(double help_topic_id); | 111 void HandleLaunchHelpApp(double help_topic_id); |
111 void HandleToggleResetScreen(); | 112 void HandleToggleResetScreen(); |
112 void HandleEnableDebuggingScreen(); | 113 void HandleEnableDebuggingScreen(); |
113 void HandleHeaderBarVisible(); | 114 void HandleHeaderBarVisible(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; | 152 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
152 | 153 |
153 DemoModeDetector demo_mode_detector_; | 154 DemoModeDetector demo_mode_detector_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(CoreOobeHandler); | 156 DISALLOW_COPY_AND_ASSIGN(CoreOobeHandler); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace chromeos | 159 } // namespace chromeos |
159 | 160 |
160 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ | 161 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ |
OLD | NEW |