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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 EmptyAfterDispatch, | 235 EmptyAfterDispatch, |
236 NonEmptyAfterDispatch | 236 NonEmptyAfterDispatch |
237 }; | 237 }; |
238 | 238 |
239 HeapVector<Member<EventTarget>> pathInternal(ScriptState*, EventPathMode) co
nst; | 239 HeapVector<Member<EventTarget>> pathInternal(ScriptState*, EventPathMode) co
nst; |
240 | 240 |
241 AtomicString m_type; | 241 AtomicString m_type; |
242 unsigned m_canBubble:1; | 242 unsigned m_canBubble:1; |
243 unsigned m_cancelable:1; | 243 unsigned m_cancelable:1; |
244 unsigned m_composed:1; | 244 unsigned m_composed:1; |
| 245 unsigned m_isEventTypeScopedInV0:1; |
245 | 246 |
246 unsigned m_propagationStopped:1; | 247 unsigned m_propagationStopped:1; |
247 unsigned m_immediatePropagationStopped:1; | 248 unsigned m_immediatePropagationStopped:1; |
248 unsigned m_defaultPrevented:1; | 249 unsigned m_defaultPrevented:1; |
249 unsigned m_defaultHandled:1; | 250 unsigned m_defaultHandled:1; |
250 unsigned m_cancelBubble:1; | 251 unsigned m_cancelBubble:1; |
251 unsigned m_wasInitialized:1; | 252 unsigned m_wasInitialized:1; |
252 unsigned m_isTrusted : 1; | 253 unsigned m_isTrusted : 1; |
253 unsigned m_handlingPassive : 1; | 254 unsigned m_handlingPassive : 1; |
254 | 255 |
255 unsigned short m_eventPhase; | 256 unsigned short m_eventPhase; |
256 Member<EventTarget> m_currentTarget; | 257 Member<EventTarget> m_currentTarget; |
257 Member<EventTarget> m_target; | 258 Member<EventTarget> m_target; |
258 DOMTimeStamp m_createTime; | 259 DOMTimeStamp m_createTime; |
259 Member<Event> m_underlyingEvent; | 260 Member<Event> m_underlyingEvent; |
260 Member<EventPath> m_eventPath; | 261 Member<EventPath> m_eventPath; |
261 // The monotonic platform time in seconds, for input events it is the | 262 // The monotonic platform time in seconds, for input events it is the |
262 // event timestamp provided by the host OS and reported in the original | 263 // event timestamp provided by the host OS and reported in the original |
263 // WebInputEvent instance. | 264 // WebInputEvent instance. |
264 double m_platformTimeStamp; | 265 double m_platformTimeStamp; |
265 }; | 266 }; |
266 | 267 |
267 #define DEFINE_EVENT_TYPE_CASTS(typeName) \ | 268 #define DEFINE_EVENT_TYPE_CASTS(typeName) \ |
268 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t
ypeName()) | 269 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t
ypeName()) |
269 | 270 |
270 } // namespace blink | 271 } // namespace blink |
271 | 272 |
272 #endif // Event_h | 273 #endif // Event_h |
OLD | NEW |