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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "core/events/Event.h" | 43 #include "core/events/Event.h" |
44 #include "core/events/EventUtil.h" | 44 #include "core/events/EventUtil.h" |
45 #include "core/events/PointerEvent.h" | 45 #include "core/events/PointerEvent.h" |
46 #include "core/frame/LocalDOMWindow.h" | 46 #include "core/frame/LocalDOMWindow.h" |
47 #include "core/frame/PerformanceMonitor.h" | 47 #include "core/frame/PerformanceMonitor.h" |
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 "platform/wtf/PtrUtil.h" |
54 #include "wtf/StdLibExtras.h" | 54 #include "platform/wtf/StdLibExtras.h" |
55 #include "wtf/Threading.h" | 55 #include "platform/wtf/Threading.h" |
56 #include "wtf/Vector.h" | 56 #include "platform/wtf/Vector.h" |
57 | 57 |
58 namespace blink { | 58 namespace blink { |
59 namespace { | 59 namespace { |
60 | 60 |
61 enum PassiveForcedListenerResultType { | 61 enum PassiveForcedListenerResultType { |
62 kPreventDefaultNotCalled, | 62 kPreventDefaultNotCalled, |
63 kDocumentLevelTouchPreventDefaultCalled, | 63 kDocumentLevelTouchPreventDefaultCalled, |
64 kPassiveForcedListenerResultTypeMax | 64 kPassiveForcedListenerResultTypeMax |
65 }; | 65 }; |
66 | 66 |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 // they have one less listener to invoke. | 775 // they have one less listener to invoke. |
776 if (d->firing_event_iterators) { | 776 if (d->firing_event_iterators) { |
777 for (const auto& iterator : *d->firing_event_iterators) { | 777 for (const auto& iterator : *d->firing_event_iterators) { |
778 iterator.iterator = 0; | 778 iterator.iterator = 0; |
779 iterator.end = 0; | 779 iterator.end = 0; |
780 } | 780 } |
781 } | 781 } |
782 } | 782 } |
783 | 783 |
784 } // namespace blink | 784 } // namespace blink |
OLD | NEW |