| 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 cr.define('extensions', function() { | 5 cr.define('extensions', function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 /** @interface */ | 8 /** @interface */ |
| 9 function PackDialogDelegate() {} | 9 function PackDialogDelegate() {} |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 }.bind(this)); | 68 }.bind(this)); |
| 69 }, | 69 }, |
| 70 | 70 |
| 71 /** @private */ | 71 /** @private */ |
| 72 onConfirmTap_: function() { | 72 onConfirmTap_: function() { |
| 73 this.delegate.packExtension(this.packDirectory_, this.keyFile_); | 73 this.delegate.packExtension(this.packDirectory_, this.keyFile_); |
| 74 this.close(); | 74 this.close(); |
| 75 }, | 75 }, |
| 76 }); | 76 }); |
| 77 | 77 |
| 78 return {PackDialog: PackDialog, | 78 return {PackDialog: PackDialog, PackDialogDelegate: PackDialogDelegate}; |
| 79 PackDialogDelegate: PackDialogDelegate}; | |
| 80 }); | 79 }); |
| OLD | NEW |