| 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-action.html"> | 5 <link rel="import" href="../common/cr-action.html"> |
| 6 <link rel="import" href="cr-button.html"> | 6 <link rel="import" href="../common/cr-button.html"> |
| 7 <link rel="import" href="cr-toolbar.html"> | 7 <link rel="import" href="../common/cr-toolbar.html"> |
| 8 <link rel="import" href="cr-keyboard.html"> | 8 <link rel="import" href="../common/cr-keyboard.html"> |
| 9 <link rel="import" href="../linkify/cr-linkified-text.html"> | 9 <link rel="import" href="../linkify/cr-linkified-text.html"> |
| 10 | 10 |
| 11 <polymer-element name="cr-patch-file-message" attributes="message expanded"> | 11 <polymer-element name="cr-patch-file-message" attributes="message expanded"> |
| 12 <template> | 12 <template> |
| 13 <link rel="stylesheet" href="common.css"> | 13 <link rel="stylesheet" href="../common/common.css"> |
| 14 <style> | 14 <style> |
| 15 :host { | 15 :host { |
| 16 display: block; | 16 display: block; |
| 17 } | 17 } |
| 18 | 18 |
| 19 .message-edit { | 19 .message-edit { |
| 20 margin: 0.5em 16px 0 16px; | 20 margin: 0.5em 16px 0 16px; |
| 21 } | 21 } |
| 22 | 22 |
| 23 .message-text { | 23 .message-text { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 }, | 156 }, |
| 157 handleCancelKey: function(event) { | 157 handleCancelKey: function(event) { |
| 158 if (!this.shadowRoot.querySelector("* /deep/ :focus")) | 158 if (!this.shadowRoot.querySelector("* /deep/ :focus")) |
| 159 return; | 159 return; |
| 160 event.preventDefault(); | 160 event.preventDefault(); |
| 161 this.cancel(); | 161 this.cancel(); |
| 162 }, | 162 }, |
| 163 }); | 163 }); |
| 164 </script> | 164 </script> |
| 165 </polymer-element> | 165 </polymer-element> |
| OLD | NEW |