| 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 cr.exportPath('options'); | 5 cr.exportPath('options'); |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @typedef {{actionLinkText: (string|undefined), | 8 * @typedef {{actionLinkText: (string|undefined), |
| 9 * accountInfo: (string|undefined), | 9 * accountInfo: (string|undefined), |
| 10 * childUser: (boolean|undefined), | 10 * childUser: (boolean|undefined), |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 /** | 43 /** |
| 44 * Device policy SystemTimezoneAutomaticDetection values. | 44 * Device policy SystemTimezoneAutomaticDetection values. |
| 45 * @enum {number} | 45 * @enum {number} |
| 46 * @const | 46 * @const |
| 47 */ | 47 */ |
| 48 options.AutomaticTimezoneDetectionType = { | 48 options.AutomaticTimezoneDetectionType = { |
| 49 USERS_DECIDE: 0, | 49 USERS_DECIDE: 0, |
| 50 DISABLED: 1, | 50 DISABLED: 1, |
| 51 IP_ONLY: 2, | 51 IP_ONLY: 2, |
| 52 SEND_WIFI_ACCESS_POINTS: 3, | 52 SEND_WIFI_ACCESS_POINTS: 3, |
| 53 SEND_ALL_LOCATION_INFO: 4, |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 cr.define('options', function() { | 56 cr.define('options', function() { |
| 56 var OptionsPage = options.OptionsPage; | 57 var OptionsPage = options.OptionsPage; |
| 57 var Page = cr.ui.pageManager.Page; | 58 var Page = cr.ui.pageManager.Page; |
| 58 var PageManager = cr.ui.pageManager.PageManager; | 59 var PageManager = cr.ui.pageManager.PageManager; |
| 59 var ArrayDataModel = cr.ui.ArrayDataModel; | 60 var ArrayDataModel = cr.ui.ArrayDataModel; |
| 60 var RepeatingButton = cr.ui.RepeatingButton; | 61 var RepeatingButton = cr.ui.RepeatingButton; |
| 61 var HotwordSearchSettingIndicator = options.HotwordSearchSettingIndicator; | 62 var HotwordSearchSettingIndicator = options.HotwordSearchSettingIndicator; |
| 62 var NetworkPredictionOptions = { | 63 var NetworkPredictionOptions = { |
| (...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2471 | 2472 |
| 2472 settings.hidden = !isVisible; | 2473 settings.hidden = !isVisible; |
| 2473 }; | 2474 }; |
| 2474 } | 2475 } |
| 2475 | 2476 |
| 2476 // Export | 2477 // Export |
| 2477 return { | 2478 return { |
| 2478 BrowserOptions: BrowserOptions | 2479 BrowserOptions: BrowserOptions |
| 2479 }; | 2480 }; |
| 2480 }); | 2481 }); |
| OLD | NEW |