| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 } | 216 } |
| 217 } else if (toLocalDOMWindow()) { | 217 } else if (toLocalDOMWindow()) { |
| 218 options.setPassive(true); | 218 options.setPassive(true); |
| 219 options.setPassiveForcedForDocumentTarget(true); | 219 options.setPassiveForcedForDocumentTarget(true); |
| 220 return; | 220 return; |
| 221 } | 221 } |
| 222 } | 222 } |
| 223 } | 223 } |
| 224 | 224 |
| 225 if (Settings* settings = windowSettings(executingWindow())) { | 225 if (Settings* settings = windowSettings(executingWindow())) { |
| 226 switch (settings->passiveListenerDefault()) { | 226 switch (settings->getPassiveListenerDefault()) { |
| 227 case PassiveListenerDefault::False: | 227 case PassiveListenerDefault::False: |
| 228 if (!options.hasPassive()) | 228 if (!options.hasPassive()) |
| 229 options.setPassive(false); | 229 options.setPassive(false); |
| 230 break; | 230 break; |
| 231 case PassiveListenerDefault::True: | 231 case PassiveListenerDefault::True: |
| 232 if (!options.hasPassive()) | 232 if (!options.hasPassive()) |
| 233 options.setPassive(true); | 233 options.setPassive(true); |
| 234 break; | 234 break; |
| 235 case PassiveListenerDefault::ForceAllTrue: | 235 case PassiveListenerDefault::ForceAllTrue: |
| 236 options.setPassive(true); | 236 options.setPassive(true); |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 // they have one less listener to invoke. | 760 // they have one less listener to invoke. |
| 761 if (d->firingEventIterators) { | 761 if (d->firingEventIterators) { |
| 762 for (const auto& iterator : *d->firingEventIterators) { | 762 for (const auto& iterator : *d->firingEventIterators) { |
| 763 iterator.iterator = 0; | 763 iterator.iterator = 0; |
| 764 iterator.end = 0; | 764 iterator.end = 0; |
| 765 } | 765 } |
| 766 } | 766 } |
| 767 } | 767 } |
| 768 | 768 |
| 769 } // namespace blink | 769 } // namespace blink |
| OLD | NEW |