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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 * @implements {WebInspector.App} 5 * @implements {Common.App}
6 * @unrestricted 6 * @unrestricted
7 */ 7 */
8 WebInspector.SimpleApp = class { 8 Main.SimpleApp = class {
9 /** 9 /**
10 * @override 10 * @override
11 * @param {!Document} document 11 * @param {!Document} document
12 */ 12 */
13 presentUI(document) { 13 presentUI(document) {
14 var rootView = new WebInspector.RootView(); 14 var rootView = new UI.RootView();
15 WebInspector.inspectorView.show(rootView.element); 15 UI.inspectorView.show(rootView.element);
16 rootView.attachToDocument(document); 16 rootView.attachToDocument(document);
17 } 17 }
18 }; 18 };
19 19
20 /** 20 /**
21 * @implements {WebInspector.AppProvider} 21 * @implements {Common.AppProvider}
22 * @unrestricted 22 * @unrestricted
23 */ 23 */
24 WebInspector.SimpleAppProvider = class { 24 Main.SimpleAppProvider = class {
25 /** 25 /**
26 * @override 26 * @override
27 * @return {!WebInspector.App} 27 * @return {!Common.App}
28 */ 28 */
29 createApp() { 29 createApp() {
30 return new WebInspector.SimpleApp(); 30 return new Main.SimpleApp();
31 } 31 }
32 }; 32 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698