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

Unified Diff: Source/devtools/front_end/components/ObjectPropertiesSection.js

Issue 1154703005: [DevTools] Added window listeners to EventListenersSidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@extract-event-listeners-tree-outline
Patch Set: Test fixed Created 5 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: Source/devtools/front_end/components/ObjectPropertiesSection.js
diff --git a/Source/devtools/front_end/components/ObjectPropertiesSection.js b/Source/devtools/front_end/components/ObjectPropertiesSection.js
index 9ffc15ca93c4c4c6ade75ed2c9df80ad8e260339..99c95524c09587edbdd0f6e40ceb4d280c1ea7c1 100644
--- a/Source/devtools/front_end/components/ObjectPropertiesSection.js
+++ b/Source/devtools/front_end/components/ObjectPropertiesSection.js
@@ -1147,6 +1147,7 @@ WebInspector.ObjectPropertiesSection.createValueElement = function(value, wasThr
if (type === "object" && subtype === "node" && description) {
WebInspector.DOMPresentationUtils.createSpansForNodeTitle(valueElement, description);
+ valueElement.addEventListener("click", WebInspector.Revealer.reveal.bind(WebInspector.Revealer, value, undefined), false);
pfeldman 2015/05/25 16:25:16 Make sure you consume the click.
kozy 2015/05/25 18:03:30 Done.
valueElement.addEventListener("mousemove", mouseMove, false);
valueElement.addEventListener("mouseleave", mouseLeave, false);
} else {

Powered by Google App Engine
This is Rietveld 408576698