| 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" | |
| 9 #include "core/dom/ClientRect.h" | 8 #include "core/dom/ClientRect.h" |
| 10 #include "core/dom/DOMHighResTimeStamp.h" | 9 #include "core/dom/DOMHighResTimeStamp.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 #include "platform/geometry/IntRect.h" | 11 #include "platform/geometry/IntRect.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class Element; | 16 class Element; |
| 17 | 17 |
| 18 class IntersectionObserverEntry final | 18 class IntersectionObserverEntry final |
| 19 : public GarbageCollected<IntersectionObserverEntry>, | 19 : public GarbageCollected<IntersectionObserverEntry>, |
| 20 public ScriptWrappable { | 20 public ScriptWrappable { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 Member<ClientRect> bounding_client_rect_; | 45 Member<ClientRect> bounding_client_rect_; |
| 46 Member<ClientRect> root_bounds_; | 46 Member<ClientRect> root_bounds_; |
| 47 Member<ClientRect> intersection_rect_; | 47 Member<ClientRect> intersection_rect_; |
| 48 Member<Element> target_; | 48 Member<Element> target_; |
| 49 bool is_intersecting_; | 49 bool is_intersecting_; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| 53 | 53 |
| 54 #endif // IntersectionObserverEntry_h | 54 #endif // IntersectionObserverEntry_h |
| OLD | NEW |