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 * hasError: (boolean|undefined), | 9 * hasError: (boolean|undefined), |
10 * hasUnrecoverableError: (boolean|undefined), | 10 * hasUnrecoverableError: (boolean|undefined), |
11 * managed: (boolean|undefined), | 11 * managed: (boolean|undefined), |
12 * setupCompleted: (boolean|undefined), | 12 * setupCompleted: (boolean|undefined), |
13 * setupInProgress: (boolean|undefined), | 13 * setupInProgress: (boolean|undefined), |
14 * signedIn: (boolean|undefined), | 14 * signedIn: (boolean|undefined), |
15 * signinAllowed: boolean, | 15 * signinAllowed: (boolean|undefined), |
16 * signoutAllowed: (boolean|undefined), | 16 * signoutAllowed: (boolean|undefined), |
17 * statusText: (string|undefined), | 17 * statusText: (string|undefined), |
18 * syncSystemEnabled: (boolean|undefined)}} | 18 * syncSystemEnabled: (boolean|undefined)}} |
19 * @see chrome/browser/ui/webui/options/browser_options_handler.cc | 19 * @see chrome/browser/ui/webui/options/browser_options_handler.cc |
20 */ | 20 */ |
21 options.SyncStatus; | 21 options.SyncStatus; |
22 | 22 |
23 /** | 23 /** |
24 * @typedef {{id: string, name: string}} | 24 * @typedef {{id: string, name: string}} |
25 */ | 25 */ |
(...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2066 } | 2066 } |
2067 button.textContent = loadTimeData.getString(strId); | 2067 button.textContent = loadTimeData.getString(strId); |
2068 }; | 2068 }; |
2069 } | 2069 } |
2070 | 2070 |
2071 // Export | 2071 // Export |
2072 return { | 2072 return { |
2073 BrowserOptions: BrowserOptions | 2073 BrowserOptions: BrowserOptions |
2074 }; | 2074 }; |
2075 }); | 2075 }); |
OLD | NEW |