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 DOMWindowPerformance_h | 5 #ifndef DOMWindowPerformance_h |
6 #define DOMWindowPerformance_h | 6 #define DOMWindowPerformance_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
11 #include "wtf/Noncopyable.h" | 11 #include "platform/wtf/Noncopyable.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class LocalDOMWindow; | 15 class LocalDOMWindow; |
16 class Performance; | 16 class Performance; |
17 | 17 |
18 class CORE_EXPORT DOMWindowPerformance final | 18 class CORE_EXPORT DOMWindowPerformance final |
19 : public GarbageCollected<DOMWindowPerformance>, | 19 : public GarbageCollected<DOMWindowPerformance>, |
20 public Supplement<LocalDOMWindow> { | 20 public Supplement<LocalDOMWindow> { |
21 USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance); | 21 USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance); |
(...skipping 10 matching lines...) Expand all Loading... |
32 static const char* SupplementName(); | 32 static const char* SupplementName(); |
33 | 33 |
34 Performance* performance(); | 34 Performance* performance(); |
35 | 35 |
36 Member<Performance> performance_; | 36 Member<Performance> performance_; |
37 }; | 37 }; |
38 | 38 |
39 } // namespace blink | 39 } // namespace blink |
40 | 40 |
41 #endif // DOMWindowPerformance_h | 41 #endif // DOMWindowPerformance_h |
OLD | NEW |