| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/ui/base/deep_utils.html"> | 8 <link rel="import" href="/tracing/ui/base/deep_utils.html"> |
| 9 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html"> | 9 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html"> |
| 10 <link rel="import" href="/tracing/value/ui/composition_span.html"> |
| 10 <link rel="import" href="/tracing/value/ui/generic_diagnostic_span.html"> | 11 <link rel="import" href="/tracing/value/ui/generic_diagnostic_span.html"> |
| 12 <link rel="import" href="/tracing/value/ui/iteration_info_span.html"> |
| 11 <link rel="import" href="/tracing/value/ui/related_event_set_span.html"> | 13 <link rel="import" href="/tracing/value/ui/related_event_set_span.html"> |
| 12 <link rel="import" href="/tracing/value/ui/related_value_map_span.html"> | 14 <link rel="import" href="/tracing/value/ui/related_value_map_span.html"> |
| 13 <link rel="import" href="/tracing/value/ui/related_value_set_span.html"> | 15 <link rel="import" href="/tracing/value/ui/related_value_set_span.html"> |
| 14 | 16 |
| 15 <script> | 17 <script> |
| 16 'use strict'; | 18 'use strict'; |
| 17 tr.exportTo('tr.v.ui', function() { | 19 tr.exportTo('tr.v.ui', function() { |
| 18 /** | 20 /** |
| 19 * Find the name of a polymer element registered to display |diagnostic| | 21 * Find the name of a polymer element registered to display |diagnostic| |
| 20 * or one of its base classes. | 22 * or one of its base classes. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 var span = document.createElement(tagName); | 60 var span = document.createElement(tagName); |
| 59 span.diagnostic = diagnostic; | 61 span.diagnostic = diagnostic; |
| 60 return span; | 62 return span; |
| 61 } | 63 } |
| 62 | 64 |
| 63 return { | 65 return { |
| 64 createDiagnosticSpan: createDiagnosticSpan | 66 createDiagnosticSpan: createDiagnosticSpan |
| 65 }; | 67 }; |
| 66 }); | 68 }); |
| 67 </script> | 69 </script> |
| OLD | NEW |