| 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 * @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 }; |
| OLD | NEW |