| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "core/frame/Settings.h" | 48 #include "core/frame/Settings.h" |
| 49 #include "core/frame/UseCounter.h" | 49 #include "core/frame/UseCounter.h" |
| 50 #include "core/probe/CoreProbes.h" | 50 #include "core/probe/CoreProbes.h" |
| 51 #include "platform/EventDispatchForbiddenScope.h" | 51 #include "platform/EventDispatchForbiddenScope.h" |
| 52 #include "platform/Histogram.h" | 52 #include "platform/Histogram.h" |
| 53 #include "wtf/PtrUtil.h" | 53 #include "wtf/PtrUtil.h" |
| 54 #include "wtf/StdLibExtras.h" | 54 #include "wtf/StdLibExtras.h" |
| 55 #include "wtf/Threading.h" | 55 #include "wtf/Threading.h" |
| 56 #include "wtf/Vector.h" | 56 #include "wtf/Vector.h" |
| 57 | 57 |
| 58 using namespace WTF; | |
| 59 | |
| 60 namespace blink { | 58 namespace blink { |
| 61 namespace { | 59 namespace { |
| 62 | 60 |
| 63 enum PassiveForcedListenerResultType { | 61 enum PassiveForcedListenerResultType { |
| 64 PreventDefaultNotCalled, | 62 PreventDefaultNotCalled, |
| 65 DocumentLevelTouchPreventDefaultCalled, | 63 DocumentLevelTouchPreventDefaultCalled, |
| 66 PassiveForcedListenerResultTypeMax | 64 PassiveForcedListenerResultTypeMax |
| 67 }; | 65 }; |
| 68 | 66 |
| 69 Event::PassiveMode eventPassiveMode( | 67 Event::PassiveMode eventPassiveMode( |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 // they have one less listener to invoke. | 769 // they have one less listener to invoke. |
| 772 if (d->firingEventIterators) { | 770 if (d->firingEventIterators) { |
| 773 for (const auto& iterator : *d->firingEventIterators) { | 771 for (const auto& iterator : *d->firingEventIterators) { |
| 774 iterator.iterator = 0; | 772 iterator.iterator = 0; |
| 775 iterator.end = 0; | 773 iterator.end = 0; |
| 776 } | 774 } |
| 777 } | 775 } |
| 778 } | 776 } |
| 779 | 777 |
| 780 } // namespace blink | 778 } // namespace blink |
| OLD | NEW |