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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2681803002: blink: clear tooltips on frame leaves (Closed)
Patch Set: Created 3 years, 10 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 | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 1d310088b319f7e41adeae92c293a44ae30039d9..715e80ba8e9cac20d06680b0acd5fbe04b5dcd78 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -761,6 +761,9 @@ WebInputEventResult EventHandler::handleMouseMoveEvent(
void EventHandler::handleMouseLeaveEvent(const WebMouseEvent& event) {
TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent");
+ Page* page = m_frame->page();
+ if (page)
+ page->chromeClient().mouseDidLeave(*m_frame);
bokan 2017/02/07 22:36:25 just call chromeClient().clearToolTip() directly f
Elly Fong-Jones 2017/02/09 19:21:19 Done.
handleMouseMoveOrLeaveEvent(event, Vector<WebMouseEvent>(), 0, false, true);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698