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

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

Issue 2356423002: [DevTools] Turn WebInspector.Panel into a web component.
Patch Set: partial fixes Created 4 years, 3 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 973cf7b12f273bdb82d4bfb0e5992a9fc873d01f..77aef7f35bcb71c7abf1f602a5f01536754577f4 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
@@ -39,14 +39,14 @@
*/
WebInspector.ExtensionPanel = function(server, panelName, id, pageURL)
{
- WebInspector.Panel.call(this, panelName);
+ WebInspector.Panel.call(this, panelName, true);
this._server = server;
this._id = id;
this.setHideOnDetach();
- this._panelToolbar = new WebInspector.Toolbar("hidden", this.element);
+ this._panelToolbar = new WebInspector.Toolbar("hidden", this.contentElement);
this._searchableView = new WebInspector.SearchableView(this);
- this._searchableView.show(this.element);
+ this._searchableView.show(this.contentElement);
var extensionView = new WebInspector.ExtensionView(server, this._id, pageURL, "extension");
extensionView.show(this._searchableView.element);

Powered by Google App Engine
This is Rietveld 408576698