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

Unified Diff: Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js

Issue 669113002: DevTools: replace mouseout with mouseleave where possible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing 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/sources/WatchExpressionsSidebarPane.js
diff --git a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
index ed3ddfaca99c10a97a3d92340e02a9393a994ae8..443fa62f62201bbbed8de4fe53a07ffbc840c35e 100644
--- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -124,7 +124,7 @@ WebInspector.WatchExpressionsSection = function()
this.propertiesElement.classList.add("watch-expressions");
this.element.addEventListener("mousemove", this._mouseMove.bind(this), true);
- this.element.addEventListener("mouseout", this._mouseOut.bind(this), true);
+ this.element.addEventListener("mouseleave", this._mouseLeave.bind(this), true);
this.element.addEventListener("dblclick", this._sectionDoubleClick.bind(this), false);
this.emptyElement.addEventListener("contextmenu", this._emptyElementContextMenu.bind(this), false);
}
@@ -311,7 +311,7 @@ WebInspector.WatchExpressionsSection.prototype = {
this._updateHoveredElement(e.pageY);
},
- _mouseOut: function()
+ _mouseLeave: function()
{
if (this._hoveredElement) {
this._hoveredElement.classList.remove("hovered");
« no previous file with comments | « Source/devtools/front_end/sources/BreakpointsSidebarPane.js ('k') | Source/devtools/front_end/timeline/CountersGraph.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698