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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 }, | 284 }, |
285 | 285 |
286 /** | 286 /** |
287 * @return {!WebInspector.View} | 287 * @return {!WebInspector.View} |
288 */ | 288 */ |
289 _layersView: function() | 289 _layersView: function() |
290 { | 290 { |
291 if (this._lazyLayersView) | 291 if (this._lazyLayersView) |
292 return this._lazyLayersView; | 292 return this._lazyLayersView; |
293 this._lazyLayersView = new WebInspector.TimelineLayersView(); | 293 this._lazyLayersView = new WebInspector.TimelineLayersView(); |
| 294 this._lazyLayersView.setTimelineModelAndDelegate(this._model, this); |
294 return this._lazyLayersView; | 295 return this._lazyLayersView; |
295 }, | 296 }, |
296 | 297 |
297 _paintProfilerView: function() | 298 _paintProfilerView: function() |
298 { | 299 { |
299 if (this._lazyPaintProfilerView) | 300 if (this._lazyPaintProfilerView) |
300 return this._lazyPaintProfilerView; | 301 return this._lazyPaintProfilerView; |
301 this._lazyPaintProfilerView = new WebInspector.TimelinePaintProfilerView
(); | 302 this._lazyPaintProfilerView = new WebInspector.TimelinePaintProfilerView
(); |
302 return this._lazyPaintProfilerView; | 303 return this._lazyPaintProfilerView; |
303 }, | 304 }, |
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 * @param {!WebInspector.TimelineModel.Record} record | 1471 * @param {!WebInspector.TimelineModel.Record} record |
1471 * @return {boolean} | 1472 * @return {boolean} |
1472 */ | 1473 */ |
1473 accept: function(record) | 1474 accept: function(record) |
1474 { | 1475 { |
1475 return !this._regex || this._uiUtils.testContentMatching(record, this._r
egex); | 1476 return !this._regex || this._uiUtils.testContentMatching(record, this._r
egex); |
1476 }, | 1477 }, |
1477 | 1478 |
1478 __proto__: WebInspector.TimelineModel.Filter.prototype | 1479 __proto__: WebInspector.TimelineModel.Filter.prototype |
1479 } | 1480 } |
OLD | NEW |