OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "core/frame/HostsUsingFeatures.h" | 28 #include "core/frame/HostsUsingFeatures.h" |
29 #include "core/frame/UseCounter.h" | 29 #include "core/frame/UseCounter.h" |
30 #include "core/svg/SVGElement.h" | 30 #include "core/svg/SVGElement.h" |
31 #include "core/timing/DOMWindowPerformance.h" | 31 #include "core/timing/DOMWindowPerformance.h" |
32 #include "core/timing/Performance.h" | 32 #include "core/timing/Performance.h" |
33 #include "wtf/CurrentTime.h" | 33 #include "wtf/CurrentTime.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 static bool isEventTypeScopedInV0(const AtomicString& eventType) { | 37 static bool isEventTypeScopedInV0(const AtomicString& eventType) { |
38 // WebKit never allowed selectstart event to cross the the shadow DOM boundary
. | 38 // WebKit never allowed selectstart event to cross the the shadow DOM |
39 // Changing this breaks existing sites. | 39 // boundary. Changing this breaks existing sites. |
40 // See https://bugs.webkit.org/show_bug.cgi?id=52195 for details. | 40 // See https://bugs.webkit.org/show_bug.cgi?id=52195 for details. |
41 return eventType == EventTypeNames::abort || | 41 return eventType == EventTypeNames::abort || |
42 eventType == EventTypeNames::change || | 42 eventType == EventTypeNames::change || |
43 eventType == EventTypeNames::error || | 43 eventType == EventTypeNames::error || |
44 eventType == EventTypeNames::load || | 44 eventType == EventTypeNames::load || |
45 eventType == EventTypeNames::reset || | 45 eventType == EventTypeNames::reset || |
46 eventType == EventTypeNames::resize || | 46 eventType == EventTypeNames::resize || |
47 eventType == EventTypeNames::scroll || | 47 eventType == EventTypeNames::scroll || |
48 eventType == EventTypeNames::select || | 48 eventType == EventTypeNames::select || |
49 eventType == EventTypeNames::selectstart || | 49 eventType == EventTypeNames::selectstart || |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 } | 364 } |
365 | 365 |
366 DEFINE_TRACE(Event) { | 366 DEFINE_TRACE(Event) { |
367 visitor->trace(m_currentTarget); | 367 visitor->trace(m_currentTarget); |
368 visitor->trace(m_target); | 368 visitor->trace(m_target); |
369 visitor->trace(m_underlyingEvent); | 369 visitor->trace(m_underlyingEvent); |
370 visitor->trace(m_eventPath); | 370 visitor->trace(m_eventPath); |
371 } | 371 } |
372 | 372 |
373 } // namespace blink | 373 } // namespace blink |
OLD | NEW |