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

Side by Side Diff: tracing/tracing/results2_template.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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 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/value/ui/value_set_table.html"> 8 <link rel="import" href="/tracing/value/ui/all_value_set_views.html">
9 <link rel="import" href="/tracing/value/ui/value_set_view.html">
10 <link rel="import" href="/tracing/value/value_set.html"> 9 <link rel="import" href="/tracing/value/value_set.html">
11 10
12 <style> 11 <style>
13 #value-set-json { 12 #value-set-json {
14 display: none; 13 display: none;
15 } 14 }
16 </style> 15 </style>
17 16
18 <script> 17 <script>
19 'use strict'; 18 'use strict';
20 document.addEventListener('DOMContentLoaded', function() { 19 document.addEventListener('DOMContentLoaded', function() {
21 var valueSetJson = document.getElementById('value-set-json'); 20 var valueSetJson = document.getElementById('value-set-json');
22 var values = new tr.v.ValueSet(); 21 var values = new tr.v.ValueSet();
23 values.addValuesFromDicts(JSON.parse(valueSetJson.textContent)); 22 values.addValuesFromDicts(JSON.parse(valueSetJson.textContent));
24 valueSetJson.parentNode.removeChild(valueSetJson); 23 valueSetJson.parentNode.removeChild(valueSetJson);
25 document.getElementById('values').values = values; 24 document.getElementById('values').values = values;
26 }); 25 });
27 </script> 26 </script>
28 27
29 <tr-v-ui-value-set-view id="values"></tr-v-ui-value-set-view> 28 <tr-v-ui-value-set-view id="values"></tr-v-ui-value-set-view>
30 29
31 <div id="value-set-json"></div> 30 <div id="value-set-json"></div>
OLDNEW
« no previous file with comments | « tracing/tracing/model/user_model/user_model.html ('k') | tracing/tracing/ui/analysis/analysis_link.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698