OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 1121 |
1122 #if ENABLE(TOUCH_EVENTS) | 1122 #if ENABLE(TOUCH_EVENTS) |
1123 bool hasTouchEventHandlers() const { return (m_touchEventTargets.get()) ? m_
touchEventTargets->size() : false; } | 1123 bool hasTouchEventHandlers() const { return (m_touchEventTargets.get()) ? m_
touchEventTargets->size() : false; } |
1124 #else | 1124 #else |
1125 bool hasTouchEventHandlers() const { return false; } | 1125 bool hasTouchEventHandlers() const { return false; } |
1126 #endif | 1126 #endif |
1127 | 1127 |
1128 void didAddTouchEventHandler(Node*); | 1128 void didAddTouchEventHandler(Node*); |
1129 void didRemoveTouchEventHandler(Node*); | 1129 void didRemoveTouchEventHandler(Node*); |
1130 | 1130 |
1131 #if ENABLE(TOUCH_EVENT_TRACKING) | 1131 #if ENABLE(TOUCH_EVENTS) |
1132 void didRemoveEventTargetNode(Node*); | 1132 void didRemoveEventTargetNode(Node*); |
1133 #endif | 1133 #endif |
1134 | 1134 |
1135 #if ENABLE(TOUCH_EVENTS) | 1135 #if ENABLE(TOUCH_EVENTS) |
1136 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa
rgets.get(); } | 1136 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa
rgets.get(); } |
1137 #else | 1137 #else |
1138 const TouchEventTargetSet* touchEventTargets() const { return 0; } | 1138 const TouchEventTargetSet* touchEventTargets() const { return 0; } |
1139 #endif | 1139 #endif |
1140 | 1140 |
1141 bool visualUpdatesAllowed() const { return m_visualUpdatesAllowed; } | 1141 bool visualUpdatesAllowed() const { return m_visualUpdatesAllowed; } |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1591 trackForDebugging(); | 1591 trackForDebugging(); |
1592 #endif | 1592 #endif |
1593 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1593 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
1594 } | 1594 } |
1595 | 1595 |
1596 Node* eventTargetNodeForDocument(Document*); | 1596 Node* eventTargetNodeForDocument(Document*); |
1597 | 1597 |
1598 } // namespace WebCore | 1598 } // namespace WebCore |
1599 | 1599 |
1600 #endif // Document_h | 1600 #endif // Document_h |
OLD | NEW |