blob: d3beefa46bd36fa4ae5f264846bc848ed49f4d20 [file] [log] [blame]
// Copyright 2013 The Flutter 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 FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_
#define FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_
#include "flutter/fml/macros.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "third_party/tonic/dart_library_natives.h"
namespace blink {
class DartRuntimeHooks {
public:
static void Install(bool is_ui_isolate, const std::string& script_uri);
static void RegisterNatives(tonic::DartLibraryNatives* natives);
private:
FML_DISALLOW_IMPLICIT_CONSTRUCTORS(DartRuntimeHooks);
};
} // namespace blink
#endif // FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_