| Index: Source/core/timing/PerformanceObserverCallback.h
|
| diff --git a/Source/core/timing/PerformanceObserverCallback.h b/Source/core/timing/PerformanceObserverCallback.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0cc4dd268eb8948ce5d37de91bbb298c55e23fd
|
| --- /dev/null
|
| +++ b/Source/core/timing/PerformanceObserverCallback.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PerformanceObserverCallback_h
|
| +#define PerformanceObserverCallback_h
|
| +
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/RefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class ExecutionContext;
|
| +class PerformanceObserverEntryList;
|
| +class PerformanceObserver;
|
| +
|
| +class PerformanceObserverCallback : public GarbageCollectedFinalized<PerformanceObserverCallback> {
|
| +public:
|
| + virtual ~PerformanceObserverCallback() { }
|
| +
|
| + virtual void handleEvent(PerformanceObserverEntryList*, PerformanceObserver*) = 0;
|
| + virtual ExecutionContext* executionContext() const = 0;
|
| +
|
| + DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| +};
|
| +
|
| +}
|
| +
|
| +#endif // PerformanceObserverCallback_h
|
|
|