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

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

Issue 361223002: DevTools: Speedup flamechart window scrolling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 /** 234 /**
235 * @param {!WebInspector.Event} event 235 * @param {!WebInspector.Event} event
236 */ 236 */
237 _onWindowChanged: function(event) 237 _onWindowChanged: function(event)
238 { 238 {
239 this._windowStartTime = event.data.startTime; 239 this._windowStartTime = event.data.startTime;
240 this._windowEndTime = event.data.endTime; 240 this._windowEndTime = event.data.endTime;
241 241
242 for (var i = 0; i < this._currentViews.length; ++i) 242 for (var i = 0; i < this._currentViews.length; ++i)
243 this._currentViews[i].setWindowTimes(this._windowStartTime, this._wi ndowEndTime); 243 this._currentViews[i].setWindowTimes(this._windowStartTime, this._wi ndowEndTime);
244 this._updateSelectedRangeStats();
245 }, 244 },
246 245
247 /** 246 /**
248 * @param {number} windowStartTime 247 * @param {number} windowStartTime
249 * @param {number} windowEndTime 248 * @param {number} windowEndTime
250 */ 249 */
251 requestWindowTimes: function(windowStartTime, windowEndTime) 250 requestWindowTimes: function(windowStartTime, windowEndTime)
252 { 251 {
253 this._overviewPane.requestWindowTimes(windowStartTime, windowEndTime); 252 this._overviewPane.requestWindowTimes(windowStartTime, windowEndTime);
254 }, 253 },
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 * @param {!WebInspector.TimelineModel.Record} record 1444 * @param {!WebInspector.TimelineModel.Record} record
1446 * @return {boolean} 1445 * @return {boolean}
1447 */ 1446 */
1448 accept: function(record) 1447 accept: function(record)
1449 { 1448 {
1450 return !this._regex || this._uiUtils.testContentMatching(record, this._r egex); 1449 return !this._regex || this._uiUtils.testContentMatching(record, this._r egex);
1451 }, 1450 },
1452 1451
1453 __proto__: WebInspector.TimelineModel.Filter.prototype 1452 __proto__: WebInspector.TimelineModel.Filter.prototype
1454 } 1453 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698