Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: Source/core/timing/DOMWindowPerformance.h

Issue 940843003: InlinedVisitor: Migrate timing to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/timing/DOMWindowPerformance.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/frame/DOMWindowProperty.h" 8 #include "core/frame/DOMWindowProperty.h"
9 #include "platform/Supplementable.h" 9 #include "platform/Supplementable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class DOMWindow; 14 class DOMWindow;
15 class Performance; 15 class Performance;
16 16
17 class DOMWindowPerformance final : public NoBaseWillBeGarbageCollected<DOMWindow Performance>, public WillBeHeapSupplement<LocalDOMWindow>, public DOMWindowPrope rty { 17 class DOMWindowPerformance final : public NoBaseWillBeGarbageCollected<DOMWindow Performance>, public WillBeHeapSupplement<LocalDOMWindow>, public DOMWindowPrope rty {
18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance); 18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance);
19 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPerformance); 19 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPerformance);
20 public: 20 public:
21 static DOMWindowPerformance& from(LocalDOMWindow&); 21 static DOMWindowPerformance& from(LocalDOMWindow&);
22 static Performance* performance(DOMWindow&); 22 static Performance* performance(DOMWindow&);
23 23
24 void trace(Visitor*); 24 DECLARE_TRACE();
25 25
26 private: 26 private:
27 explicit DOMWindowPerformance(LocalDOMWindow&); 27 explicit DOMWindowPerformance(LocalDOMWindow&);
28 static const char* supplementName(); 28 static const char* supplementName();
29 29
30 Performance* performance(); 30 Performance* performance();
31 31
32 LocalDOMWindow& m_window; 32 LocalDOMWindow& m_window;
33 RefPtrWillBeMember<Performance> m_performance; 33 RefPtrWillBeMember<Performance> m_performance;
34 }; 34 };
35 35
36 } // namespace blink 36 } // namespace blink
37 37
38 #endif // DOMWindowPerformance_h 38 #endif // DOMWindowPerformance_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/timing/DOMWindowPerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698