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

Side by Side Diff: Source/devtools/front_end/timeline/TracingTimelineUIUtils.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.TracingTimelineUIUtils = function() 9 WebInspector.TracingTimelineUIUtils = function()
10 { 10 {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 /** 168 /**
169 * @return {?WebInspector.TimelineModel.Filter} 169 * @return {?WebInspector.TimelineModel.Filter}
170 */ 170 */
171 hiddenEmptyRecordsFilter: function() 171 hiddenEmptyRecordsFilter: function()
172 { 172 {
173 var hiddenEmptyRecords = [WebInspector.TimelineModel.RecordType.EventDis patch]; 173 var hiddenEmptyRecords = [WebInspector.TimelineModel.RecordType.EventDis patch];
174 return new WebInspector.TimelineRecordHiddenEmptyTypeFilter(hiddenEmptyR ecords); 174 return new WebInspector.TimelineRecordHiddenEmptyTypeFilter(hiddenEmptyR ecords);
175 }, 175 },
176 176
177 /**
178 * @param {!WebInspector.TimelineModel} model
179 * @return {!WebInspector.TimelineModel.Record}
180 */
181 createProgramRecord: function(model)
182 {
183 var payload = { name: WebInspector.TracingTimelineModel.RecordType.Progr am };
184 return new WebInspector.TracingTimelineModel.TraceEventRecord(model, new WebInspector.TracingModel.Event(/** @type {!WebInspector.TracingModel.EventPayl oad} */ (payload), 0, null));
185 },
186
187 __proto__: WebInspector.TimelineUIUtils.prototype 177 __proto__: WebInspector.TimelineUIUtils.prototype
188 } 178 }
189 179
190 /** 180 /**
191 * @constructor 181 * @constructor
192 * @param {string} title 182 * @param {string} title
193 * @param {!WebInspector.TimelineCategory} category 183 * @param {!WebInspector.TimelineCategory} category
194 * @param {boolean=} hidden 184 * @param {boolean=} hidden
195 */ 185 */
196 WebInspector.TimelineRecordStyle = function(title, category, hidden) 186 WebInspector.TimelineRecordStyle = function(title, category, hidden)
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 return result; 801 return result;
812 } 802 }
813 803
814 /** 804 /**
815 * @return {!WebInspector.TracingTimelineModel.Filter} 805 * @return {!WebInspector.TracingTimelineModel.Filter}
816 */ 806 */
817 WebInspector.TracingTimelineUIUtils.hiddenEventsFilter = function() 807 WebInspector.TracingTimelineUIUtils.hiddenEventsFilter = function()
818 { 808 {
819 return new WebInspector.TracingTimelineModel.InclusiveEventNameFilter(WebIns pector.TracingTimelineUIUtils._visibleTypes()); 809 return new WebInspector.TracingTimelineModel.InclusiveEventNameFilter(WebIns pector.TracingTimelineUIUtils._visibleTypes());
820 } 810 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineUIUtilsImpl.js ('k') | Source/devtools/scripts/frontend_modules.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698