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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 // Setup the UI specific to managing supervised users. | 319 // Setup the UI specific to managing supervised users. |
320 void SetupManagingSupervisedUsers(); | 320 void SetupManagingSupervisedUsers(); |
321 | 321 |
322 // Setup the UI for Easy Unlock. | 322 // Setup the UI for Easy Unlock. |
323 void SetupEasyUnlock(); | 323 void SetupEasyUnlock(); |
324 | 324 |
325 // Setup the UI for showing which settings are extension controlled. | 325 // Setup the UI for showing which settings are extension controlled. |
326 void SetupExtensionControlledIndicators(); | 326 void SetupExtensionControlledIndicators(); |
327 | 327 |
| 328 // Setup the value and the disabled property for metrics reporting. |
| 329 void SetupMetricsReportingCheckbox(); |
| 330 |
328 #if defined(OS_CHROMEOS) | 331 #if defined(OS_CHROMEOS) |
329 // Setup the accessibility features for ChromeOS. | 332 // Setup the accessibility features for ChromeOS. |
330 void SetupAccessibilityFeatures(); | 333 void SetupAccessibilityFeatures(); |
331 #endif | 334 #endif |
332 | 335 |
333 // Returns a newly created dictionary with a number of properties that | 336 // Returns a newly created dictionary with a number of properties that |
334 // correspond to the status of sync. | 337 // correspond to the status of sync. |
335 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); | 338 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); |
336 | 339 |
337 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; | 340 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; |
(...skipping 22 matching lines...) Expand all Loading... |
360 | 363 |
361 // Used to get WeakPtr to self for use on the UI thread. | 364 // Used to get WeakPtr to self for use on the UI thread. |
362 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 365 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
363 | 366 |
364 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 367 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
365 }; | 368 }; |
366 | 369 |
367 } // namespace options | 370 } // namespace options |
368 | 371 |
369 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 372 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |