OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 PerformanceObserverEntryList_h | 5 #ifndef PerformanceObserverEntryList_h |
6 #define PerformanceObserverEntryList_h | 6 #define PerformanceObserverEntryList_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "wtf/Forward.h" | 10 #include "platform/wtf/Forward.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class PerformanceEntry; | 14 class PerformanceEntry; |
15 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; | 15 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; |
16 | 16 |
17 class PerformanceObserverEntryList | 17 class PerformanceObserverEntryList |
18 : public GarbageCollectedFinalized<PerformanceObserverEntryList>, | 18 : public GarbageCollectedFinalized<PerformanceObserverEntryList>, |
19 public ScriptWrappable { | 19 public ScriptWrappable { |
20 DEFINE_WRAPPERTYPEINFO(); | 20 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 10 matching lines...) Expand all Loading... |
31 | 31 |
32 DECLARE_TRACE(); | 32 DECLARE_TRACE(); |
33 | 33 |
34 protected: | 34 protected: |
35 PerformanceEntryVector performance_entries_; | 35 PerformanceEntryVector performance_entries_; |
36 }; | 36 }; |
37 | 37 |
38 } // namespace blink | 38 } // namespace blink |
39 | 39 |
40 #endif // PerformanceObserverEntryList_h | 40 #endif // PerformanceObserverEntryList_h |
OLD | NEW |