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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 Event* underlyingEvent() const { return m_underlyingEvent.get(); } | 155 Event* underlyingEvent() const { return m_underlyingEvent.get(); } |
156 void setUnderlyingEvent(PassRefPtr<Event>); | 156 void setUnderlyingEvent(PassRefPtr<Event>); |
157 | 157 |
158 virtual bool storesResultAsString() const; | 158 virtual bool storesResultAsString() const; |
159 virtual void storeResult(const String&); | 159 virtual void storeResult(const String&); |
160 | 160 |
161 virtual Clipboard* clipboard() const { return 0; } | 161 virtual Clipboard* clipboard() const { return 0; } |
162 | 162 |
163 bool isBeingDispatched() const { return eventPhase(); } | 163 bool isBeingDispatched() const { return eventPhase(); } |
164 | 164 |
165 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | |
166 | |
167 virtual PassRefPtr<Event> cloneFor(HTMLIFrameElement*) const; | 165 virtual PassRefPtr<Event> cloneFor(HTMLIFrameElement*) const; |
168 | 166 |
169 protected: | 167 protected: |
170 Event(); | 168 Event(); |
171 Event(const AtomicString& type, bool canBubble, bool cancelable); | 169 Event(const AtomicString& type, bool canBubble, bool cancelable); |
172 Event(const AtomicString& type, const EventInit&); | 170 Event(const AtomicString& type, const EventInit&); |
173 | 171 |
174 virtual void receivedTarget(); | 172 virtual void receivedTarget(); |
175 bool dispatched() const { return m_target; } | 173 bool dispatched() const { return m_target; } |
176 | 174 |
(...skipping 12 matching lines...) Expand all Loading... |
189 EventTarget* m_currentTarget; | 187 EventTarget* m_currentTarget; |
190 RefPtr<EventTarget> m_target; | 188 RefPtr<EventTarget> m_target; |
191 DOMTimeStamp m_createTime; | 189 DOMTimeStamp m_createTime; |
192 | 190 |
193 RefPtr<Event> m_underlyingEvent; | 191 RefPtr<Event> m_underlyingEvent; |
194 }; | 192 }; |
195 | 193 |
196 } // namespace WebCore | 194 } // namespace WebCore |
197 | 195 |
198 #endif // Event_h | 196 #endif // Event_h |
OLD | NEW |