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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js

Issue 2170993002: Revert of DevTools: keep widgets in widget hierarchy upon hide, split attach/detach cycle from show/hide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Widget.js ('k') | no next file » | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Widget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698