OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 24 matching lines...) Expand all Loading... | |
35 #include "core/CoreExport.h" | 35 #include "core/CoreExport.h" |
36 #include "core/dom/ContextLifecycleObserver.h" | 36 #include "core/dom/ContextLifecycleObserver.h" |
37 #include "core/frame/PerformanceMonitor.h" | 37 #include "core/frame/PerformanceMonitor.h" |
38 #include "core/timing/MemoryInfo.h" | 38 #include "core/timing/MemoryInfo.h" |
39 #include "core/timing/PerformanceBase.h" | 39 #include "core/timing/PerformanceBase.h" |
40 #include "core/timing/PerformanceNavigation.h" | 40 #include "core/timing/PerformanceNavigation.h" |
41 #include "core/timing/PerformanceTiming.h" | 41 #include "core/timing/PerformanceTiming.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 using PerformanceServerTimingVector = | |
46 HeapVector<Member<PerformanceServerTiming>>; | |
Yoav Weiss
2017/06/29 06:57:33
Remove the definition from here and define it in a
| |
47 | |
45 class ScriptState; | 48 class ScriptState; |
46 class ScriptValue; | 49 class ScriptValue; |
47 | 50 |
48 class CORE_EXPORT Performance final : public PerformanceBase, | 51 class CORE_EXPORT Performance final : public PerformanceBase, |
49 public PerformanceMonitor::Client, | 52 public PerformanceMonitor::Client, |
50 public DOMWindowClient { | 53 public DOMWindowClient { |
51 DEFINE_WRAPPERTYPEINFO(); | 54 DEFINE_WRAPPERTYPEINFO(); |
52 USING_GARBAGE_COLLECTED_MIXIN(Performance); | 55 USING_GARBAGE_COLLECTED_MIXIN(Performance); |
53 friend class PerformanceTest; | 56 friend class PerformanceTest; |
54 | 57 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 ExecutionContext* task_context, | 89 ExecutionContext* task_context, |
87 bool has_multiple_contexts) override; | 90 bool has_multiple_contexts) override; |
88 | 91 |
89 mutable Member<PerformanceNavigation> navigation_; | 92 mutable Member<PerformanceNavigation> navigation_; |
90 mutable Member<PerformanceTiming> timing_; | 93 mutable Member<PerformanceTiming> timing_; |
91 }; | 94 }; |
92 | 95 |
93 } // namespace blink | 96 } // namespace blink |
94 | 97 |
95 #endif // Performance_h | 98 #endif // Performance_h |
OLD | NEW |