Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: third_party/WebKit/Source/core/events/EventTarget.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventDispatcher.cpp ('k') | third_party/WebKit/Source/core/events/NavigatorEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698