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

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

Issue 400643002: DevTools: Add ability to go to paint record and paint profiler in Timeline from layers view. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unused function. 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
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698