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

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

Issue 2558113002: Drop-down closes via tap/touch again. (Closed)
Patch Set: Always reset the m_lastHiddenPopUp at the end of a GestureTap Created 4 years 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.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 66a0cfa7bd7eaba8db52d73f268d62a72507fae9..c8ecf5a2ba8d73fe403c7299e629858485b38f6f 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -667,6 +667,11 @@ class WEB_EXPORT WebViewImpl final
// The popup associated with an input/select element.
RefPtr<WebPagePopupImpl> m_pagePopup;
+ // This stores the last hidden page popup. If a GestureTap attempts to open
+ // the popup that is closed by its previous GestureTapDown, the popup remains
+ // closed.
+ RefPtr<WebPagePopupImpl> m_lastHiddenPagePopup;
+
Persistent<DevToolsEmulator> m_devToolsEmulator;
std::unique_ptr<PageOverlay> m_pageColorOverlay;

Powered by Google App Engine
This is Rietveld 408576698