| 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.define('print_preview', function() { | 5 cr.define('print_preview', function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Widget that renders a terms-of-service agreement for using the FedEx Office | 9 * Widget that renders a terms-of-service agreement for using the FedEx Office |
| 10 * print destination. | 10 * print destination. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 /** | 58 /** |
| 59 * Called when the agree checkbox is clicked. Dispatches a AGREE event. | 59 * Called when the agree checkbox is clicked. Dispatches a AGREE event. |
| 60 * @private | 60 * @private |
| 61 */ | 61 */ |
| 62 onAgreeCheckboxClick_: function() { | 62 onAgreeCheckboxClick_: function() { |
| 63 cr.dispatchSimpleEvent(this, FedexTos.EventType.AGREE); | 63 cr.dispatchSimpleEvent(this, FedexTos.EventType.AGREE); |
| 64 } | 64 } |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 // Export | 67 // Export |
| 68 return { | 68 return {FedexTos: FedexTos}; |
| 69 FedexTos: FedexTos | |
| 70 }; | |
| 71 }); | 69 }); |
| OLD | NEW |