OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 | 469 |
470 /** | 470 /** |
471 * @interface | 471 * @interface |
472 */ | 472 */ |
473 WebInspector.TimelineOverview = function() | 473 WebInspector.TimelineOverview = function() |
474 { | 474 { |
475 } | 475 } |
476 | 476 |
477 WebInspector.TimelineOverview.prototype = { | 477 WebInspector.TimelineOverview.prototype = { |
478 /** | 478 /** |
479 * @param {?Element} parentElement | 479 * @param {!Element} parentElement |
480 * @param {!Element=} insertBefore | 480 * @param {?Element=} insertBefore |
481 */ | 481 */ |
482 show: function(parentElement, insertBefore) { }, | 482 show: function(parentElement, insertBefore) { }, |
483 | 483 |
484 update: function() { }, | 484 update: function() { }, |
485 | 485 |
486 dispose: function() { }, | 486 dispose: function() { }, |
487 | 487 |
488 reset: function() { }, | 488 reset: function() { }, |
489 | 489 |
490 /** | 490 /** |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 }, | 632 }, |
633 | 633 |
634 resetCanvas: function() | 634 resetCanvas: function() |
635 { | 635 { |
636 this._canvas.width = this.element.clientWidth * window.devicePixelRatio; | 636 this._canvas.width = this.element.clientWidth * window.devicePixelRatio; |
637 this._canvas.height = this.element.clientHeight * window.devicePixelRati
o; | 637 this._canvas.height = this.element.clientHeight * window.devicePixelRati
o; |
638 }, | 638 }, |
639 | 639 |
640 __proto__: WebInspector.VBox.prototype | 640 __proto__: WebInspector.VBox.prototype |
641 } | 641 } |
OLD | NEW |