Index: sky/services/keyboard/keyboard.mojom |
diff --git a/sky/services/keyboard/keyboard.mojom b/sky/services/keyboard/keyboard.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c7d35cdda3bee4d9e16fa50605a013821e4b2aa |
--- /dev/null |
+++ b/sky/services/keyboard/keyboard.mojom |
@@ -0,0 +1,16 @@ |
+// 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. |
+ |
+module keyboard; |
+ |
+interface KeyboardClient { |
+ commitText(string text, int32 newCursorPosition); |
+ setComposingText(string text, int32 newCursorPosition); |
+ setComposingRegion(int32 start, int32 end); |
+}; |
+ |
+interface KeyboardService { |
+ Show(KeyboardClient client); |
+ Hide(); |
+}; |