| Index: third_party/WebKit/Source/devtools/front_end/ui/Panel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Panel.js b/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
|
| index c69463b23e7c9f2b6321497c18500fe82c7e5c99..087e20df927cff2706d26e627d5be3b1130839ed 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Panel.js
|
| @@ -38,7 +38,6 @@ WebInspector.Panel = function(name)
|
| WebInspector.VBox.call(this);
|
|
|
| this.element.classList.add("panel");
|
| - this.element.setAttribute("role", "tabpanel");
|
| this.element.setAttribute("aria-label", name);
|
| this.element.classList.add(name);
|
| this._panelName = name;
|
| @@ -58,10 +57,6 @@ WebInspector.Panel.prototype = {
|
| return this._panelName;
|
| },
|
|
|
| - reset: function()
|
| - {
|
| - },
|
| -
|
| /**
|
| * @return {?WebInspector.SearchableView}
|
| */
|
| @@ -176,68 +171,3 @@ WebInspector.PanelWithSidebar.prototype = {
|
|
|
| __proto__: WebInspector.Panel.prototype
|
| }
|
| -
|
| -/**
|
| - * @interface
|
| - */
|
| -WebInspector.PanelDescriptor = function()
|
| -{
|
| -}
|
| -
|
| -WebInspector.PanelDescriptor.prototype = {
|
| - /**
|
| - * @return {string}
|
| - */
|
| - name: function() {},
|
| -
|
| - /**
|
| - * @return {string}
|
| - */
|
| - title: function() {},
|
| -
|
| - /**
|
| - * @return {!Promise.<!WebInspector.Panel>}
|
| - */
|
| - panel: function() {}
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @param {!Runtime.Extension} extension
|
| - * @implements {WebInspector.PanelDescriptor}
|
| - */
|
| -WebInspector.ExtensionPanelDescriptor = function(extension)
|
| -{
|
| - this._name = extension.descriptor()["name"];
|
| - this._title = WebInspector.UIString(extension.descriptor()["title"]);
|
| - this._extension = extension;
|
| -}
|
| -
|
| -WebInspector.ExtensionPanelDescriptor.prototype = {
|
| - /**
|
| - * @override
|
| - * @return {string}
|
| - */
|
| - name: function()
|
| - {
|
| - return this._name;
|
| - },
|
| -
|
| - /**
|
| - * @override
|
| - * @return {string}
|
| - */
|
| - title: function()
|
| - {
|
| - return this._title;
|
| - },
|
| -
|
| - /**
|
| - * @override
|
| - * @return {!Promise.<!WebInspector.Panel>}
|
| - */
|
| - panel: function()
|
| - {
|
| - return /** @type {!Promise<!WebInspector.Panel>} */(this._extension.instance());
|
| - }
|
| -}
|
|
|