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

Side by Side Diff: Source/devtools/front_end/timeline/TimelineUIUtilsImpl.js

Issue 402653002: Delete TimelineTracingView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated TestExpectations to include virtual/ Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.TimelineUIUtils} 7 * @extends {WebInspector.TimelineUIUtils}
8 */ 8 */
9 WebInspector.TimelineUIUtilsImpl = function() 9 WebInspector.TimelineUIUtilsImpl = function()
10 { 10 {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 recordTypes.MarkDOMContent, 169 recordTypes.MarkDOMContent,
170 recordTypes.MarkFirstPaint, 170 recordTypes.MarkFirstPaint,
171 recordTypes.MarkLoad, 171 recordTypes.MarkLoad,
172 recordTypes.RequestMainThreadFrame, 172 recordTypes.RequestMainThreadFrame,
173 recordTypes.ScheduleStyleRecalculation, 173 recordTypes.ScheduleStyleRecalculation,
174 recordTypes.UpdateCounters 174 recordTypes.UpdateCounters
175 ]; 175 ];
176 return new WebInspector.TimelineRecordHiddenTypeFilter(hiddenRecords); 176 return new WebInspector.TimelineRecordHiddenTypeFilter(hiddenRecords);
177 }, 177 },
178 178
179 /**
180 * @param {!WebInspector.TimelineModel} model
181 * @return {!WebInspector.TimelineModel.Record}
182 */
183 createProgramRecord: function(model)
184 {
185 var payloadEvent = { type: WebInspector.TimelineModel.RecordType.Program };
186 return new WebInspector.TimelineModel.RecordImpl(model, /** @type {!Time lineAgent.TimelineEvent} */ (payloadEvent), null);
187 },
188
189 __proto__: WebInspector.TimelineUIUtils.prototype 179 __proto__: WebInspector.TimelineUIUtils.prototype
190 } 180 }
191 181
192 182
193 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes = {}; 183 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes = {};
194 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Layout] = 1; 184 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Layout] = 1;
195 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Paint] = 1; 185 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Paint] = 1;
196 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Rasterize] = 1; 186 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.Rasterize] = 1;
197 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.DecodeImage] = 1; 187 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.DecodeImage] = 1;
198 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.ResizeImage] = 1; 188 WebInspector.TimelineUIUtilsImpl._coalescableRecordTypes[WebInspector.TimelineMo del.RecordType.ResizeImage] = 1;
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 else if (recordType === recordTypes.TimeStamp) 696 else if (recordType === recordTypes.TimeStamp)
707 eventDivider.className += " resources-orange-divider"; 697 eventDivider.className += " resources-orange-divider";
708 else if (recordType === recordTypes.BeginFrame) 698 else if (recordType === recordTypes.BeginFrame)
709 eventDivider.className += " timeline-frame-divider"; 699 eventDivider.className += " timeline-frame-divider";
710 700
711 if (title) 701 if (title)
712 eventDivider.title = title; 702 eventDivider.title = title;
713 703
714 return eventDivider; 704 return eventDivider;
715 } 705 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineUIUtils.js ('k') | Source/devtools/front_end/timeline/TracingTimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698