| 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 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 * | 29 * |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #include "config.h" | 32 #include "sky/engine/config.h" |
| 33 #include "core/events/EventTarget.h" | 33 #include "sky/engine/core/events/EventTarget.h" |
| 34 | 34 |
| 35 #include "bindings/core/v8/ExceptionState.h" | |
| 36 #include "core/dom/Document.h" | |
| 37 #include "core/dom/ExceptionCode.h" | |
| 38 #include "core/dom/ExecutionContext.h" | |
| 39 #include "core/editing/Editor.h" | |
| 40 #include "core/events/Event.h" | |
| 41 #include "core/frame/LocalDOMWindow.h" | |
| 42 #include "core/frame/UseCounter.h" | |
| 43 #include "platform/EventDispatchForbiddenScope.h" | |
| 44 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 35 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 45 #include "wtf/StdLibExtras.h" | 36 #include "sky/engine/bindings/core/v8/ExceptionState.h" |
| 46 #include "wtf/Vector.h" | 37 #include "sky/engine/core/dom/Document.h" |
| 38 #include "sky/engine/core/dom/ExceptionCode.h" |
| 39 #include "sky/engine/core/dom/ExecutionContext.h" |
| 40 #include "sky/engine/core/editing/Editor.h" |
| 41 #include "sky/engine/core/events/Event.h" |
| 42 #include "sky/engine/core/frame/LocalDOMWindow.h" |
| 43 #include "sky/engine/core/frame/UseCounter.h" |
| 44 #include "sky/engine/platform/EventDispatchForbiddenScope.h" |
| 45 #include "sky/engine/wtf/StdLibExtras.h" |
| 46 #include "sky/engine/wtf/Vector.h" |
| 47 | 47 |
| 48 using namespace WTF; | 48 using namespace WTF; |
| 49 | 49 |
| 50 namespace blink { | 50 namespace blink { |
| 51 | 51 |
| 52 EventTargetData::EventTargetData() | 52 EventTargetData::EventTargetData() |
| 53 { | 53 { |
| 54 } | 54 } |
| 55 | 55 |
| 56 EventTargetData::~EventTargetData() | 56 EventTargetData::~EventTargetData() |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 // they have one less listener to invoke. | 332 // they have one less listener to invoke. |
| 333 if (d->firingEventIterators) { | 333 if (d->firingEventIterators) { |
| 334 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { | 334 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { |
| 335 d->firingEventIterators->at(i).iterator = 0; | 335 d->firingEventIterators->at(i).iterator = 0; |
| 336 d->firingEventIterators->at(i).end = 0; | 336 d->firingEventIterators->at(i).end = 0; |
| 337 } | 337 } |
| 338 } | 338 } |
| 339 } | 339 } |
| 340 | 340 |
| 341 } // namespace blink | 341 } // namespace blink |
| OLD | NEW |