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

Side by Side Diff: tracing/tracing/ui/analysis/multi_sample_sub_view.html

Issue 2246173002: Move AnalysisSubView to tr.ui.analysis namespace (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 4 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 (c) 2013 The Chromium Authors. All rights reserved. 3 Copyright (c) 2013 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/base/multi_dimensional_view.html"> 8 <link rel="import" href="/tracing/base/multi_dimensional_view.html">
9 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> 9 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html">
10 <link rel="import" href="/tracing/ui/base/table.html"> 10 <link rel="import" href="/tracing/ui/base/table.html">
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 COMPILER: 'compiler', 48 COMPILER: 'compiler',
49 EXTERNAL: 'external', 49 EXTERNAL: 'external',
50 GC: 'gc', 50 GC: 'gc',
51 NATIVEV8: '[native v8]', 51 NATIVEV8: '[native v8]',
52 OTHER: 'other', 52 OTHER: 'other',
53 UNKNOWN: 'unknown' 53 UNKNOWN: 'unknown'
54 }; 54 };
55 55
56 Polymer({ 56 Polymer({
57 is: 'tr-ui-a-multi-sample-sub-view', 57 is: 'tr-ui-a-multi-sample-sub-view',
58 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 58 behaviors: [tr.ui.analysis.AnalysisSubView],
59 59
60 created: function() { 60 created: function() {
61 this.viewOption_ = undefined; 61 this.viewOption_ = undefined;
62 this.selection_ = undefined; 62 this.selection_ = undefined;
63 }, 63 },
64 64
65 ready: function() { 65 ready: function() {
66 var viewSelector = tr.ui.b.createSelector( 66 var viewSelector = tr.ui.b.createSelector(
67 this, 'viewOption', 'tracing.ui.analysis.multi_sample_sub_view', 67 this, 'viewOption', 'tracing.ui.analysis.multi_sample_sub_view',
68 MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW, 68 MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 }, 259 },
260 width: '60px', 260 width: '60px',
261 cmp: function(a, b) { 261 cmp: function(a, b) {
262 return a.values[0][field] - b.values[0][field]; 262 return a.values[0][field] - b.values[0][field];
263 } 263 }
264 }; 264 };
265 } 265 }
266 }); 266 });
267 })(); 267 })();
268 </script> 268 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698