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

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

Issue 2517253002: Drop down list closes on touch scroll/pinch zoom (Closed)
Patch Set: Created 4 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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 1330049612f6d59aee3d227ebb56d73fec288375..48d72447376241c672bb0e0d7b528591bf2bab3a 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -904,6 +904,8 @@ WebInputEventResult WebViewImpl::handleGestureEvent(
case WebInputEvent::GestureShowPress:
m_client->cancelScheduledContentIntents();
case WebInputEvent::GestureTapDown:
+ // Touch pinch zoom and scroll must hide the popup.
bokan 2016/11/21 20:14:36 Is this comment meant to be a TODO? If so add TODO
sahel 2016/11/21 20:41:44 No, it's not a todo, it's the reason for adding th
bokan 2016/11/21 21:09:17 Where does the translation happen from GesturePinc
sahel 2016/11/22 14:31:06 I believe there isn't any translations. In gesture
bokan 2016/11/22 16:00:08 Ah, ok thanks. I didn't know that. (Please add a c
sahel 2016/11/24 15:29:25 Done.
+ hidePopups();
case WebInputEvent::GestureTapCancel:
case WebInputEvent::GestureTapUnconfirmed: {
eventResult = mainFrameImpl()->frame()->eventHandler().handleGestureEvent(

Powered by Google App Engine
This is Rietveld 408576698