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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 FocusEventInit::FocusEventInit() | 36 FocusEventInit::FocusEventInit() |
37 : relatedTarget(0) | 37 : relatedTarget(0) |
38 { | 38 { |
39 } | 39 } |
40 | 40 |
41 const AtomicString& FocusEvent::interfaceName() const | 41 const AtomicString& FocusEvent::interfaceName() const |
42 { | 42 { |
43 return eventNames().interfaceForFocusEvent; | 43 return EventNames::FocusEvent; |
44 } | 44 } |
45 | 45 |
46 bool FocusEvent::isFocusEvent() const | 46 bool FocusEvent::isFocusEvent() const |
47 { | 47 { |
48 return true; | 48 return true; |
49 } | 49 } |
50 | 50 |
51 FocusEvent::FocusEvent() | 51 FocusEvent::FocusEvent() |
52 { | 52 { |
53 ScriptWrappable::init(this); | 53 ScriptWrappable::init(this); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 { | 125 { |
126 } | 126 } |
127 | 127 |
128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst | 128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c
onst |
129 { | 129 { |
130 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event()); | 130 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event()); |
131 return EventDispatchMediator::dispatchEvent(dispatcher); | 131 return EventDispatchMediator::dispatchEvent(dispatcher); |
132 } | 132 } |
133 | 133 |
134 } // namespace WebCore | 134 } // namespace WebCore |
OLD | NEW |