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 // Update value of predictive network actions UI element. |
| 302 void SetupNetworkPredictionControl(); |
| 303 |
301 // Setup the font size selector control. | 304 // Setup the font size selector control. |
302 void SetupFontSizeSelector(); | 305 void SetupFontSizeSelector(); |
303 | 306 |
304 // Setup the page zoom selector control. | 307 // Setup the page zoom selector control. |
305 void SetupPageZoomSelector(); | 308 void SetupPageZoomSelector(); |
306 | 309 |
307 // Setup the visibility of the reset button. | 310 // Setup the visibility of the reset button. |
308 void SetupAutoOpenFileTypes(); | 311 void SetupAutoOpenFileTypes(); |
309 | 312 |
310 // Setup the proxy settings section UI. | 313 // Setup the proxy settings section UI. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 | 360 |
358 // Used to get WeakPtr to self for use on the UI thread. | 361 // Used to get WeakPtr to self for use on the UI thread. |
359 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 362 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
360 | 363 |
361 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 364 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
362 }; | 365 }; |
363 | 366 |
364 } // namespace options | 367 } // namespace options |
365 | 368 |
366 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 369 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |