OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 /** | 5 /** |
6 * @fileoverview Oobe Arc Terms of Service screen implementation. | 6 * @fileoverview Oobe ARC Terms of Service screen implementation. |
7 */ | 7 */ |
8 | 8 |
9 login.createScreen('ArcTermsOfServiceScreen', 'arc-tos', | 9 login.createScreen('ArcTermsOfServiceScreen', 'arc-tos', |
10 function() { return { | 10 function() { return { |
11 EXTERNAL_API: [ | 11 EXTERNAL_API: [ |
12 'setMetricsMode', | 12 'setMetricsMode', |
13 'setBackupAndRestoreMode', | 13 'setBackupAndRestoreMode', |
14 'setLocationServicesMode', | 14 'setLocationServicesMode', |
15 'setCountryCode' | 15 'setCountryCode' |
16 ], | 16 ], |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 loadTimeData.getString('arcLearnMoreLocationService'); | 435 loadTimeData.getString('arcLearnMoreLocationService'); |
436 var locationService = this.getElement_('arc-enable-location-service'); | 436 var locationService = this.getElement_('arc-enable-location-service'); |
437 locationService.parentElement.querySelector( | 437 locationService.parentElement.querySelector( |
438 '#learn-more-link-location-service').onclick = function(event) { | 438 '#learn-more-link-location-service').onclick = function(event) { |
439 event.stopPropagation(); | 439 event.stopPropagation(); |
440 self.showLearnMoreOverlay(leanMoreLocationServiceText); | 440 self.showLearnMoreOverlay(leanMoreLocationServiceText); |
441 }; | 441 }; |
442 } | 442 } |
443 }; | 443 }; |
444 }); | 444 }); |
OLD | NEW |