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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
index bb16a44d51cc963c4a9e4d564376eb0ef16f889c..8a84df6ed782ecd1eadf0842e89f4e5545b51575 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
@@ -183,7 +183,7 @@ WebInspector.ExtensionButton.prototype = {
/**
* @constructor
- * @extends {WebInspector.SidebarPane}
+ * @extends {WebInspector.View}
* @param {!WebInspector.ExtensionServer} server
* @param {string} panelName
* @param {string} title
@@ -191,7 +191,8 @@ WebInspector.ExtensionButton.prototype = {
*/
WebInspector.ExtensionSidebarPane = function(server, panelName, title, id)
{
- WebInspector.SidebarPane.call(this, title);
+ WebInspector.View.call(this, title);
+ this.element.classList.add("fill");
this._panelName = panelName;
this._server = server;
this._id = id;
@@ -314,5 +315,5 @@ WebInspector.ExtensionSidebarPane.prototype = {
callback();
},
- __proto__: WebInspector.SidebarPane.prototype
+ __proto__: WebInspector.View.prototype
}

Powered by Google App Engine
This is Rietveld 408576698