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/PointerEventManager.cpp

Issue 2392773002: Reenable framebusting deprecation, change it to allow navigation if iframe has ever had a user gestu (Closed)
Patch Set: Fix faliing content_browsertest Created 4 years, 2 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
Index: third_party/WebKit/Source/core/input/PointerEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
index 9c1c959f29b6ab4c7e62e0a7f90508fdc5e12128..d4b8b11197d5f79b499d0d7bcc6875ccb4dbd14e 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
@@ -262,6 +262,7 @@ void PointerEventManager::unblockTouchPointers() {
WebInputEventResult PointerEventManager::handleTouchEvents(
const PlatformTouchEvent& event) {
+ m_frame->document()->setHasReceivedUserGesture();
if (event.type() == PlatformEvent::TouchScrollStarted) {
blockTouchPointers();
m_touchEventManager->setTouchScrollStarted();

Powered by Google App Engine
This is Rietveld 408576698