| 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 13 matching lines...) Expand all Loading... |
| 24 * | 24 * |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef TreeScopeEventContext_h | 27 #ifndef TreeScopeEventContext_h |
| 28 #define TreeScopeEventContext_h | 28 #define TreeScopeEventContext_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/Node.h" | 31 #include "core/dom/Node.h" |
| 32 #include "core/dom/TreeScope.h" | 32 #include "core/dom/TreeScope.h" |
| 33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
| 34 #include "wtf/PassRefPtr.h" | |
| 35 #include "wtf/RefPtr.h" | |
| 36 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
| 37 | 35 |
| 38 namespace blink { | 36 namespace blink { |
| 39 | 37 |
| 40 class EventPath; | 38 class EventPath; |
| 41 class EventTarget; | 39 class EventTarget; |
| 42 class Node; | 40 class Node; |
| 43 template <typename NodeType> class StaticNodeTypeList; | 41 template <typename NodeType> class StaticNodeTypeList; |
| 44 using StaticNodeList = StaticNodeTypeList<Node>; | 42 using StaticNodeList = StaticNodeTypeList<Node>; |
| 45 class TouchEventContext; | 43 class TouchEventContext; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 { | 136 { |
| 139 ASSERT(m_preOrder != -1 && m_postOrder != -1 && other.m_preOrder != -1 && ot
her.m_postOrder != -1); | 137 ASSERT(m_preOrder != -1 && m_postOrder != -1 && other.m_preOrder != -1 && ot
her.m_postOrder != -1); |
| 140 return (m_preOrder < other.m_preOrder && m_postOrder < other.m_preOrder) | 138 return (m_preOrder < other.m_preOrder && m_postOrder < other.m_preOrder) |
| 141 || (m_preOrder > other.m_preOrder && m_preOrder > other.m_postOrder); | 139 || (m_preOrder > other.m_preOrder && m_preOrder > other.m_postOrder); |
| 142 } | 140 } |
| 143 #endif | 141 #endif |
| 144 | 142 |
| 145 } // namespace blink | 143 } // namespace blink |
| 146 | 144 |
| 147 #endif // TreeScopeEventContext_h | 145 #endif // TreeScopeEventContext_h |
| OLD | NEW |