| 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="../common/cr-action.html"> |
| 5 <link rel="import" href="cr-patchset-edit-dialog.html"> | 6 <link rel="import" href="cr-patchset-edit-dialog.html"> |
| 6 | 7 |
| 7 <polymer-element name="cr-patchset-header" attributes="patchset"> | 8 <polymer-element name="cr-patchset-header" attributes="patchset"> |
| 8 <template> | 9 <template> |
| 9 <style> | 10 <style> |
| 10 :host { | 11 :host { |
| 11 display: block; | 12 display: block; |
| 12 background: #F6F6F6; | 13 background: #F6F6F6; |
| 13 border-bottom: 1px solid #ebebeb; | 14 border-bottom: 1px solid #ebebeb; |
| 14 display: -webkit-flex; | 15 display: -webkit-flex; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 dialog.patchset = this.patchset; | 78 dialog.patchset = this.patchset; |
| 78 dialog.addEventListener("close", function() { | 79 dialog.addEventListener("close", function() { |
| 79 dialog.remove(); | 80 dialog.remove(); |
| 80 }); | 81 }); |
| 81 this.$.dialogs.appendChild(dialog); | 82 this.$.dialogs.appendChild(dialog); |
| 82 dialog.showModal(); | 83 dialog.showModal(); |
| 83 }, | 84 }, |
| 84 }); | 85 }); |
| 85 </script> | 86 </script> |
| 86 </polymer-element> | 87 </polymer-element> |
| OLD | NEW |