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 21 matching lines...) Expand all Loading... |
32 #include "config.h" | 32 #include "config.h" |
33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
34 | 34 |
35 #include "bindings/v8/ExceptionState.h" | 35 #include "bindings/v8/ExceptionState.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/NoEventDispatchAssertion.h" | 37 #include "core/dom/NoEventDispatchAssertion.h" |
38 #include "core/editing/Editor.h" | 38 #include "core/editing/Editor.h" |
39 #include "core/events/Event.h" | 39 #include "core/events/Event.h" |
40 #include "core/inspector/InspectorInstrumentation.h" | 40 #include "core/inspector/InspectorInstrumentation.h" |
41 #include "core/frame/LocalDOMWindow.h" | 41 #include "core/frame/LocalDOMWindow.h" |
| 42 #include "core/frame/UseCounter.h" |
42 #include "platform/RuntimeEnabledFeatures.h" | 43 #include "platform/RuntimeEnabledFeatures.h" |
43 #include "wtf/StdLibExtras.h" | 44 #include "wtf/StdLibExtras.h" |
44 #include "wtf/Vector.h" | 45 #include "wtf/Vector.h" |
45 | 46 |
46 using namespace WTF; | 47 using namespace WTF; |
47 | 48 |
48 namespace WebCore { | 49 namespace WebCore { |
49 | 50 |
50 EventTargetData::EventTargetData() | 51 EventTargetData::EventTargetData() |
51 { | 52 { |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 // they have one less listener to invoke. | 373 // they have one less listener to invoke. |
373 if (d->firingEventIterators) { | 374 if (d->firingEventIterators) { |
374 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { | 375 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { |
375 d->firingEventIterators->at(i).iterator = 0; | 376 d->firingEventIterators->at(i).iterator = 0; |
376 d->firingEventIterators->at(i).end = 0; | 377 d->firingEventIterators->at(i).end = 0; |
377 } | 378 } |
378 } | 379 } |
379 } | 380 } |
380 | 381 |
381 } // namespace WebCore | 382 } // namespace WebCore |
OLD | NEW |