Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 0cfd6712f3b22b0ea5b416b9d4c44deea5559b68..2e362558f8ac949f6c4b7d6646023b0c9501d5c8 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -193,8 +193,6 @@ enum NodeListInvalidationType { |
}; |
const int numNodeListInvalidationTypes = InvalidateOnAnyAttrChange + 1; |
-typedef HashCountedSet<Node*> TouchEventTargetSet; |
- |
enum DocumentClass { |
DefaultDocumentClass = 0, |
HTMLDocumentClass = 1, |
@@ -950,21 +948,6 @@ public: |
double lastHandledUserGestureTimestamp() const { return m_lastHandledUserGestureTimestamp; } |
void resetLastHandledUserGestureTimestamp(); |
- bool hasTouchEventHandlers() const { return (m_touchEventTargets.get()) ? m_touchEventTargets->size() : false; } |
- |
- // Called when a single touch event handler has been added or removed for a node. |
- // The Node should always be in this Document, except for child Documents which report |
- // themselves to their parent exactly once if they have any touch handlers. |
- // Handlers added/removed from the DOMWindow are reported as the Document. |
- void didAddTouchEventHandler(Node*); |
- void didRemoveTouchEventHandler(Node* handler) { didRemoveTouchEventHandler(handler, false); } |
- |
- // Called whenever all touch event handlers have been removed for a node (such as when the |
- // node itself is being removed from the document). |
- void didClearTouchEventHandlers(Node* handler) { didRemoveTouchEventHandler(handler, true); } |
- |
- const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTargets.get(); } |
- |
bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } |
IntSize initialViewportSize() const; |
@@ -1149,8 +1132,6 @@ private: |
void processHttpEquivXFrameOptions(const AtomicString& content); |
void processHttpEquivContentSecurityPolicy(const AtomicString& equiv, const AtomicString& content); |
- void didRemoveTouchEventHandler(Node*, bool clearAll); |
- |
bool needsRenderTreeUpdate() const; |
bool shouldScheduleRenderTreeUpdate() const; |
@@ -1320,8 +1301,6 @@ private: |
bool m_writeRecursionIsTooDeep; |
unsigned m_writeRecursionDepth; |
- OwnPtr<TouchEventTargetSet> m_touchEventTargets; |
- |
double m_lastHandledUserGestureTimestamp; |
RefPtr<ScriptedAnimationController> m_scriptedAnimationController; |