| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 Polymer element for displaying material design for ARC Terms Of | 6 * @fileoverview Polymer element for displaying material design for ARC Terms Of |
| 7 * Service screen. | 7 * Service screen. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 Polymer({ | 10 Polymer({ |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 */ | 33 */ |
| 34 getElement: function(id) { | 34 getElement: function(id) { |
| 35 return this.$[id]; | 35 return this.$[id]; |
| 36 }, | 36 }, |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * On-tap event handler for Accept button. | 39 * On-tap event handler for Accept button. |
| 40 * | 40 * |
| 41 * @private | 41 * @private |
| 42 */ | 42 */ |
| 43 onAccept_ : function() { | 43 onAccept_: function() { |
| 44 this.screen.onAccept(); | 44 this.screen.onAccept(); |
| 45 }, | 45 }, |
| 46 | 46 |
| 47 /** | 47 /** |
| 48 * On-tap event handler for Retry button. | 48 * On-tap event handler for Retry button. |
| 49 * | 49 * |
| 50 * @private | 50 * @private |
| 51 */ | 51 */ |
| 52 onRetry_ : function() { | 52 onRetry_: function() { |
| 53 this.screen.reloadPlayStore(); | 53 this.screen.reloadPlayStore(); |
| 54 }, | 54 }, |
| 55 | 55 |
| 56 /** | 56 /** |
| 57 * On-tap event handler for Skip button. | 57 * On-tap event handler for Skip button. |
| 58 * | 58 * |
| 59 * @private | 59 * @private |
| 60 */ | 60 */ |
| 61 onSkip_ : function() { | 61 onSkip_: function() { |
| 62 this.screen.onSkip(); | 62 this.screen.onSkip(); |
| 63 } | 63 } |
| 64 }); | 64 }); |
| OLD | NEW |