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

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

Issue 922083002: Add initializeFromShellProxy to application.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/examples/dart-mojo.sky » ('j') | sky/examples/dart-mojo.sky » ('J')
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 846bac18da9813852fddd24085ad3ad67484a137..87e51c9156dd486ba581016991892cb7c4981880 100644
--- a/mojo/public/dart/src/application.dart
+++ b/mojo/public/dart/src/application.dart
@@ -88,6 +88,13 @@ abstract class Application {
void initialize(List<String> args, String url) {}
+ // TODO(skydart): This is a temporary fix to allow sky application to consume
+ // mojo services. Do not use for any other purpose.
zra 2015/02/13 07:14:23 thanks for adding this.
+ void initializeFromShellProxy(shell_mojom.ShellProxy shellProxy,
+ List<String> args, String url) {
+ _applicationImpl.initialize(shellProxy, args, url);
+ }
+
// Establishes a connection to the app at |url|.
ApplicationConnection connectToApplication(String url) {
var serviceProviderProxy =
« no previous file with comments | « no previous file | sky/examples/dart-mojo.sky » ('j') | sky/examples/dart-mojo.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698