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-toolbar.html"> | 6 <link rel="import" href="../common/cr-toolbar.html"> |
7 <link rel="import" href="cr-button.html"> | 7 <link rel="import" href="../common/cr-button.html"> |
8 | 8 |
9 <polymer-element name="cr-issue-message-reply" attributes="message expanded valu
e"> | 9 <polymer-element name="cr-issue-message-reply" attributes="message expanded valu
e"> |
10 <template> | 10 <template> |
11 <link rel="stylesheet" href="common.css"> | 11 <link rel="stylesheet" href="../common/common.css"> |
12 <style> | 12 <style> |
13 :host { | 13 :host { |
14 display: block; | 14 display: block; |
15 } | 15 } |
16 | 16 |
17 .reply-input { | 17 .reply-input { |
18 margin: 0.5em 16px 0 16px; | 18 margin: 0.5em 16px 0 16px; |
19 } | 19 } |
20 | 20 |
21 :host-context(.no-login) cr-toolbar { | 21 :host-context(.no-login) cr-toolbar { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 if (this.message) | 68 if (this.message) |
69 this.value = emailQuote(this.message.text, this.message.author.n
ame, this.message.date); | 69 this.value = emailQuote(this.message.text, this.message.author.n
ame, this.message.date); |
70 this.async(function() { | 70 this.async(function() { |
71 // Need to scroll at raf time to make sure the text area is fill
ed in. | 71 // Need to scroll at raf time to make sure the text area is fill
ed in. |
72 textarea.scrollTop = textarea.scrollHeight; | 72 textarea.scrollTop = textarea.scrollHeight; |
73 }); | 73 }); |
74 }, | 74 }, |
75 }); | 75 }); |
76 </script> | 76 </script> |
77 </polymer-element> | 77 </polymer-element> |
OLD | NEW |