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

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

Issue 1198863006: First version of PerformanceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review comments Created 5 years, 3 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PerformanceObserverEntryList_h
6 #define PerformanceObserverEntryList_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/PassRefPtr.h"
11 #include "wtf/RefCounted.h"
12 #include "wtf/text/WTFString.h"
13
14 namespace blink {
15
16 class PerformanceEntry;
17 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
18
19 class PerformanceObserverEntryList : public GarbageCollectedFinalized<Performanc eObserverEntryList>, public ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO();
21 public:
22 PerformanceObserverEntryList(const PerformanceEntryVector&);
23
24 virtual ~PerformanceObserverEntryList();
25
26 PerformanceEntryVector getEntries() const;
27 PerformanceEntryVector getEntriesByType(const String& entryType);
28 PerformanceEntryVector getEntriesByName(const String& name, const String& en tryType);
29
30 DECLARE_TRACE();
31
32 protected:
33 PerformanceEntryVector m_performanceEntries;
34 };
35
36 } // namespace blink
37
38 #endif // PerformanceObserverEntryList_h
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceObserverCallback.h ('k') | Source/core/timing/PerformanceObserverEntryList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698