| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> | 7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> |
| 8 <link rel="import" href="../model/ct-commit-log.html"> | 8 <link rel="import" href="../model/ct-commit-log.html"> |
| 9 <link rel="import" href="../model/tree-status.html"> | 9 <link rel="import" href="../model/tree-status.html"> |
| 10 <link rel="import" href="ct-failure-analyzer.html"> | 10 <link rel="import" href="ct-failure-analyzer.html"> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 } | 38 } |
| 39 </style> | 39 </style> |
| 40 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe
visions="{{ builderLatestRevisions }}" lastUpdateDate="{{ lastUpdateDate }}"></c
t-failure-analyzer> | 40 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe
visions="{{ builderLatestRevisions }}" lastUpdateDate="{{ lastUpdateDate }}"></c
t-failure-analyzer> |
| 41 <div class="toolbar"> | 41 <div class="toolbar"> |
| 42 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ build
erLatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-rev
ision-details> | 42 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ build
erLatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-rev
ision-details> |
| 43 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</
a> | 43 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</
a> |
| 44 </div> | 44 </div> |
| 45 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> | 45 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> |
| 46 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> | 46 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> |
| 47 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> | 47 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> |
| 48 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}"
tree="{{ tree }}"></ct-failure-stream> | 48 <ct-failure-stream category="default" groups="{{ failures[tree] }}" commits=
"{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> |
| 49 <ct-failure-stream category="snoozed" groups="{{ failures[tree] }}" commits=
"{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> |
| 49 </template> | 50 </template> |
| 50 <script> | 51 <script> |
| 51 (function() { | 52 (function() { |
| 52 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4
01358. | 53 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4
01358. |
| 53 var kUpdateFrequency = 1000 * 30 * 10; | 54 var kUpdateFrequency = 1000 * 30 * 10; |
| 54 | 55 |
| 55 Polymer({ | 56 Polymer({ |
| 56 revisionLog: new CTCommitLog(), | 57 revisionLog: new CTCommitLog(), |
| 57 tree: '', | 58 tree: '', |
| 58 | 59 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 75 this.revisionLog.update(); | 76 this.revisionLog.update(); |
| 76 this.$.analyzer.update(); | 77 this.$.analyzer.update(); |
| 77 Object.keys(this.treeStatuses, function(tree, status) { | 78 Object.keys(this.treeStatuses, function(tree, status) { |
| 78 status.update(); | 79 status.update(); |
| 79 }); | 80 }); |
| 80 }, | 81 }, |
| 81 }); | 82 }); |
| 82 })(); | 83 })(); |
| 83 </script> | 84 </script> |
| 84 </polymer-element> | 85 </polymer-element> |
| OLD | NEW |