OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 bool defaultHandled() const { return m_defaultHandled; } | 150 bool defaultHandled() const { return m_defaultHandled; } |
151 void setDefaultHandled() { m_defaultHandled = true; } | 151 void setDefaultHandled() { m_defaultHandled = true; } |
152 | 152 |
153 bool cancelBubble() const { return m_cancelBubble; } | 153 bool cancelBubble() const { return m_cancelBubble; } |
154 void setCancelBubble(bool cancel) { m_cancelBubble = cancel; } | 154 void setCancelBubble(bool cancel) { m_cancelBubble = cancel; } |
155 | 155 |
156 Event* underlyingEvent() const { return m_underlyingEvent.get(); } | 156 Event* underlyingEvent() const { return m_underlyingEvent.get(); } |
157 void setUnderlyingEvent(PassRefPtr<Event>); | 157 void setUnderlyingEvent(PassRefPtr<Event>); |
158 | 158 |
159 EventPath& eventPath() { return m_eventPath; } | 159 EventPath& eventPath() { return m_eventPath; } |
| 160 PassRefPtr<NodeList> path() const; |
160 | 161 |
161 virtual bool storesResultAsString() const; | 162 virtual bool storesResultAsString() const; |
162 virtual void storeResult(const String&); | 163 virtual void storeResult(const String&); |
163 | 164 |
164 virtual Clipboard* clipboard() const { return 0; } | 165 virtual Clipboard* clipboard() const { return 0; } |
165 | 166 |
166 bool isBeingDispatched() const { return eventPhase(); } | 167 bool isBeingDispatched() const { return eventPhase(); } |
167 | 168 |
168 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 169 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
169 | 170 |
(...skipping 22 matching lines...) Expand all Loading... |
192 EventTarget* m_currentTarget; | 193 EventTarget* m_currentTarget; |
193 RefPtr<EventTarget> m_target; | 194 RefPtr<EventTarget> m_target; |
194 DOMTimeStamp m_createTime; | 195 DOMTimeStamp m_createTime; |
195 RefPtr<Event> m_underlyingEvent; | 196 RefPtr<Event> m_underlyingEvent; |
196 EventPath m_eventPath; | 197 EventPath m_eventPath; |
197 }; | 198 }; |
198 | 199 |
199 } // namespace WebCore | 200 } // namespace WebCore |
200 | 201 |
201 #endif // Event_h | 202 #endif // Event_h |
OLD | NEW |