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 ResizeObserver_h | 5 #ifndef ResizeObserver_h |
6 #define ResizeObserver_h | 6 #define ResizeObserver_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/CoreExport.h" |
9 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
10 | 11 |
11 namespace blink { | 12 namespace blink { |
12 | 13 |
13 class Document; | 14 class Document; |
14 class Element; | 15 class Element; |
15 class ResizeObserverCallback; | 16 class ResizeObserverCallback; |
16 class ResizeObserverController; | 17 class ResizeObserverController; |
17 class ResizeObservation; | 18 class ResizeObservation; |
18 | 19 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // True if observations were skipped gatherObservations | 56 // True if observations were skipped gatherObservations |
56 bool skipped_observations_; | 57 bool skipped_observations_; |
57 // True if any ResizeObservation reported size change | 58 // True if any ResizeObservation reported size change |
58 bool element_size_changed_; | 59 bool element_size_changed_; |
59 WeakMember<ResizeObserverController> controller_; | 60 WeakMember<ResizeObserverController> controller_; |
60 }; | 61 }; |
61 | 62 |
62 } // namespace blink | 63 } // namespace blink |
63 | 64 |
64 #endif // ResizeObserver_h | 65 #endif // ResizeObserver_h |
OLD | NEW |