| 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 12 matching lines...) Expand all Loading... |
| 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/dom/FocusEvent.h" | 27 #include "core/dom/FocusEvent.h" |
| 28 | 28 |
| 29 #include "core/dom/Event.h" | 29 #include "core/dom/Event.h" |
| 30 #include "core/dom/EventDispatcher.h" | 30 #include "core/dom/EventDispatcher.h" |
| 31 #include "core/dom/EventNames.h" | 31 #include "core/dom/EventNames.h" |
| 32 #include "core/dom/EventRetargeter.h" | 32 #include "core/dom/EventRetargeter.h" |
| 33 #include "core/dom/Node.h" | |
| 34 | 33 |
| 35 namespace WebCore { | 34 namespace WebCore { |
| 36 | 35 |
| 37 FocusEventInit::FocusEventInit() | 36 FocusEventInit::FocusEventInit() |
| 38 : relatedTarget(0) | 37 : relatedTarget(0) |
| 39 { | 38 { |
| 40 } | 39 } |
| 41 | 40 |
| 42 const AtomicString& FocusEvent::interfaceName() const | 41 const AtomicString& FocusEvent::interfaceName() const |
| 43 { | 42 { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 { | 125 { |
| 127 } | 126 } |
| 128 | 127 |
| 129 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst | 128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst |
| 130 { | 129 { |
| 131 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event()); | 130 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event()); |
| 132 return EventDispatchMediator::dispatchEvent(dispatcher); | 131 return EventDispatchMediator::dispatchEvent(dispatcher); |
| 133 } | 132 } |
| 134 | 133 |
| 135 } // namespace WebCore | 134 } // namespace WebCore |
| OLD | NEW |