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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js

Issue 1939803002: DevTools: mute the node highlight & hide devtools while taking screenshots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {
11 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve nts.BeforeDockSideChanged, this._openToolboxWindow, this); 11 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve nts.BeforeDockSideChanged, this._openToolboxWindow, this);
12 }; 12 };
13 13
14 WebInspector.AdvancedApp.prototype = { 14 WebInspector.AdvancedApp.prototype = {
15 /** 15 /**
16 * @override 16 * @override
17 * @param {!Document} document 17 * @param {!Document} document
18 */ 18 */
19 presentUI: function(document) 19 presentUI: function(document)
20 { 20 {
21 var rootView = new WebInspector.RootView(); 21 var rootView = new WebInspector.RootView();
22 22
23 this._rootSplitWidget = new WebInspector.SplitWidget(false, true, "Inspe ctorView.splitViewState", 555, 300, true); 23 this._rootSplitWidget = new WebInspector.SplitWidget(false, true, "Inspe ctorView.splitViewState", 555, 300, true);
24 this._rootSplitWidget.show(rootView.element); 24 this._rootSplitWidget.show(rootView.element);
25 25
26 this._rootSplitWidget.setSidebarWidget(WebInspector.inspectorView); 26 this._rootSplitWidget.setSidebarWidget(WebInspector.inspectorView);
27 WebInspector.inspectorView.setOwnerSplit(this._rootSplitWidget);
27 28
28 this._inspectedPagePlaceholder = new WebInspector.InspectedPagePlacehold er(); 29 this._inspectedPagePlaceholder = new WebInspector.InspectedPagePlacehold er();
29 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);
30 this._deviceModeView = new WebInspector.DeviceModeWrapper(this._inspecte dPagePlaceholder); 31 this._deviceModeView = new WebInspector.DeviceModeWrapper(this._inspecte dPagePlaceholder);
31 32
32 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.BeforeDockSideChanged, this._onBeforeDockSideChange, this); 33 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.BeforeDockSideChanged, this._onBeforeDockSideChange, this);
33 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.DockSideChanged, this._onDockSideChange, this); 34 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.DockSideChanged, this._onDockSideChange, this);
34 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.AfterDockSideChanged, this._onAfterDockSideChange, this); 35 WebInspector.dockController.addEventListener(WebInspector.DockController .Events.AfterDockSideChanged, this._onAfterDockSideChange, this);
35 this._onDockSideChange(); 36 this._onDockSideChange();
36 37
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 WebInspector.AdvancedAppProvider.prototype = { 194 WebInspector.AdvancedAppProvider.prototype = {
194 /** 195 /**
195 * @override 196 * @override
196 * @return {!WebInspector.App} 197 * @return {!WebInspector.App}
197 */ 198 */
198 createApp: function() 199 createApp: function()
199 { 200 {
200 return WebInspector.AdvancedApp._instance(); 201 return WebInspector.AdvancedApp._instance();
201 } 202 }
202 }; 203 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698