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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js

Issue 2412023002: DevTools: migrate InspectorView to tabbed view location. (Closed)
Patch Set: made layers panel closeable. Created 4 years, 2 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
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.SimpleApp = function() 9 WebInspector.SimpleApp = function()
10 { 10 {
11 }; 11 };
12 12
13 WebInspector.SimpleApp.prototype = { 13 WebInspector.SimpleApp.prototype = {
14 /** 14 /**
15 * @override 15 * @override
16 * @param {!Document} document 16 * @param {!Document} document
17 */ 17 */
18 presentUI: function(document) 18 presentUI: function(document)
19 { 19 {
20 var rootView = new WebInspector.RootView(); 20 var rootView = new WebInspector.RootView();
21 WebInspector.inspectorView.show(rootView.element); 21 WebInspector.inspectorView.show(rootView.element);
22 WebInspector.inspectorView.showInitialPanel();
23 rootView.attachToDocument(document); 22 rootView.attachToDocument(document);
24 } 23 }
25 }; 24 };
26 25
27 /** 26 /**
28 * @constructor 27 * @constructor
29 * @implements {WebInspector.AppProvider} 28 * @implements {WebInspector.AppProvider}
30 */ 29 */
31 WebInspector.SimpleAppProvider = function() 30 WebInspector.SimpleAppProvider = function()
32 { 31 {
33 }; 32 };
34 33
35 WebInspector.SimpleAppProvider.prototype = { 34 WebInspector.SimpleAppProvider.prototype = {
36 /** 35 /**
37 * @override 36 * @override
38 * @return {!WebInspector.App} 37 * @return {!WebInspector.App}
39 */ 38 */
40 createApp: function() 39 createApp: function()
41 { 40 {
42 return new WebInspector.SimpleApp(); 41 return new WebInspector.SimpleApp();
43 } 42 }
44 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698