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

Side by Side Diff: mojo/services/ui/views/interfaces/view_provider.mojom

Issue 1834533002: Fix generated dart bindings for view_provider. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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 | « mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.ui; 6 module mojo.ui;
7 7
8 import "mojo/public/interfaces/application/service_provider.mojom"; 8 import "mojo/public/interfaces/application/service_provider.mojom";
9 import "mojo/services/ui/views/interfaces/views.mojom"; 9 import "mojo/services/ui/views/interfaces/views.mojom";
10 import "mojo/services/ui/views/interfaces/view_token.mojom";
10 11
11 // Provides a View upon request. 12 // Provides a View upon request.
12 // 13 //
13 // Applications should implement and expose this service so that they can 14 // Applications should implement and expose this service so that they can
14 // expose views to be embedded into other applications. 15 // expose views to be embedded into other applications.
15 [ServiceName="mojo::ui::ViewProvider"] 16 [ServiceName="mojo::ui::ViewProvider"]
16 interface ViewProvider { 17 interface ViewProvider {
17 // Creates and registers a view with the view manager and returns its 18 // Creates and registers a view with the view manager and returns its
18 // view owner which may subsequently be passed to |View.AddChild()| 19 // view owner which may subsequently be passed to |View.AddChild()|
19 // to attach the view to a view hierarchy. 20 // to attach the view to a view hierarchy.
20 // 21 //
21 // Implementors of this interface are responsible for creating the view 22 // Implementors of this interface are responsible for creating the view
22 // and forwarding the |view_owner| interface request to 23 // and forwarding the |view_owner| interface request to
23 // |ViewManager.CreateView()|. 24 // |ViewManager.CreateView()|.
24 // 25 //
25 // The caller may provide services to the view via the |services| 26 // The caller may provide services to the view via the |services|
26 // service provider. 27 // service provider.
27 // 28 //
28 // The caller may receive services from the view via the |exposed_services| 29 // The caller may receive services from the view via the |exposed_services|
29 // service provider. 30 // service provider.
30 CreateView(ViewOwner& view_owner, 31 CreateView(ViewOwner& view_owner,
31 mojo.ServiceProvider&? services, 32 mojo.ServiceProvider&? services,
32 mojo.ServiceProvider? exposed_services); 33 mojo.ServiceProvider? exposed_services);
33 }; 34 };
OLDNEW
« no previous file with comments | « mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698