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

Side by Side Diff: Source/devtools/front_end/MemoryStatistics.js

Issue 166273012: TimelinePanel: do not collapse record when user changes panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Source/devtools/front_end/TimelineFlameChart.js » ('j') | 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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 }, 371 },
372 372
373 refresh: function() 373 refresh: function()
374 { 374 {
375 delete this._refreshTimer; 375 delete this._refreshTimer;
376 this._timelineGrid.updateDividers(this._timelineView.calculator); 376 this._timelineGrid.updateDividers(this._timelineView.calculator);
377 this.draw(); 377 this.draw();
378 this._refreshCurrentValues(); 378 this._refreshCurrentValues();
379 }, 379 },
380 380
381 refreshRecords: function()
382 {
383 },
384
381 /** 385 /**
382 * @param {number} originY 386 * @param {number} originY
383 * @param {number} height 387 * @param {number} height
384 */ 388 */
385 _setVerticalClip: function(originY, height) 389 _setVerticalClip: function(originY, height)
386 { 390 {
387 this._originY = originY; 391 this._originY = originY;
388 this._clippedHeight = height; 392 this._clippedHeight = height;
389 }, 393 },
390 394
391 _clear: function() 395 _clear: function()
392 { 396 {
393 var ctx = this._canvas.getContext("2d"); 397 var ctx = this._canvas.getContext("2d");
394 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); 398 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
395 }, 399 },
396 400
397 __proto__: WebInspector.SplitView.prototype 401 __proto__: WebInspector.SplitView.prototype
398 } 402 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/TimelineFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698