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

Unified Diff: Source/core/loader/FrameLoader.cpp

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index bbe5048c680bfec8bdea9d0b3de571bcc097afcb..e32fdeec32e1d1a953cac1004b5870100a50f951 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -1700,8 +1700,10 @@ void FrameLoader::transitionToCommitted(PassRefPtr<CachedPage> cachedPage)
setState(FrameStateCommittedPage);
+#if ENABLE(TOUCH_EVENTS)
if (isLoadingMainFrame())
m_frame->page()->chrome()->client()->needTouchEvents(false);
+#endif
// Handle adding the URL to the back/forward list.
DocumentLoader* dl = m_documentLoader.get();
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698