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

Unified Diff: tracing/tracing/results2_template.html

Issue 1964663003: [telemetry] Add Html2OutputFormatter for generating results2.html (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: comments Created 4 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/metrics/value_set.html ('k') | tracing/tracing/ui/value_set_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/results2_template.html
diff --git a/tracing/tracing/results2_template.html b/tracing/tracing/results2_template.html
new file mode 100644
index 0000000000000000000000000000000000000000..8c84586e1057005737a3ca6eb1ab9611c05dea51
--- /dev/null
+++ b/tracing/tracing/results2_template.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<!--
+Copyright 2016 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<link rel="import" href="/tracing/metrics/value_set.html">
+<link rel="import" href="/tracing/ui/value_set_view.html">
+
+<tr-ui-value-set-view id="values"></tr-ui-value-set-view>
+
+<script>
+'use strict';
+
+window.values = new tr.metrics.ValueSet();
+
+document.addEventListener('DOMContentLoaded', function() {
+ var valueSetView = document.getElementById('values');
+ valueSetView.values = window.values;
+});
+</script>
+<!--
+Html2OutputFormatter will append script tags that import ValueSets into
+window.values.
+-->
« no previous file with comments | « tracing/tracing/metrics/value_set.html ('k') | tracing/tracing/ui/value_set_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698