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-collapsible.html"> | 6 <link rel="import" href="../common/cr-collapsible.html"> |
7 <link rel="import" href="cr-hash-observer.html"> | 7 <link rel="import" href="../common/cr-hash-observer.html"> |
8 <link rel="import" href="cr-issue-message.html"> | 8 <link rel="import" href="cr-issue-message.html"> |
9 | 9 |
10 <polymer-element name="cr-issue-messages" attributes="messages" on-message-show=
"{{ revealMessage }}"> | 10 <polymer-element name="cr-issue-messages" attributes="messages" on-message-show=
"{{ revealMessage }}"> |
11 <template> | 11 <template> |
12 <cr-hash-observer on-hash-changed="{{ hashChanged }}"></cr-hash-observer
> | 12 <cr-hash-observer on-hash-changed="{{ hashChanged }}"></cr-hash-observer
> |
13 <style> | 13 <style> |
14 :host { display: block; } | 14 :host { display: block; } |
15 | 15 |
16 .show-messages-toolbar { | 16 .show-messages-toolbar { |
17 margin: 0; | 17 margin: 0; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // until we expose some events. We could listen for on-transitio
nend | 159 // until we expose some events. We could listen for on-transitio
nend |
160 // but then expand/collapse all would make us do this for each i
tem. | 160 // but then expand/collapse all would make us do this for each i
tem. |
161 this.async(function() { | 161 this.async(function() { |
162 message.scrollIntoViewIfNeeded(); | 162 message.scrollIntoViewIfNeeded(); |
163 }, null, 350); | 163 }, null, 350); |
164 }, | 164 }, |
165 }); | 165 }); |
166 })(); | 166 })(); |
167 </script> | 167 </script> |
168 </polymer-element> | 168 </polymer-element> |
OLD | NEW |