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

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

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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/unit.html"> 8 <link rel="import" href="/tracing/base/unit.html">
9 <link rel="import" href="/tracing/model/event_set.html"> 9 <link rel="import" href="/tracing/model/event_set.html">
10 <link rel="import" href="/tracing/ui/analysis/analysis_link.html"> 10 <link rel="import" href="/tracing/ui/analysis/analysis_link.html">
(...skipping 29 matching lines...) Expand all
40 }, 40 },
41 41
42 get selection() { 42 get selection() {
43 return this.currentSelection_; 43 return this.currentSelection_;
44 }, 44 },
45 45
46 set selection(selection) { 46 set selection(selection) {
47 this.currentSelection_ = selection; 47 this.currentSelection_ = selection;
48 48
49 var objectEvents = tr.b.asArray(selection).sort( 49 var objectEvents = tr.b.asArray(selection).sort(
50 tr.b.Range.compareByMinTimes); 50 tr.b.math.Range.compareByMinTimes);
51 51
52 var timeSpanConfig = { 52 var timeSpanConfig = {
53 unit: tr.b.Unit.byName.timeStampInMs, 53 unit: tr.b.Unit.byName.timeStampInMs,
54 ownerDocument: this.ownerDocument 54 ownerDocument: this.ownerDocument
55 }; 55 };
56 var table = this.$.content; 56 var table = this.$.content;
57 table.tableColumns = [ 57 table.tableColumns = [
58 { 58 {
59 title: 'First', 59 title: 'First',
60 value: function(event) { 60 value: function(event) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 title: 'Object Instances', 102 title: 'Object Instances',
103 }); 103 });
104 tr.ui.analysis.AnalysisSubView.register( 104 tr.ui.analysis.AnalysisSubView.register(
105 'tr-ui-a-multi-object-sub-view', 105 'tr-ui-a-multi-object-sub-view',
106 tr.model.ObjectSnapshot, 106 tr.model.ObjectSnapshot,
107 { 107 {
108 multi: true, 108 multi: true,
109 title: 'Object Snapshots', 109 title: 'Object Snapshots',
110 }); 110 });
111 </script> 111 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/multi_event_summary_table.html ('k') | tracing/tracing/ui/analysis/multi_sample_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698