| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IntersectionObserverEntry_h | 5 #ifndef IntersectionObserverEntry_h |
| 6 #define IntersectionObserverEntry_h | 6 #define IntersectionObserverEntry_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/ClientRect.h" | 9 #include "core/dom/ClientRect.h" |
| 10 #include "core/dom/DOMHighResTimeStamp.h" | 10 #include "core/dom/DOMHighResTimeStamp.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 ClientRect* intersectionRect() const { return m_intersectionRect; } | 27 ClientRect* intersectionRect() const { return m_intersectionRect; } |
| 28 Element* target() const { return m_target.get(); } | 28 Element* target() const { return m_target.get(); } |
| 29 | 29 |
| 30 DECLARE_VIRTUAL_TRACE(); | 30 DECLARE_VIRTUAL_TRACE(); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 DOMHighResTimeStamp m_time; | 33 DOMHighResTimeStamp m_time; |
| 34 Member<ClientRect> m_boundingClientRect; | 34 Member<ClientRect> m_boundingClientRect; |
| 35 Member<ClientRect> m_rootBounds; | 35 Member<ClientRect> m_rootBounds; |
| 36 Member<ClientRect> m_intersectionRect; | 36 Member<ClientRect> m_intersectionRect; |
| 37 RefPtrWillBeMember<Element> m_target; | 37 Member<Element> m_target; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace blink | 40 } // namespace blink |
| 41 | 41 |
| 42 #endif // IntersectionObserverEntry_h | 42 #endif // IntersectionObserverEntry_h |
| OLD | NEW |