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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js

Issue 2905603002: DO NOT COMMIT DevTools: migrate ObjectEventListeners to shadow (Closed)
Patch Set: Created 3 years, 7 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/sources/ObjectEventListenersSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
index 35440f10448a069a216c23e0779b8b6ed691ce39..620e2528a3de1cbe3190d48436ec8d634f72d1ac 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
@@ -8,13 +8,12 @@
Sources.ObjectEventListenersSidebarPane = class extends UI.VBox {
constructor() {
super();
- this.element.classList.add('event-listeners-sidebar-pane');
-
this._refreshButton = new UI.ToolbarButton(Common.UIString('Refresh'), 'largeicon-refresh');
this._refreshButton.addEventListener(UI.ToolbarButton.Events.Click, this._refreshClick, this);
this._refreshButton.setEnabled(false);
- this._eventListenersView = new EventListeners.EventListenersView(this.element, this.update.bind(this));
+ this._eventListenersView = new EventListeners.EventListenersView(this.update.bind(this));
+ this._eventListenersView.show(this.element);
}
/**

Powered by Google App Engine
This is Rietveld 408576698