| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2014 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 * | 24 * |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef NodeEventContext_h | 27 #ifndef NodeEventContext_h |
| 28 #define NodeEventContext_h | 28 #define NodeEventContext_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/events/TreeScopeEventContext.h" | 31 #include "core/events/TreeScopeEventContext.h" |
| 32 #include "wtf/PassRefPtr.h" | 32 #include "platform/wtf/PassRefPtr.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "platform/wtf/RefPtr.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class EventTarget; | 37 class EventTarget; |
| 38 class Node; | 38 class Node; |
| 39 class TouchEventContext; | 39 class TouchEventContext; |
| 40 | 40 |
| 41 class CORE_EXPORT NodeEventContext { | 41 class CORE_EXPORT NodeEventContext { |
| 42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 43 | 43 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 74 Member<Node> node_; | 74 Member<Node> node_; |
| 75 Member<EventTarget> current_target_; | 75 Member<EventTarget> current_target_; |
| 76 Member<TreeScopeEventContext> tree_scope_event_context_; | 76 Member<TreeScopeEventContext> tree_scope_event_context_; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace blink | 79 } // namespace blink |
| 80 | 80 |
| 81 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::NodeEventContext); | 81 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::NodeEventContext); |
| 82 | 82 |
| 83 #endif // NodeEventContext_h | 83 #endif // NodeEventContext_h |
| OLD | NEW |