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

Side by Side Diff: tracing/tracing/model/power_series.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 (c) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 2015 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/range.html"> 8 <link rel="import" href="/tracing/base/range.html">
9 <link rel="import" href="/tracing/base/sorted_array_utils.html"> 9 <link rel="import" href="/tracing/base/sorted_array_utils.html">
10 <link rel="import" href="/tracing/model/event_container.html"> 10 <link rel="import" href="/tracing/model/event_container.html">
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 updateBounds: function() { 107 updateBounds: function() {
108 this.bounds.reset(); 108 this.bounds.reset();
109 109
110 if (this.samples_.length === 0) 110 if (this.samples_.length === 0)
111 return; 111 return;
112 112
113 this.bounds.addValue(this.samples_[0].start); 113 this.bounds.addValue(this.samples_[0].start);
114 this.bounds.addValue(this.samples_[this.samples_.length - 1].start); 114 this.bounds.addValue(this.samples_[this.samples_.length - 1].start);
115 }, 115 },
116 116
117 findTopmostSlicesInThisContainer: function(eventPredicate, callback, 117 childEvents: function*() {
118 opt_this) { 118 yield * this.samples_;
119 }, 119 },
120
121 childEvents: function*(eventTypePredicate, opt_this) {
122 if (eventTypePredicate.call(opt_this, PowerSample))
123 yield * this.samples_;
124 },
125
126 childEventContainers: function*(callback, opt_this) {
127 }
128 }; 120 };
129 121
130 return { 122 return {
131 PowerSeries: PowerSeries 123 PowerSeries: PowerSeries
132 }; 124 };
133 }); 125 });
134 </script> 126 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/model/object_collection.html ('k') | tracing/tracing/model/power_series_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698