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

Unified Diff: sky/services/keyboard/keyboard.mojom

Issue 995613002: Implement a basic IME-aware input element (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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();
+};
« no previous file with comments | « sky/services/keyboard/BUILD.gn ('k') | sky/services/keyboard/org/domokit/keyboard/InputConnectionAdaptor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698