| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 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 <link rel="import" href="cr-butterbar.html"> | 5 <link rel="import" href="../common/cr-butterbar.html"> |
| 6 <link rel="import" href="cr-button.html"> | 6 <link rel="import" href="../common/cr-button.html"> |
| 7 <link rel="import" href="cr-dialog.html"> | 7 <link rel="import" href="../common/cr-dialog.html"> |
| 8 <link rel="import" href="cr-toolbar.html"> | 8 <link rel="import" href="../common/cr-toolbar.html"> |
| 9 | 9 |
| 10 <polymer-element name="cr-patchset-edit-dialog" attributes="patchset"> | 10 <polymer-element name="cr-patchset-edit-dialog" attributes="patchset"> |
| 11 <template> | 11 <template> |
| 12 <link rel="stylesheet" href="common.css"> | 12 <link rel="stylesheet" href="../common/common.css"> |
| 13 <link rel="stylesheet" href="forms.css"> | 13 <link rel="stylesheet" href="../common/forms.css"> |
| 14 | 14 |
| 15 <style> | 15 <style> |
| 16 img { | 16 img { |
| 17 display: block; | 17 display: block; |
| 18 } | 18 } |
| 19 | 19 |
| 20 .delete-action { | 20 .delete-action { |
| 21 flex: 1; | 21 flex: 1; |
| 22 display: -webkit-flex; | 22 display: -webkit-flex; |
| 23 display: flex; | 23 display: flex; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 }, | 140 }, |
| 141 showModal: function() { | 141 showModal: function() { |
| 142 if (!this.patchset) | 142 if (!this.patchset) |
| 143 return; | 143 return; |
| 144 this.reset(); | 144 this.reset(); |
| 145 this.$.dialog.showModal(); | 145 this.$.dialog.showModal(); |
| 146 }, | 146 }, |
| 147 }); | 147 }); |
| 148 </script> | 148 </script> |
| 149 </polymer-element> | 149 </polymer-element> |
| OLD | NEW |