| Index: third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js b/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
|
| index 4e4da676b0c30214764d760ff987779faa316531..9488a3434b329e0c7e24a2854232afd2353d99ca 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
|
| @@ -1,43 +1,32 @@
|
| // Copyright 2014 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -
|
| /**
|
| - * @constructor
|
| * @implements {WebInspector.App}
|
| + * @unrestricted
|
| */
|
| -WebInspector.SimpleApp = function()
|
| -{
|
| -};
|
| -
|
| -WebInspector.SimpleApp.prototype = {
|
| - /**
|
| - * @override
|
| - * @param {!Document} document
|
| - */
|
| - presentUI: function(document)
|
| - {
|
| - var rootView = new WebInspector.RootView();
|
| - WebInspector.inspectorView.show(rootView.element);
|
| - rootView.attachToDocument(document);
|
| - }
|
| +WebInspector.SimpleApp = class {
|
| + /**
|
| + * @override
|
| + * @param {!Document} document
|
| + */
|
| + presentUI(document) {
|
| + var rootView = new WebInspector.RootView();
|
| + WebInspector.inspectorView.show(rootView.element);
|
| + rootView.attachToDocument(document);
|
| + }
|
| };
|
|
|
| /**
|
| - * @constructor
|
| * @implements {WebInspector.AppProvider}
|
| + * @unrestricted
|
| */
|
| -WebInspector.SimpleAppProvider = function()
|
| -{
|
| -};
|
| -
|
| -WebInspector.SimpleAppProvider.prototype = {
|
| - /**
|
| - * @override
|
| - * @return {!WebInspector.App}
|
| - */
|
| - createApp: function()
|
| - {
|
| - return new WebInspector.SimpleApp();
|
| - }
|
| +WebInspector.SimpleAppProvider = class {
|
| + /**
|
| + * @override
|
| + * @return {!WebInspector.App}
|
| + */
|
| + createApp() {
|
| + return new WebInspector.SimpleApp();
|
| + }
|
| };
|
|
|