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

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

Issue 180273023: DevTools: encapsulate presentation model in timeline view. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comments addressed. Created 6 years, 9 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
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 }, 390 },
391 391
392 refresh: function() 392 refresh: function()
393 { 393 {
394 delete this._refreshTimer; 394 delete this._refreshTimer;
395 this._timelineGrid.updateDividers(this._calculator); 395 this._timelineGrid.updateDividers(this._calculator);
396 this.draw(); 396 this.draw();
397 this._refreshCurrentValues(); 397 this._refreshCurrentValues();
398 }, 398 },
399 399
400 refreshRecords: function() 400 /**
401 * @param {?RegExp} textFilter
402 */
403 refreshRecords: function(textFilter)
401 { 404 {
402 }, 405 },
403 406
404 /** 407 /**
405 * @param {number} originY 408 * @param {number} originY
406 * @param {number} height 409 * @param {number} height
407 */ 410 */
408 _setVerticalClip: function(originY, height) 411 _setVerticalClip: function(originY, height)
409 { 412 {
410 this._originY = originY; 413 this._originY = originY;
(...skipping 17 matching lines...) Expand all
428 431
429 /** 432 /**
430 * @param {?WebInspector.TimelineModel.Record} record 433 * @param {?WebInspector.TimelineModel.Record} record
431 */ 434 */
432 setSelectedRecord: function(record) 435 setSelectedRecord: function(record)
433 { 436 {
434 }, 437 },
435 438
436 __proto__: WebInspector.SplitView.prototype 439 __proto__: WebInspector.SplitView.prototype
437 } 440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698