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

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

Issue 1163253003: Clean up macros around DEFINE_EVENT_TARGET_REFCOUNTING (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/fileapi/FileReader.h ('k') | Source/modules/battery/BatteryManager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 class Document; 49 class Document;
50 class ExceptionState; 50 class ExceptionState;
51 class ResourceTimingInfo; 51 class ResourceTimingInfo;
52 class UserTiming; 52 class UserTiming;
53 53
54 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; 54 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
55 55
56 class CORE_EXPORT Performance final : public RefCountedGarbageCollectedEventTarg etWithInlineData<Performance>, public DOMWindowProperty { 56 class CORE_EXPORT Performance final : public RefCountedGarbageCollectedEventTarg etWithInlineData<Performance>, public DOMWindowProperty {
57 DEFINE_WRAPPERTYPEINFO(); 57 DEFINE_WRAPPERTYPEINFO();
58 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<P erformance>); 58 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(Performance);
59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Performance); 59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Performance);
60 public: 60 public:
61 static Performance* create(LocalFrame* frame) 61 static Performance* create(LocalFrame* frame)
62 { 62 {
63 return new Performance(frame); 63 return new Performance(frame);
64 } 64 }
65 virtual ~Performance(); 65 virtual ~Performance();
66 66
67 virtual const AtomicString& interfaceName() const override; 67 virtual const AtomicString& interfaceName() const override;
68 virtual ExecutionContext* executionContext() const override; 68 virtual ExecutionContext* executionContext() const override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 unsigned m_resourceTimingBufferSize; 118 unsigned m_resourceTimingBufferSize;
119 double m_referenceTime; 119 double m_referenceTime;
120 120
121 Member<MemoryInfo> m_memoryInfo; 121 Member<MemoryInfo> m_memoryInfo;
122 Member<UserTiming> m_userTiming; 122 Member<UserTiming> m_userTiming;
123 }; 123 };
124 124
125 } // namespace blink 125 } // namespace blink
126 126
127 #endif // Performance_h 127 #endif // Performance_h
OLDNEW
« no previous file with comments | « Source/core/fileapi/FileReader.h ('k') | Source/modules/battery/BatteryManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698