OLD | NEW |
(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 |
OLD | NEW |