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

Side by Side Diff: mojo/public/interfaces/application/application.mojom

Issue 1071693003: Uses mojom module names as Dart's package: import URI (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/public/interfaces/application/service_provider.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartUriBase="mojo/public/interfaces/application"]
jamesr 2015/04/09 22:02:34 why can't this be derived from the path to the fil
zra 2015/04/09 22:20:55 In the Mojo repo this file is under //mojo/public/
5 module mojo; 6 module mojo;
6 7
7 import "mojo/public/interfaces/application/service_provider.mojom"; 8 import "mojo/public/interfaces/application/service_provider.mojom";
8 import "mojo/public/interfaces/application/shell.mojom"; 9 import "mojo/public/interfaces/application/shell.mojom";
9 10
10 // This is the primary interface implemented by every Mojo application. It 11 // This is the primary interface implemented by every Mojo application. It
11 // allows the application to receive its startup arguments from the shell, and 12 // allows the application to receive its startup arguments from the shell, and
12 // to be notified of events that occur during its execution. 13 // to be notified of events that occur during its execution.
13 // 14 //
14 // TODO(aa): It would be good to reorder the parameters once we have interface 15 // TODO(aa): It would be good to reorder the parameters once we have interface
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // all mappings, resolutions, and redirects. This will include any querystring 51 // all mappings, resolutions, and redirects. This will include any querystring
51 // that was part of the request. 52 // that was part of the request.
52 AcceptConnection(string requestor_url, 53 AcceptConnection(string requestor_url,
53 ServiceProvider&? services, 54 ServiceProvider&? services,
54 ServiceProvider? exposed_services, 55 ServiceProvider? exposed_services,
55 string resolved_url); 56 string resolved_url);
56 57
57 // Called to request the application shut itself down gracefully. 58 // Called to request the application shut itself down gracefully.
58 RequestQuit(); 59 RequestQuit();
59 }; 60 };
OLDNEW
« no previous file with comments | « no previous file | mojo/public/interfaces/application/service_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698