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

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

Issue 669113002: DevTools: replace mouseout with mouseleave where possible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 e1b8c5cc92e9666f3f8db962e362e75b1b59e369..deb95f32ff4563237136d8c8717165d8fc6e40f7 100644
--- a/Source/devtools/front_end/components/ObjectPropertiesSection.js
+++ b/Source/devtools/front_end/components/ObjectPropertiesSection.js
@@ -246,8 +246,8 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
this.valueElement.addEventListener("contextmenu", this._contextMenuFired.bind(this, this.property.value), false);
if (type === "object" && subtype === "node" && description) {
WebInspector.DOMPresentationUtils.createSpansForNodeTitle(this.valueElement, description);
- this.valueElement.addEventListener("mousemove", this._mouseMove.bind(this, this.property.value), false);
- this.valueElement.addEventListener("mouseout", this._mouseOut.bind(this, this.property.value), false);
+ this.valueElement.addEventListener("mousemove", this._mouseMove.bind(this), false);
+ this.valueElement.addEventListener("mouseleave", this._mouseLeave.bind(this), false);
} else {
this.valueElement.title = description || "";
}
@@ -288,7 +288,7 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
this.property.value.highlightAsDOMNode();
},
- _mouseOut: function(event)
+ _mouseLeave: function(event)
{
this.property.value.hideDOMNodeHighlight();
},

Powered by Google App Engine
This is Rietveld 408576698