diff options
Diffstat (limited to 'WebCore/dom/Document.h')
-rw-r--r-- | WebCore/dom/Document.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/dom/Document.h b/WebCore/dom/Document.h index fa3d9fb..41a486a 100644 --- a/WebCore/dom/Document.h +++ b/WebCore/dom/Document.h @@ -136,6 +136,11 @@ class XPathResult; struct DashboardRegionValue; #endif +#if ENABLE(TOUCH_EVENTS) +class Touch; +class TouchList; +#endif + typedef int ExceptionCode; class FormElementKey { @@ -1041,6 +1046,11 @@ public: void decrementLoadEventDelayCount(); bool isDelayingLoadEvent() const { return m_loadEventDelayCount; } +#if ENABLE(TOUCH_EVENTS) + PassRefPtr<Touch> createTouch(DOMWindow*, Node*, int identifier, int pageX, int pageY, int screenX, int screenY, ExceptionCode&) const; + PassRefPtr<TouchList> createTouchList(ExceptionCode&) const; +#endif + protected: Document(Frame*, const KURL& url, bool isXHTML, bool isHTML, const KURL& baseURL = KURL()); |