| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @implements {WebInspector.App} | 7 * @implements {WebInspector.App} |
| 8 */ | 8 */ |
| 9 WebInspector.AdvancedApp = function() | 9 WebInspector.AdvancedApp = function() |
| 10 { | 10 { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 this._inspectedPagePlaceholder = new WebInspector.InspectedPagePlacehold
er(); | 29 this._inspectedPagePlaceholder = new WebInspector.InspectedPagePlacehold
er(); |
| 30 this._inspectedPagePlaceholder.addEventListener(WebInspector.InspectedPa
gePlaceholder.Events.Update, this._onSetInspectedPageBounds.bind(this), this); | 30 this._inspectedPagePlaceholder.addEventListener(WebInspector.InspectedPa
gePlaceholder.Events.Update, this._onSetInspectedPageBounds.bind(this), this); |
| 31 this._deviceModeView = new WebInspector.DeviceModeWrapper(this._inspecte
dPagePlaceholder); | 31 this._deviceModeView = new WebInspector.DeviceModeWrapper(this._inspecte
dPagePlaceholder); |
| 32 | 32 |
| 33 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.BeforeDockSideChanged, this._onBeforeDockSideChange, this); | 33 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.BeforeDockSideChanged, this._onBeforeDockSideChange, this); |
| 34 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.DockSideChanged, this._onDockSideChange, this); | 34 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.DockSideChanged, this._onDockSideChange, this); |
| 35 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.AfterDockSideChanged, this._onAfterDockSideChange, this); | 35 WebInspector.dockController.addEventListener(WebInspector.DockController
.Events.AfterDockSideChanged, this._onAfterDockSideChange, this); |
| 36 this._onDockSideChange(); | 36 this._onDockSideChange(); |
| 37 | 37 |
| 38 WebInspector.inspectorView.showInitialPanel(); | |
| 39 console.timeStamp("AdvancedApp.attachToBody"); | 38 console.timeStamp("AdvancedApp.attachToBody"); |
| 40 rootView.attachToDocument(document); | 39 rootView.attachToDocument(document); |
| 41 this._inspectedPagePlaceholder.update(); | 40 this._inspectedPagePlaceholder.update(); |
| 42 }, | 41 }, |
| 43 | 42 |
| 44 /** | 43 /** |
| 45 * @param {!WebInspector.Event} event | 44 * @param {!WebInspector.Event} event |
| 46 */ | 45 */ |
| 47 _openToolboxWindow: function(event) | 46 _openToolboxWindow: function(event) |
| 48 { | 47 { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 WebInspector.AdvancedAppProvider.prototype = { | 193 WebInspector.AdvancedAppProvider.prototype = { |
| 195 /** | 194 /** |
| 196 * @override | 195 * @override |
| 197 * @return {!WebInspector.App} | 196 * @return {!WebInspector.App} |
| 198 */ | 197 */ |
| 199 createApp: function() | 198 createApp: function() |
| 200 { | 199 { |
| 201 return WebInspector.AdvancedApp._instance(); | 200 return WebInspector.AdvancedApp._instance(); |
| 202 } | 201 } |
| 203 }; | 202 }; |
| OLD | NEW |