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

Side by Side Diff: Source/core/timing/PerformanceObserverCallback.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 PerformanceObserverCallback_h
6 #define PerformanceObserverCallback_h
7
8 #include "platform/heap/Handle.h"
9 #include "wtf/RefPtr.h"
10
11 namespace blink {
12
13 class ExecutionContext;
14 class PerformanceObserverEntryList;
15 class PerformanceObserver;
16
17 class PerformanceObserverCallback : public GarbageCollectedFinalized<Performance ObserverCallback> {
18 public:
19 virtual ~PerformanceObserverCallback() { }
20
21 virtual void handleEvent(PerformanceObserverEntryList*, PerformanceObserver* ) = 0;
22 virtual ExecutionContext* executionContext() const = 0;
23
24 DEFINE_INLINE_VIRTUAL_TRACE() { }
25 };
26
27 }
28
29 #endif // PerformanceObserverCallback_h
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceObserver.idl ('k') | Source/core/timing/PerformanceObserverEntryList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698