| 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, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } else { | 274 } else { |
| 275 m_eventPath->initializeWith(node, this); | 275 m_eventPath->initializeWith(node, this); |
| 276 } | 276 } |
| 277 } | 277 } |
| 278 | 278 |
| 279 HeapVector<Member<EventTarget>> Event::path(ScriptState* scriptState) const | 279 HeapVector<Member<EventTarget>> Event::path(ScriptState* scriptState) const |
| 280 { | 280 { |
| 281 return pathInternal(scriptState, NonEmptyAfterDispatch); | 281 return pathInternal(scriptState, NonEmptyAfterDispatch); |
| 282 } | 282 } |
| 283 | 283 |
| 284 HeapVector<Member<EventTarget>> Event::deepPath(ScriptState* scriptState) const | 284 HeapVector<Member<EventTarget>> Event::composedPath(ScriptState* scriptState) co
nst |
| 285 { | 285 { |
| 286 return pathInternal(scriptState, EmptyAfterDispatch); | 286 return pathInternal(scriptState, EmptyAfterDispatch); |
| 287 } | 287 } |
| 288 | 288 |
| 289 HeapVector<Member<EventTarget>> Event::pathInternal(ScriptState* scriptState, Ev
entPathMode mode) const | 289 HeapVector<Member<EventTarget>> Event::pathInternal(ScriptState* scriptState, Ev
entPathMode mode) const |
| 290 { | 290 { |
| 291 if (m_target) | 291 if (m_target) |
| 292 HostsUsingFeatures::countHostOrIsolatedWorldHumanReadableName(scriptStat
e, *m_target, HostsUsingFeatures::Feature::EventPath); | 292 HostsUsingFeatures::countHostOrIsolatedWorldHumanReadableName(scriptStat
e, *m_target, HostsUsingFeatures::Feature::EventPath); |
| 293 | 293 |
| 294 if (!m_currentTarget) { | 294 if (!m_currentTarget) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 | 369 |
| 370 DEFINE_TRACE(Event) | 370 DEFINE_TRACE(Event) |
| 371 { | 371 { |
| 372 visitor->trace(m_currentTarget); | 372 visitor->trace(m_currentTarget); |
| 373 visitor->trace(m_target); | 373 visitor->trace(m_target); |
| 374 visitor->trace(m_underlyingEvent); | 374 visitor->trace(m_underlyingEvent); |
| 375 visitor->trace(m_eventPath); | 375 visitor->trace(m_eventPath); |
| 376 } | 376 } |
| 377 | 377 |
| 378 } // namespace blink | 378 } // namespace blink |
| OLD | NEW |