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

Side by Side Diff: tracing/tracing/model/user_model/user_model.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
« no previous file with comments | « tracing/tracing/model/thread.html ('k') | tracing/tracing/results2_template.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2016 The Chromium Authors. All rights reserved. 3 Copyright (c) 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/model/event_container.html"> 8 <link rel="import" href="/tracing/model/event_container.html">
9 9
10 <script> 10 <script>
(...skipping 26 matching lines...) Expand all
37 get expectations() { 37 get expectations() {
38 return this.expectations_; 38 return this.expectations_;
39 }, 39 },
40 40
41 shiftTimestampsForward: function(amount) { 41 shiftTimestampsForward: function(amount) {
42 }, 42 },
43 43
44 addCategoriesToDict: function(categoriesDict) { 44 addCategoriesToDict: function(categoriesDict) {
45 }, 45 },
46 46
47 findTopmostSlicesInThisContainer: function(eventPredicate, callback, 47 childEvents: function*() {
48 opt_this) { 48 yield * this.expectations;
49 },
50
51 childEvents: function*(eventTypePredicate, opt_this) {
52 if (eventTypePredicate.call(opt_this, tr.model.um.UserExpectation))
53 yield * this.expectations;
54 }, 49 },
55 50
56 childEventContainers: function*() { 51 childEventContainers: function*() {
57 }, 52 },
58 53
59 updateBounds: function() { 54 updateBounds: function() {
60 this.bounds.reset(); 55 this.bounds.reset();
61 this.expectations.forEach(function(expectation) { 56 this.expectations.forEach(function(expectation) {
62 expectation.addBoundsToRange(this.bounds); 57 expectation.addBoundsToRange(this.bounds);
63 }, this); 58 }, this);
64 } 59 }
65 }; 60 };
66 61
67 return { 62 return {
68 UserModel: UserModel 63 UserModel: UserModel
69 }; 64 };
70 }); 65 });
71 </script> 66 </script>
72 67
OLDNEW
« no previous file with comments | « tracing/tracing/model/thread.html ('k') | tracing/tracing/results2_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698