From 8b69ec781c68f4bbaccf6245ef1d562eed206be8 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Mon, 22 Jun 2009 14:16:36 -0400 Subject: Remove ANDROID_USER_GESTURE as the bug it fixed no longer applies. I tested the original bug and found that without this change, the link works perfectly fine. The only thing that does not work with this change is redirects within iframes that are to non-http protocols. This is ok since iframes can always change the parent window's location if this is the desired behavior. --- WebCore/page/FrameLoadRequest.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'WebCore/page') diff --git a/WebCore/page/FrameLoadRequest.h b/WebCore/page/FrameLoadRequest.h index 0f92c45..b84a1ec 100644 --- a/WebCore/page/FrameLoadRequest.h +++ b/WebCore/page/FrameLoadRequest.h @@ -33,26 +33,17 @@ namespace WebCore { struct FrameLoadRequest { public: FrameLoadRequest() -#ifdef ANDROID_USER_GESTURE - : m_wasUserGesture(true) -#endif { } FrameLoadRequest(const ResourceRequest& resourceRequest) : m_resourceRequest(resourceRequest) -#ifdef ANDROID_USER_GESTURE - , m_wasUserGesture(true) -#endif { } FrameLoadRequest(const ResourceRequest& resourceRequest, const String& frameName) : m_resourceRequest(resourceRequest) , m_frameName(frameName) -#ifdef ANDROID_USER_GESTURE - , m_wasUserGesture(true) -#endif { } @@ -64,17 +55,9 @@ namespace WebCore { const String& frameName() const { return m_frameName; } void setFrameName(const String& frameName) { m_frameName = frameName; } -#ifdef ANDROID_USER_GESTURE - void setWasUserGesture(bool wasUserGesture) { m_wasUserGesture = wasUserGesture; } - bool wasUserGesture() const { return m_wasUserGesture; } -#endif - private: ResourceRequest m_resourceRequest; String m_frameName; -#ifdef ANDROID_USER_GESTURE - bool m_wasUserGesture; -#endif }; } -- cgit v1.1