mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
eec74e5c92
Some components in the Flutter engine were derived from the forked blink codebase. While the forked components have either been removed or rewritten, the use of the blink namespace has mostly (and inconsistently) remained. This renames the blink namesapce to flutter for consistency. There are no functional changes in this patch.
26 lines
736 B
C++
26 lines
736 B
C++
// 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 flutter {
|
|
|
|
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 flutter
|
|
|
|
#endif // FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_
|