summaryrefslogtreecommitdiffstats
path: root/WebCore/page/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/EventHandler.h')
-rw-r--r--WebCore/page/EventHandler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/page/EventHandler.h b/WebCore/page/EventHandler.h
index d24d803..5348502 100644
--- a/WebCore/page/EventHandler.h
+++ b/WebCore/page/EventHandler.h
@@ -28,6 +28,7 @@
#include "DragActions.h"
#include "FocusDirection.h"
+#include "HitTestRequest.h"
#include "PlatformMouseEvent.h"
#include "ScrollTypes.h"
#include "Timer.h"
@@ -106,9 +107,9 @@ public:
void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&);
#ifdef ANDROID_HITTEST_WITHSIZE
- HitTestResult hitTestResultAtPoint(const IntPoint&, bool allowShadowContent, bool ignoreClipping = false, HitTestScrollbars scrollbars = DontHitTestScrollbars, const IntSize& pointPadding = IntSize());
+ HitTestResult hitTestResultAtPoint(const IntPoint&, bool allowShadowContent, bool ignoreClipping = false, HitTestScrollbars scrollbars = DontHitTestScrollbars, int hitType = HitTestRequest::ReadOnly | HitTestRequest::Active, const IntSize& pointPadding = IntSize());
#else
- HitTestResult hitTestResultAtPoint(const IntPoint&, bool allowShadowContent, bool ignoreClipping = false, HitTestScrollbars scrollbars = DontHitTestScrollbars);
+ HitTestResult hitTestResultAtPoint(const IntPoint&, bool allowShadowContent, bool ignoreClipping = false, HitTestScrollbars scrollbars = DontHitTestScrollbars, int hitType = HitTestRequest::ReadOnly | HitTestRequest::Active);
#endif
bool mousePressed() const { return m_mousePressed; }
@@ -435,6 +436,7 @@ private:
#if ENABLE(TOUCH_EVENTS)
typedef HashMap<int, RefPtr<EventTarget> > TouchTargetMap;
TouchTargetMap m_originatingTouchPointTargets;
+ bool m_touchPressed;
#endif
};