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 * childUser: (boolean|undefined), | 9 * childUser: (boolean|undefined), |
10 * hasError: (boolean|undefined), | 10 * hasError: (boolean|undefined), |
(...skipping 2306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2317 break; | 2317 break; |
2318 case ConsumerManagementOverlay.Status.STATUS_UNENROLLING: | 2318 case ConsumerManagementOverlay.Status.STATUS_UNENROLLING: |
2319 strId = 'consumerManagementUnenrollingButton'; | 2319 strId = 'consumerManagementUnenrollingButton'; |
2320 button.disabled = true; | 2320 button.disabled = true; |
2321 break; | 2321 break; |
2322 } | 2322 } |
2323 button.textContent = loadTimeData.getString(strId); | 2323 button.textContent = loadTimeData.getString(strId); |
2324 }; | 2324 }; |
2325 | 2325 |
2326 /** | 2326 /** |
2327 * Hides Android Apps settings when they are not available (ChromeOS only). | 2327 * Hides Android Apps settings when they are not available. (ChromeOS only). |
bartfab (slow)
2016/03/02 14:45:40
Nit, while you are here: s/ChromeOS/Chrome OS/
Polina Bondarenko
2016/03/06 20:22:33
Done.
| |
2328 */ | 2328 */ |
2329 BrowserOptions.hideAndroidAppsSection = function() { | 2329 BrowserOptions.hideAndroidAppsSection = function() { |
2330 var section = $('andorid-apps-section'); | 2330 var section = $('android-apps-section'); |
2331 if (section) | 2331 if (section) |
2332 section.hidden = true; | 2332 section.hidden = true; |
2333 }; | 2333 }; |
2334 } | 2334 } |
2335 | 2335 |
2336 // Export | 2336 // Export |
2337 return { | 2337 return { |
2338 BrowserOptions: BrowserOptions | 2338 BrowserOptions: BrowserOptions |
2339 }; | 2339 }; |
2340 }); | 2340 }); |
OLD | NEW |