Chromium Code Reviews| 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/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 275 void HandleOpenWallpaperManager(const base::ListValue* args); | 275 void HandleOpenWallpaperManager(const base::ListValue* args); |
| 276 | 276 |
| 277 // Called when the accessibility checkbox values are changed. | 277 // Called when the accessibility checkbox values are changed. |
| 278 // |args| will contain the checkbox checked state as a string | 278 // |args| will contain the checkbox checked state as a string |
| 279 // ("true" or "false"). | 279 // ("true" or "false"). |
| 280 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 280 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
| 281 | 281 |
| 282 // Called when the user confirmed factory reset. Chrome will | 282 // Called when the user confirmed factory reset. Chrome will |
| 283 // initiate asynchronous file operation and then log out. | 283 // initiate asynchronous file operation and then log out. |
| 284 void PerformFactoryResetRestart(const base::ListValue* args); | 284 void PerformFactoryResetRestart(const base::ListValue* args); |
| 285 | |
| 286 // Called when the consumer management enroll button is clicked. | |
| 287 void EnrollConsumerManagement(const base::ListValue* args); | |
|
Dan Beam
2014/04/16 23:22:03
nit: HandleEnrollConsumerManagement
davidyu
2014/04/17 01:14:55
Done.
| |
| 285 #endif | 288 #endif |
| 286 | 289 |
| 287 // Setup the visibility for the metrics reporting setting. | 290 // Setup the visibility for the metrics reporting setting. |
| 288 void SetupMetricsReportingSettingVisibility(); | 291 void SetupMetricsReportingSettingVisibility(); |
| 289 | 292 |
| 290 // Setup the font size selector control. | 293 // Setup the font size selector control. |
| 291 void SetupFontSizeSelector(); | 294 void SetupFontSizeSelector(); |
| 292 | 295 |
| 293 // Setup the page zoom selector control. | 296 // Setup the page zoom selector control. |
| 294 void SetupPageZoomSelector(); | 297 void SetupPageZoomSelector(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 348 | 351 |
| 349 // Used to get WeakPtr to self for use on the UI thread. | 352 // Used to get WeakPtr to self for use on the UI thread. |
| 350 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 353 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 351 | 354 |
| 352 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 355 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 353 }; | 356 }; |
| 354 | 357 |
| 355 } // namespace options | 358 } // namespace options |
| 356 | 359 |
| 357 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 360 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |