| 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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 void RemoveCloudPrintConnectorSection(); | 241 void RemoveCloudPrintConnectorSection(); |
| 242 #endif | 242 #endif |
| 243 | 243 |
| 244 #if defined(OS_CHROMEOS) | 244 #if defined(OS_CHROMEOS) |
| 245 // Opens the wallpaper manager component extension. | 245 // Opens the wallpaper manager component extension. |
| 246 void HandleOpenWallpaperManager(const base::ListValue* args); | 246 void HandleOpenWallpaperManager(const base::ListValue* args); |
| 247 | 247 |
| 248 // Called when the accessibility checkbox values are changed. | 248 // Called when the accessibility checkbox values are changed. |
| 249 // |args| will contain the checkbox checked state as a string | 249 // |args| will contain the checkbox checked state as a string |
| 250 // ("true" or "false"). | 250 // ("true" or "false"). |
| 251 void SpokenFeedbackChangeCallback(const base::ListValue* args); | |
| 252 void HighContrastChangeCallback(const base::ListValue* args); | |
| 253 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 251 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
| 254 | 252 |
| 255 // Called when the user confirmed factory reset. Chrome will | 253 // Called when the user confirmed factory reset. Chrome will |
| 256 // initiate asynchronous file operation and then log out. | 254 // initiate asynchronous file operation and then log out. |
| 257 void PerformFactoryResetRestart(const base::ListValue* args); | 255 void PerformFactoryResetRestart(const base::ListValue* args); |
| 258 #endif | 256 #endif |
| 259 | 257 |
| 260 // Setup the visibility for the metrics reporting setting. | 258 // Setup the visibility for the metrics reporting setting. |
| 261 void SetupMetricsReportingSettingVisibility(); | 259 void SetupMetricsReportingSettingVisibility(); |
| 262 | 260 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 DoublePrefMember default_zoom_level_; | 307 DoublePrefMember default_zoom_level_; |
| 310 | 308 |
| 311 PrefChangeRegistrar profile_pref_registrar_; | 309 PrefChangeRegistrar profile_pref_registrar_; |
| 312 | 310 |
| 313 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 311 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 314 }; | 312 }; |
| 315 | 313 |
| 316 } // namespace options | 314 } // namespace options |
| 317 | 315 |
| 318 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 316 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |