OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 this._lazyFrameModel = frameModel; | 266 this._lazyFrameModel = frameModel; |
267 } | 267 } |
268 return this._lazyFrameModel; | 268 return this._lazyFrameModel; |
269 }, | 269 }, |
270 | 270 |
271 /** | 271 /** |
272 * @return {!WebInspector.TimelineView} | 272 * @return {!WebInspector.TimelineView} |
273 */ | 273 */ |
274 _timelineView: function() | 274 _timelineView: function() |
275 { | 275 { |
276 if (!this._lazyTimelineView) | 276 if (!this._lazyTimelineView) { |
277 this._lazyTimelineView = new WebInspector.TimelineView(this, this._m
odel); | 277 var coalescableRecordTypes = this._tracingTimelineModel ? WebInspect
or.TracingTimelineUIUtils.coalescableRecordTypes : WebInspector.TimelineUIUtils.
coalescableRecordTypes; |
| 278 this._lazyTimelineView = new WebInspector.TimelineView(this, this._m
odel, coalescableRecordTypes); |
| 279 } |
278 return this._lazyTimelineView; | 280 return this._lazyTimelineView; |
279 }, | 281 }, |
280 | 282 |
281 /** | 283 /** |
282 * @return {!WebInspector.View} | 284 * @return {!WebInspector.View} |
283 */ | 285 */ |
284 _layersView: function() | 286 _layersView: function() |
285 { | 287 { |
286 if (this._lazyLayersView) | 288 if (this._lazyLayersView) |
287 return this._lazyLayersView; | 289 return this._lazyLayersView; |
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 * @param {!WebInspector.TimelineModel.Record} record | 1456 * @param {!WebInspector.TimelineModel.Record} record |
1455 * @return {boolean} | 1457 * @return {boolean} |
1456 */ | 1458 */ |
1457 accept: function(record) | 1459 accept: function(record) |
1458 { | 1460 { |
1459 return !this._hiddenRecords[record.type()]; | 1461 return !this._hiddenRecords[record.type()]; |
1460 }, | 1462 }, |
1461 | 1463 |
1462 __proto__: WebInspector.TimelineModel.Filter.prototype | 1464 __proto__: WebInspector.TimelineModel.Filter.prototype |
1463 } | 1465 } |
OLD | NEW |