OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/events/FocusEvent.h" | 27 #include "core/events/FocusEvent.h" |
28 | 28 |
29 #include "core/events/Event.h" | 29 #include "core/events/Event.h" |
30 #include "core/events/EventDispatcher.h" | 30 #include "core/events/EventDispatcher.h" |
31 #include "core/events/ThreadLocalEventNames.h" | |
32 | 31 |
33 namespace WebCore { | 32 namespace WebCore { |
34 | 33 |
35 FocusEventInit::FocusEventInit() | 34 FocusEventInit::FocusEventInit() |
36 : relatedTarget(nullptr) | 35 : relatedTarget(nullptr) |
37 { | 36 { |
38 } | 37 } |
39 | 38 |
40 const AtomicString& FocusEvent::interfaceName() const | 39 const AtomicString& FocusEvent::interfaceName() const |
41 { | 40 { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 { | 128 { |
130 } | 129 } |
131 | 130 |
132 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst | 131 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst |
133 { | 132 { |
134 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel
atedTarget()); | 133 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel
atedTarget()); |
135 return EventDispatchMediator::dispatchEvent(dispatcher); | 134 return EventDispatchMediator::dispatchEvent(dispatcher); |
136 } | 135 } |
137 | 136 |
138 } // namespace WebCore | 137 } // namespace WebCore |
OLD | NEW |