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

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

Issue 1454363002: Close tooltip for |title| attribute on any keyboard event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DOCTYPE Created 5 years, 1 month 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: 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 fc6b6c83c39df4e0e8e3b3eb93b303e48157a417..8523b0e6e601bb369dc6d87a4fba64c0b56ed0f9 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -3151,6 +3151,7 @@ bool EventHandler::handleAccessKey(const PlatformKeyboardEvent& evt)
bool EventHandler::keyEvent(const PlatformKeyboardEvent& initialKeyEvent)
{
RefPtrWillBeRawPtr<FrameView> protector(m_frame->view());
+ m_frame->chromeClient().setToolTip(String(), LTR);
if (initialKeyEvent.windowsVirtualKeyCode() == VK_CAPITAL)
capsLockStateMayHaveChanged();
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/html/tooltip-close.html ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698