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

Side by Side Diff: Source/devtools/front_end/main/AdvancedApp.js

Issue 1301813002: DevTools: propagate experiments that are enabled by default into default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/main/Main.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 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 }, 57 },
58 58
59 /** 59 /**
60 * @param {!Document} toolboxDocument 60 * @param {!Document} toolboxDocument
61 */ 61 */
62 toolboxLoaded: function(toolboxDocument) 62 toolboxLoaded: function(toolboxDocument)
63 { 63 {
64 WebInspector.initializeUIUtils(toolboxDocument.defaultView); 64 WebInspector.initializeUIUtils(toolboxDocument.defaultView);
65 WebInspector.installComponentRootStyles(/** @type {!Element} */ (toolbox Document.body)); 65 WebInspector.installComponentRootStyles(/** @type {!Element} */ (toolbox Document.body));
66 WebInspector.ContextMenu.installHandler(toolboxDocument); 66 WebInspector.ContextMenu.installHandler(toolboxDocument);
67 if (Runtime.experiments.isEnabled("tooltips")) 67 WebInspector.Tooltip.installHandler(toolboxDocument);
68 WebInspector.Tooltip.installHandler(toolboxDocument);
69 68
70 var rootView = new WebInspector.RootView(); 69 var rootView = new WebInspector.RootView();
71 var inspectedPagePlaceholder = new WebInspector.InspectedPagePlaceholder (); 70 var inspectedPagePlaceholder = new WebInspector.InspectedPagePlaceholder ();
72 inspectedPagePlaceholder.addEventListener(WebInspector.InspectedPagePlac eholder.Events.Update, this._onSetInspectedPageBounds.bind(this, true)); 71 inspectedPagePlaceholder.addEventListener(WebInspector.InspectedPagePlac eholder.Events.Update, this._onSetInspectedPageBounds.bind(this, true));
73 this._toolboxResponsiveDesignView = new WebInspector.ResponsiveDesignVie w(inspectedPagePlaceholder); 72 this._toolboxResponsiveDesignView = new WebInspector.ResponsiveDesignVie w(inspectedPagePlaceholder);
74 this._toolboxResponsiveDesignView.show(rootView.element); 73 this._toolboxResponsiveDesignView.show(rootView.element);
75 rootView.attachToDocument(toolboxDocument); 74 rootView.attachToDocument(toolboxDocument);
76 75
77 this._updatePageResizer(); 76 this._updatePageResizer();
78 }, 77 },
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 WebInspector.AdvancedAppProvider.prototype = { 204 WebInspector.AdvancedAppProvider.prototype = {
206 /** 205 /**
207 * @override 206 * @override
208 * @return {!WebInspector.App} 207 * @return {!WebInspector.App}
209 */ 208 */
210 createApp: function() 209 createApp: function()
211 { 210 {
212 return WebInspector.AdvancedApp._instance(); 211 return WebInspector.AdvancedApp._instance();
213 } 212 }
214 }; 213 };
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698