| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |