| 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-collapsible.html"> | 5 <link rel="import" href="../common/cr-collapsible.html"> |
| 6 <link rel="import" href="cr-issue-patchset.html"> | 6 <link rel="import" href="cr-issue-patchset.html"> |
| 7 <link rel="import" href="cr-patchset-header.html"> | 7 <link rel="import" href="cr-patchset-header.html"> |
| 8 | 8 |
| 9 <polymer-element name="cr-issue-patchsets" attributes="patchsets"> | 9 <polymer-element name="cr-issue-patchsets" attributes="patchsets"> |
| 10 <template> | 10 <template> |
| 11 <style> | 11 <style> |
| 12 :host { display: block; } | 12 :host { display: block; } |
| 13 | 13 |
| 14 .patchset { | 14 .patchset { |
| 15 border-color: #dcdcdc; | 15 border-color: #dcdcdc; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 if (!last) | 99 if (!last) |
| 100 return; | 100 return; |
| 101 last.active = true; | 101 last.active = true; |
| 102 last.querySelector("cr-issue-patchset").expandAllDiffs().then(fu
nction() { | 102 last.querySelector("cr-issue-patchset").expandAllDiffs().then(fu
nction() { |
| 103 last.scrollIntoView(true); | 103 last.scrollIntoView(true); |
| 104 }); | 104 }); |
| 105 }, | 105 }, |
| 106 }); | 106 }); |
| 107 </script> | 107 </script> |
| 108 </polymer-element> | 108 </polymer-element> |
| OLD | NEW |