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

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

Issue 2902553002: DevTools: migrate EventListenersSidebarPane 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/EventListenerBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
index 22bf79b169c9be2e53fb2313dad1f3c684741ee3..42f6ec88f65f105ad94a92b134968366885871b1 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
@@ -6,14 +6,13 @@
*/
Sources.EventListenerBreakpointsSidebarPane = class extends UI.VBox {
constructor() {
- super();
+ super(true);
this.registerRequiredCSS('components/breakpointsList.css');
this._categoriesTreeOutline = new UI.TreeOutlineInShadow();
this._categoriesTreeOutline.element.tabIndex = 0;
- this._categoriesTreeOutline.element.classList.add('event-listener-breakpoints');
this._categoriesTreeOutline.registerRequiredCSS('sources/eventListenerBreakpoints.css');
- this.element.appendChild(this._categoriesTreeOutline.element);
+ this.contentElement.appendChild(this._categoriesTreeOutline.element);
/** @type {!Map<string, !Sources.EventListenerBreakpointsSidebarPane.Item>} */
this._categories = new Map();

Powered by Google App Engine
This is Rietveld 408576698