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

Unified Diff: mojo/public/dart/src/application.dart

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 | « no previous file | sky/engine/bindings2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/src/application.dart
diff --git a/mojo/public/dart/src/application.dart b/mojo/public/dart/src/application.dart
index 2819625a30c74782a1ae52e3344e67c08d60674a..9f32473e2b8e1e980076f949c0ae53097606043f 100644
--- a/mojo/public/dart/src/application.dart
+++ b/mojo/public/dart/src/application.dart
@@ -68,6 +68,13 @@ abstract class Application {
_applicationImpl = new _ApplicationImpl.fromHandle(this, appHandle);
}
+ // TODO(skydart): This is a temporary fix to allow sky application to consume
+ // mojo services. Do not use for any other purpose.
+ void initializeFromShellProxy(shell_mojom.ShellProxy shellProxy,
+ List<String> args) {
+ _applicationImpl.initialize(shellProxy, args);
+ }
+
void initialize(List<String> args) {}
void connectToService(String url, bindings.Proxy proxy) {
« no previous file with comments | « no previous file | sky/engine/bindings2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698