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

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: Added annotations. 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
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineLayersView.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineLayersView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698