Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: tracing/tracing/value/ui/diagnostic_span.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: manual fixes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/breakdown_span.html"> 10 <link rel="import" href="/tracing/value/ui/breakdown_span.html">
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 * @return {Element} 57 * @return {Element}
58 */ 58 */
59 function createDiagnosticSpan(diagnostic) { 59 function createDiagnosticSpan(diagnostic) {
60 var tagName = findElementNameForDiagnostic(diagnostic); 60 var tagName = findElementNameForDiagnostic(diagnostic);
61 var span = document.createElement(tagName); 61 var span = document.createElement(tagName);
62 span.diagnostic = diagnostic; 62 span.diagnostic = diagnostic;
63 return span; 63 return span;
64 } 64 }
65 65
66 return { 66 return {
67 createDiagnosticSpan: createDiagnosticSpan 67 createDiagnosticSpan,
68 }; 68 };
69 }); 69 });
70 </script> 70 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/ui/array_of_numbers_span.html ('k') | tracing/tracing/value/ui/generic_table_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698