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

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

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 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 unified diff | Download patch
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 module mojo; 5 module mojo.shell.mojom;
6 6
7 import "mojo/shell/public/interfaces/service_provider.mojom"; 7 import "mojo/shell/public/interfaces/service_provider.mojom";
8 import "mojo/shell/public/interfaces/shell.mojom"; 8 import "mojo/shell/public/interfaces/shell.mojom";
9 9
10 // This is the primary interface implemented by every Mojo application. It 10 // This is the primary interface implemented by every Mojo application. It
11 // allows the application to receive its startup arguments from the shell, and 11 // allows the application to receive its startup arguments from the shell, and
12 // to be notified of events that occur during its execution. 12 // to be notified of events that occur during its execution.
13 // 13 //
14 // TODO(aa): It would be good to reorder the parameters once we have interface 14 // TODO(aa): It would be good to reorder the parameters once we have interface
15 // versioning. 15 // versioning.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // no services to the connecting application. When this parameter contains 56 // no services to the connecting application. When this parameter contains
57 // only the single string value "*" the application may expose all of its 57 // only the single string value "*" the application may expose all of its
58 // services to the connecting application. 58 // services to the connecting application.
59 // 59 //
60 // |resolved_url| is the URL that was requested to create this connection, 60 // |resolved_url| is the URL that was requested to create this connection,
61 // after all mappings, resolutions, and redirects. This will include any 61 // after all mappings, resolutions, and redirects. This will include any
62 // querystring that was part of the request. 62 // querystring that was part of the request.
63 // 63 //
64 AcceptConnection(string requestor_url, 64 AcceptConnection(string requestor_url,
65 uint32 requestor_id, 65 uint32 requestor_id,
66 ServiceProvider&? services, 66 mojo.ServiceProvider&? services,
67 ServiceProvider? exposed_services, 67 mojo.ServiceProvider? exposed_services,
68 array<string> allowed_interfaces, 68 array<string> allowed_interfaces,
69 string resolved_url); 69 string resolved_url);
70 70
71 // Called by the shell in response to calling Shell's QuitApplication. The 71 // Called by the shell in response to calling Shell's QuitApplication. The
72 // application should run the callback with true if shutdown can proceed. 72 // application should run the callback with true if shutdown can proceed.
73 // See Shell::QuitApplication for details about shutdown workflow. 73 // See Shell::QuitApplication for details about shutdown workflow.
74 OnQuitRequested() => (bool can_quit); 74 OnQuitRequested() => (bool can_quit);
75 }; 75 };
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/lib/service_registry.cc ('k') | mojo/shell/public/interfaces/application_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698