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="../common/cr-toolbar.html"> |
6 <link rel="import" href="cr-issue-patchfile.html"> | 7 <link rel="import" href="cr-issue-patchfile.html"> |
7 <link rel="import" href="cr-toolbar.html"> | |
8 <link rel="import" href="cr-try-results.html"> | 8 <link rel="import" href="cr-try-results.html"> |
9 | 9 |
10 <polymer-element name="cr-issue-patchset" attributes="patchset mode"> | 10 <polymer-element name="cr-issue-patchset" attributes="patchset mode"> |
11 <template> | 11 <template> |
12 <link rel="stylesheet" href="common.css"> | 12 <link rel="stylesheet" href="../common/common.css"> |
13 <link rel="stylesheet" href="cr-issue-patchset.css"> | 13 <link rel="stylesheet" href="cr-issue-patchset.css"> |
14 <template if="{{ patchset.sourceFiles.length }}"> | 14 <template if="{{ patchset.sourceFiles.length }}"> |
15 <header> | 15 <header> |
16 <h2>Files</h2> | 16 <h2>Files</h2> |
17 <div class="ui-actions"> | 17 <div class="ui-actions"> |
18 <a is="cr-action" on-tap="{{ expandAllDiffs }}">Show diffs</
a> / | 18 <a is="cr-action" on-tap="{{ expandAllDiffs }}">Show diffs</
a> / |
19 <a is="cr-action" on-tap="{{ collapseAllDiffs }}">Hide diffs
</a> / | 19 <a is="cr-action" on-tap="{{ collapseAllDiffs }}">Hide diffs
</a> / |
20 <a href="/download/issue{{ patchset.issue.id }}_{{ patchset.
id }}.diff" target="_blank">Raw diff</a> | 20 <a href="/download/issue{{ patchset.issue.id }}_{{ patchset.
id }}.diff" target="_blank">Raw diff</a> |
21 <label class="side-by-side"> | 21 <label class="side-by-side"> |
22 <input type="checkbox" checked="{{ sideBySide }}"> | 22 <input type="checkbox" checked="{{ sideBySide }}"> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 return file.hideDiff(); | 93 return file.hideDiff(); |
94 })); | 94 })); |
95 }, | 95 }, |
96 handleAddMore: function() { | 96 handleAddMore: function() { |
97 this.fire("show-try-dialog"); | 97 this.fire("show-try-dialog"); |
98 }, | 98 }, |
99 }); | 99 }); |
100 })(); | 100 })(); |
101 </script> | 101 </script> |
102 </polymer-element> | 102 </polymer-element> |
OLD | NEW |