| Index: sky/engine/bindings-dart/core/dart/DartScheduledAction.h
|
| diff --git a/sky/engine/bindings/core/v8/RetainedObjectInfo.h b/sky/engine/bindings-dart/core/dart/DartScheduledAction.h
|
| similarity index 78%
|
| copy from sky/engine/bindings/core/v8/RetainedObjectInfo.h
|
| copy to sky/engine/bindings-dart/core/dart/DartScheduledAction.h
|
| index 39c9bd1e1d6985fc06a20537ec751fda6b6301f4..c2592c778ab6bf0af1511cf087a40d87d7c8b567 100644
|
| --- a/sky/engine/bindings/core/v8/RetainedObjectInfo.h
|
| +++ b/sky/engine/bindings-dart/core/dart/DartScheduledAction.h
|
| @@ -28,18 +28,28 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef SKY_ENGINE_BINDINGS_CORE_V8_RETAINEDOBJECTINFO_H_
|
| -#define SKY_ENGINE_BINDINGS_CORE_V8_RETAINEDOBJECTINFO_H_
|
| +#ifndef DartScheduledAction_h
|
| +#define DartScheduledAction_h
|
|
|
| -#include "v8/include/v8-profiler.h"
|
| +#include "bindings/common/ScheduledAction.h"
|
| +
|
| +#include <dart_api.h>
|
|
|
| namespace blink {
|
|
|
| -class RetainedObjectInfo : public v8::RetainedObjectInfo {
|
| +class ExecutionContext;
|
| +
|
| +class DartScheduledAction : public ScheduledAction {
|
| public:
|
| - virtual intptr_t GetEquivalenceClass() = 0;
|
| + DartScheduledAction(Dart_Isolate, Dart_Handle action);
|
| + virtual ~DartScheduledAction();
|
| + virtual void execute(ExecutionContext*);
|
| +
|
| +private:
|
| + Dart_Isolate m_isolate;
|
| + Dart_PersistentHandle m_action;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // SKY_ENGINE_BINDINGS_CORE_V8_RETAINEDOBJECTINFO_H_
|
| +#endif // DartScheduledAction
|
|
|