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

Side by Side Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 1042853004: [DevTools] Event Listeners Sidebar shows window listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Extracted eventListenersTreeOutline.css Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 this._matchedStylesFilterBoxContainer.className = "sidebar-pane-filter-box"; 74 this._matchedStylesFilterBoxContainer.className = "sidebar-pane-filter-box";
75 this.sidebarPanes.styles.setFilterBoxContainer(this._matchedStylesFilterBoxC ontainer); 75 this.sidebarPanes.styles.setFilterBoxContainer(this._matchedStylesFilterBoxC ontainer);
76 76
77 this._computedStylesFilterBoxContainer = createElement("div"); 77 this._computedStylesFilterBoxContainer = createElement("div");
78 this._computedStylesFilterBoxContainer.className = "sidebar-pane-filter-box" ; 78 this._computedStylesFilterBoxContainer.className = "sidebar-pane-filter-box" ;
79 this.sidebarPanes.computedStyle.setFilterBoxContainer(this._computedStylesFi lterBoxContainer); 79 this.sidebarPanes.computedStyle.setFilterBoxContainer(this._computedStylesFi lterBoxContainer);
80 80
81 this.sidebarPanes.metrics = new WebInspector.MetricsSidebarPane(); 81 this.sidebarPanes.metrics = new WebInspector.MetricsSidebarPane();
82 this.sidebarPanes.properties = new WebInspector.PropertiesSidebarPane(); 82 this.sidebarPanes.properties = new WebInspector.PropertiesSidebarPane();
83 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr eateProxy(this); 83 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr eateProxy(this);
84 this.sidebarPanes.eventListeners = new WebInspector.EventListenersSidebarPan e(); 84 this.sidebarPanes.eventListeners = new WebInspector.DOMEventListenersSidebar Pane();
85 if (Runtime.experiments.isEnabled("animationInspection")) 85 if (Runtime.experiments.isEnabled("animationInspection"))
86 this.sidebarPanes.animations = new WebInspector.AnimationsSidebarPane(); 86 this.sidebarPanes.animations = new WebInspector.AnimationsSidebarPane();
87 87
88 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve nts.DockSideChanged, this._dockSideChanged.bind(this)); 88 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve nts.DockSideChanged, this._dockSideChanged.bind(this));
89 WebInspector.moduleSetting("splitVerticallyWhenDockedToRight").addChangeList ener(this._dockSideChanged.bind(this)); 89 WebInspector.moduleSetting("splitVerticallyWhenDockedToRight").addChangeList ener(this._dockSideChanged.bind(this));
90 this._dockSideChanged(); 90 this._dockSideChanged();
91 this._loadSidebarViews(); 91 this._loadSidebarViews();
92 92
93 /** @type {!Array.<!WebInspector.ElementsTreeOutline>} */ 93 /** @type {!Array.<!WebInspector.ElementsTreeOutline>} */
94 this._treeOutlines = []; 94 this._treeOutlines = [];
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 WebInspector.ElementsPanelFactory.prototype = { 1111 WebInspector.ElementsPanelFactory.prototype = {
1112 /** 1112 /**
1113 * @override 1113 * @override
1114 * @return {!WebInspector.Panel} 1114 * @return {!WebInspector.Panel}
1115 */ 1115 */
1116 createPanel: function() 1116 createPanel: function()
1117 { 1117 {
1118 return WebInspector.ElementsPanel.instance(); 1118 return WebInspector.ElementsPanel.instance();
1119 } 1119 }
1120 } 1120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698