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

Unified Diff: examples/echo_terminal/terminal_client.mojom

Issue 999193002: Add a simple prototype "terminal" example. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review comments Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/echo_terminal/main.cc ('k') | sky/examples/terminal/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo_terminal/terminal_client.mojom
diff --git a/examples/echo_terminal/terminal_client.mojom b/examples/echo_terminal/terminal_client.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..81aa02c8019f1370329344ae07f56ab10c70e249
--- /dev/null
+++ b/examples/echo_terminal/terminal_client.mojom
@@ -0,0 +1,17 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// TODO(vtl): Move this file somewhere sensible.
+
+module mojo.terminal;
+
+import "services/files/file.mojom";
+
+// Interface for applications that want to be able to be connected to by a
+// terminal. (Once connected, such an application will be able to write to/read
+// from the terminal by performing the corresponding operations on the provided
+// "file".)
+interface TerminalClient {
+ ConnectToTerminal(mojo.files.File terminal);
+};
« no previous file with comments | « examples/echo_terminal/main.cc ('k') | sky/examples/terminal/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698