OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 launcher; | 5 module launcher; |
6 | 6 |
| 7 import "mojo/services/native_viewport/interfaces/native_viewport.mojom"; |
| 8 import "mojo/services/ui/views/interfaces/view_provider.mojom"; |
| 9 |
7 // Private interface for the shell. Allows the shell to start an ui | 10 // Private interface for the shell. Allows the shell to start an ui |
8 // application. | 11 // application. |
9 [ServiceName="launcher::Launcher"] | 12 [ServiceName="launcher::Launcher"] |
10 interface Launcher { | 13 interface Launcher { |
11 Launch(string application_url); | 14 Launch(string application_url); |
| 15 // Displays the view provided by |view_provider| in the provided |viewport|. |
| 16 // Used by https://manganese.googlesource.com/. |
| 17 LaunchOnViewport(mojo.NativeViewport viewport, |
| 18 mojo.ui.ViewProvider view_provider); |
12 }; | 19 }; |
OLD | NEW |