| Index: Source/core/page/EventHandler.h
|
| diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
|
| index c9dea498f8a055e487a033bc601daf550ed9ac5c..5ca0416bd5717cbad48784fafbe05dfa18778f32 100644
|
| --- a/Source/core/page/EventHandler.h
|
| +++ b/Source/core/page/EventHandler.h
|
| @@ -39,10 +39,13 @@
|
| #include "Timer.h"
|
| #include "UserGestureIndicator.h"
|
| #include <wtf/Forward.h>
|
| -#include <wtf/HashMap.h>
|
| #include <wtf/OwnPtr.h>
|
| #include <wtf/RefPtr.h>
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| +#include <wtf/HashMap.h>
|
| +#endif
|
| +
|
| namespace WebCore {
|
|
|
| class AutoscrollController;
|
| @@ -203,7 +206,9 @@ public:
|
| void sendResizeEvent(); // Only called in FrameView
|
| void sendScrollEvent(); // Ditto
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| bool handleTouchEvent(const PlatformTouchEvent&);
|
| +#endif
|
|
|
| bool useHandCursor(Node*, bool isOverLink, bool shiftKey);
|
|
|
| @@ -242,8 +247,10 @@ private:
|
|
|
| bool isInsideScrollbar(const IntPoint&) const;
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| bool dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent&);
|
| HitTestResult hitTestResultInFrame(Frame*, const LayoutPoint&, HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::DisallowShadowContent);
|
| +#endif
|
|
|
| void invalidateClick();
|
|
|
| @@ -378,11 +385,13 @@ private:
|
|
|
| RefPtr<Node> m_previousWheelScrolledNode;
|
|
|
| +#if ENABLE(TOUCH_EVENTS)
|
| typedef HashMap<int, RefPtr<EventTarget> > TouchTargetMap;
|
| TouchTargetMap m_originatingTouchPointTargets;
|
| RefPtr<Document> m_originatingTouchPointDocument;
|
| unsigned m_originatingTouchPointTargetKey;
|
| bool m_touchPressed;
|
| +#endif
|
|
|
| RefPtr<Node> m_scrollGestureHandlingNode;
|
| bool m_lastHitTestResultOverWidget;
|
|
|