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

Unified Diff: third_party/WebKit/Source/web/WebInputEventConversion.cpp

Issue 2839103002: Do not convert mouse move events to mouse leave or enter events in blink (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebInputEventConversion.cpp
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
index b30074369556e5b36a1629b59d02275f7c3f6d34..936003704fd85a41eff26a79012e8821778e0b5b 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
@@ -134,14 +134,6 @@ WebMouseEvent TransformWebMouseEvent(FrameView* frame_view,
const WebMouseEvent& event) {
WebMouseEvent result = event;
- // TODO(dtapuska): Remove this translation. In the past blink has
- // converted leaves into moves and not known about leaves. It should
- // be educated about them. crbug.com/686196
- if (event.GetType() == WebInputEvent::kMouseEnter ||
- event.GetType() == WebInputEvent::kMouseLeave) {
- result.SetType(WebInputEvent::kMouseMove);
- }
-
// TODO(dtapuska): Perhaps the event should be constructed correctly?
// crbug.com/686200
if (event.GetType() == WebInputEvent::kMouseUp) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698