| OLD | NEW |
| 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.terminal; | 6 module mojo.terminal; |
| 7 | 7 |
| 8 import "files/interfaces/file.mojom"; | 8 import "files/interfaces/file.mojom"; |
| 9 | 9 |
| 10 // Interface for applications that want to be able to be connected to by a | 10 // Interface for applications that want to be able to be connected to by a |
| 11 // terminal. (Once connected, such an application will be able to write to/read | 11 // terminal. (Once connected, such an application will be able to write to/read |
| 12 // from the terminal by performing the corresponding operations on the provided | 12 // from the terminal by performing the corresponding operations on the provided |
| 13 // "file".) | 13 // "file".) |
| 14 interface TerminalClient { | 14 interface TerminalClient { |
| 15 ConnectToTerminal(mojo.files.File terminal); | 15 ConnectToTerminal(mojo.files.File terminal); |
| 16 }; | 16 }; |
| OLD | NEW |