| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 this._stackView.detachChildViews(); | 450 this._stackView.detachChildViews(); |
| 451 var views = this._viewsForMode(mode); | 451 var views = this._viewsForMode(mode); |
| 452 this._currentViews = views.mainViews; | 452 this._currentViews = views.mainViews; |
| 453 this._updateFiltersBar(); | 453 this._updateFiltersBar(); |
| 454 this._glueMode = true; | 454 this._glueMode = true; |
| 455 for (var i = 0; i < this._currentViews.length; ++i) { | 455 for (var i = 0; i < this._currentViews.length; ++i) { |
| 456 var view = this._currentViews[i]; | 456 var view = this._currentViews[i]; |
| 457 view.setWindowTimes(this.windowStartTime(), this.windowEndTime()); | 457 view.setWindowTimes(this.windowStartTime(), this.windowEndTime()); |
| 458 this._stackView.appendView(view, "timeline-view"); | 458 this._stackView.appendView(view, "timeline-view"); |
| 459 this._glueMode = this._glueMode && view.supportsGlueParentMode(); | 459 this._glueMode = this._glueMode && view.supportsGlueParentMode(); |
| 460 view.refreshRecords(); |
| 460 } | 461 } |
| 461 this._overviewControl = views.overviewView; | 462 this._overviewControl = views.overviewView; |
| 462 this._overviewPane.setOverviewControl(this._overviewControl); | 463 this._overviewPane.setOverviewControl(this._overviewControl); |
| 463 this._glueParentButton.setEnabled(this._glueMode); | 464 this._glueParentButton.setEnabled(this._glueMode); |
| 464 }, | 465 }, |
| 465 | 466 |
| 466 /** | 467 /** |
| 467 * @param {boolean} userInitiated | 468 * @param {boolean} userInitiated |
| 468 */ | 469 */ |
| 469 _startRecording: function(userInitiated) | 470 _startRecording: function(userInitiated) |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 * @param {boolean} vertical | 599 * @param {boolean} vertical |
| 599 */ | 600 */ |
| 600 setVertical: function(vertical) | 601 setVertical: function(vertical) |
| 601 { | 602 { |
| 602 this._contentElement.enableStyleClass("hbox", !vertical); | 603 this._contentElement.enableStyleClass("hbox", !vertical); |
| 603 this._contentElement.enableStyleClass("vbox", vertical); | 604 this._contentElement.enableStyleClass("vbox", vertical); |
| 604 }, | 605 }, |
| 605 | 606 |
| 606 __proto__: WebInspector.View.prototype | 607 __proto__: WebInspector.View.prototype |
| 607 } | 608 } |
| OLD | NEW |