| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 this._automaticallySizeWindow = true; | 471 this._automaticallySizeWindow = true; |
| 472 this._mainThreadTasks = []; | 472 this._mainThreadTasks = []; |
| 473 this._gpuTasks = []; | 473 this._gpuTasks = []; |
| 474 }, | 474 }, |
| 475 | 475 |
| 476 _onRecordsCleared: function() | 476 _onRecordsCleared: function() |
| 477 { | 477 { |
| 478 this._resetView(); | 478 this._resetView(); |
| 479 this._windowFilter.reset(); | 479 this._windowFilter.reset(); |
| 480 this._invalidateAndScheduleRefresh(true, true); | 480 this._invalidateAndScheduleRefresh(true, true); |
| 481 this._updateSelectionDetails(); |
| 481 }, | 482 }, |
| 482 | 483 |
| 483 /** | 484 /** |
| 484 * @return {!Array.<!Element>} | 485 * @return {!Array.<!Element>} |
| 485 */ | 486 */ |
| 486 elementsToRestoreScrollPositionsFor: function() | 487 elementsToRestoreScrollPositionsFor: function() |
| 487 { | 488 { |
| 488 return [this._containerElement]; | 489 return [this._containerElement]; |
| 489 }, | 490 }, |
| 490 | 491 |
| (...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1782 * @param {boolean} vertical | 1783 * @param {boolean} vertical |
| 1783 */ | 1784 */ |
| 1784 setVertical: function(vertical) | 1785 setVertical: function(vertical) |
| 1785 { | 1786 { |
| 1786 this._contentElement.enableStyleClass("hbox", !vertical); | 1787 this._contentElement.enableStyleClass("hbox", !vertical); |
| 1787 this._contentElement.enableStyleClass("vbox", vertical); | 1788 this._contentElement.enableStyleClass("vbox", vertical); |
| 1788 }, | 1789 }, |
| 1789 | 1790 |
| 1790 __proto__: WebInspector.View.prototype | 1791 __proto__: WebInspector.View.prototype |
| 1791 } | 1792 } |
| OLD | NEW |