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