| 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_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 // Callback for the "Continue running background apps..." checkbox. | 244 // Callback for the "Continue running background apps..." checkbox. |
| 245 void HandleBackgroundModeCheckbox(const ListValue* args); | 245 void HandleBackgroundModeCheckbox(const ListValue* args); |
| 246 #endif | 246 #endif |
| 247 | 247 |
| 248 // Setup the checked state for the metrics reporting checkbox. | 248 // Setup the checked state for the metrics reporting checkbox. |
| 249 void SetupMetricsReportingCheckbox(); | 249 void SetupMetricsReportingCheckbox(); |
| 250 | 250 |
| 251 // Setup the visibility for the metrics reporting setting. | 251 // Setup the visibility for the metrics reporting setting. |
| 252 void SetupMetricsReportingSettingVisibility(); | 252 void SetupMetricsReportingSettingVisibility(); |
| 253 | 253 |
| 254 // Setup the visibility for the password generation setting. |
| 255 void SetupPasswordGenerationSettingVisibility(); |
| 256 |
| 254 // Setup the font size selector control. | 257 // Setup the font size selector control. |
| 255 void SetupFontSizeSelector(); | 258 void SetupFontSizeSelector(); |
| 256 | 259 |
| 257 // Setup the page zoom selector control. | 260 // Setup the page zoom selector control. |
| 258 void SetupPageZoomSelector(); | 261 void SetupPageZoomSelector(); |
| 259 | 262 |
| 260 // Setup the visibility of the reset button. | 263 // Setup the visibility of the reset button. |
| 261 void SetupAutoOpenFileTypes(); | 264 void SetupAutoOpenFileTypes(); |
| 262 | 265 |
| 263 // Setup the proxy settings section UI. | 266 // Setup the proxy settings section UI. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 #if !defined(OS_CHROMEOS) | 317 #if !defined(OS_CHROMEOS) |
| 315 scoped_ptr<PrefSetObserver> proxy_prefs_; | 318 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 316 #endif // !defined(OS_CHROMEOS) | 319 #endif // !defined(OS_CHROMEOS) |
| 317 | 320 |
| 318 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 321 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 319 }; | 322 }; |
| 320 | 323 |
| 321 } // namespace options2 | 324 } // namespace options2 |
| 322 | 325 |
| 323 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 326 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
| OLD | NEW |