| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 291 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
| 292 | 292 |
| 293 // Called when the user confirmed factory reset. Chrome will | 293 // Called when the user confirmed factory reset. Chrome will |
| 294 // initiate asynchronous file operation and then log out. | 294 // initiate asynchronous file operation and then log out. |
| 295 void PerformFactoryResetRestart(const base::ListValue* args); | 295 void PerformFactoryResetRestart(const base::ListValue* args); |
| 296 #endif | 296 #endif |
| 297 | 297 |
| 298 // Setup the visibility for the metrics reporting setting. | 298 // Setup the visibility for the metrics reporting setting. |
| 299 void SetupMetricsReportingSettingVisibility(); | 299 void SetupMetricsReportingSettingVisibility(); |
| 300 | 300 |
| 301 // Migration from prefs::kNetworkPredictionEnabled to |
| 302 // prefs::kNetworkPredictionOptions has to happen in a platform-specific |
| 303 // component. |
| 304 void MigrateNetworkPredictionOptions(); |
| 305 |
| 306 // Update value of predictive network actions UI element. |
| 307 void SetupNetworkPredictionControl(); |
| 308 |
| 301 // Setup the font size selector control. | 309 // Setup the font size selector control. |
| 302 void SetupFontSizeSelector(); | 310 void SetupFontSizeSelector(); |
| 303 | 311 |
| 304 // Setup the page zoom selector control. | 312 // Setup the page zoom selector control. |
| 305 void SetupPageZoomSelector(); | 313 void SetupPageZoomSelector(); |
| 306 | 314 |
| 307 // Setup the visibility of the reset button. | 315 // Setup the visibility of the reset button. |
| 308 void SetupAutoOpenFileTypes(); | 316 void SetupAutoOpenFileTypes(); |
| 309 | 317 |
| 310 // Setup the proxy settings section UI. | 318 // Setup the proxy settings section UI. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 | 365 |
| 358 // Used to get WeakPtr to self for use on the UI thread. | 366 // Used to get WeakPtr to self for use on the UI thread. |
| 359 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 367 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 360 | 368 |
| 361 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 369 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 362 }; | 370 }; |
| 363 | 371 |
| 364 } // namespace options | 372 } // namespace options |
| 365 | 373 |
| 366 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 374 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |