| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 this.draw(); | 217 this.draw(); |
| 218 this._refreshCurrentValues(); | 218 this._refreshCurrentValues(); |
| 219 } | 219 } |
| 220 | 220 |
| 221 /** | 221 /** |
| 222 * @override | 222 * @override |
| 223 */ | 223 */ |
| 224 refreshRecords() { | 224 refreshRecords() { |
| 225 } | 225 } |
| 226 | 226 |
| 227 /** |
| 228 * @override |
| 229 */ |
| 230 extensionDataAdded() { |
| 231 } |
| 232 |
| 227 _clear() { | 233 _clear() { |
| 228 var ctx = this._canvas.getContext('2d'); | 234 var ctx = this._canvas.getContext('2d'); |
| 229 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); | 235 ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); |
| 230 } | 236 } |
| 231 | 237 |
| 232 /** | 238 /** |
| 233 * @override | 239 * @override |
| 234 * @param {?SDK.TracingModel.Event} event | 240 * @param {?SDK.TracingModel.Event} event |
| 235 * @param {string=} regex | 241 * @param {string=} regex |
| 236 * @param {boolean=} select | 242 * @param {boolean=} select |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 /** | 593 /** |
| 588 * @override | 594 * @override |
| 589 * @return {number} | 595 * @return {number} |
| 590 */ | 596 */ |
| 591 boundarySpan() { | 597 boundarySpan() { |
| 592 return this._maximumBoundary - this._minimumBoundary; | 598 return this._maximumBoundary - this._minimumBoundary; |
| 593 } | 599 } |
| 594 }; | 600 }; |
| 595 | 601 |
| 596 Timeline.CounterGraphCalculator._minWidth = 5; | 602 Timeline.CounterGraphCalculator._minWidth = 5; |
| OLD | NEW |