Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 }; |
| OLD | NEW |