Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1962)

Unified Diff: sky/engine/bindings2/builtin.cc

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: cr comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings2/builtin.h ('k') | sky/engine/bindings2/mojo_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings2/builtin.cc
diff --git a/sky/engine/bindings2/builtin.cc b/sky/engine/bindings2/builtin.cc
index 9cb928d09a0134e03718e02ff7c3f7ad8e6cad77..d1f4c8e88c20038f6b506e053de2495a60e5da36 100644
--- a/sky/engine/bindings2/builtin.cc
+++ b/sky/engine/bindings2/builtin.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "dart/runtime/include/dart_api.h"
#include "gen/sky/bindings/DartGlobal.h"
+#include "mojo_natives.h"
#include "sky/engine/bindings2/builtin_natives.h"
#include "sky/engine/bindings2/builtin_sky.h"
@@ -25,6 +26,8 @@ const LibraryDescriptor kBuiltinLibraries[] = {
/* { url_, has_natives_, native_symbol_, native_resolver_ } */
{"dart:sky_builtin", true, BuiltinNatives::NativeSymbol, BuiltinNatives::NativeLookup},
{"dart:sky", true, skySnapshotSymbolizer, skySnapshotResolver},
+ {"dart:mojo_bindings", false, nullptr, nullptr},
+ {"dart:mojo_core", true, MojoNativeSymbol, MojoNativeLookup},
};
} // namespace
« no previous file with comments | « sky/engine/bindings2/builtin.h ('k') | sky/engine/bindings2/mojo_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698