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

Unified Diff: blimp/common/proto/ime.proto

Issue 1779673003: Added network components for blimp text input feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: blimp/common/proto/ime.proto
diff --git a/blimp/common/proto/ime.proto b/blimp/common/proto/ime.proto
new file mode 100644
index 0000000000000000000000000000000000000000..53c2244bb27a98e3b2fcb00620331c8c5149a0a5
--- /dev/null
+++ b/blimp/common/proto/ime.proto
@@ -0,0 +1,28 @@
+// Copyright 2016 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.
+//
+// Message definitions for text input messages.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package blimp;
+
+message ImeMessage {
+ enum Type {
+ UNKNOWN = 0;
+
+ // Server => Client types.
+ SHOW_IME = 1;
+ HIDE_IME = 2;
+ SHOW_TEXT = 3;
nyquist 2016/03/10 00:57:13 SHOW_TEXT seems to be used to send text from the c
shaktisahu 2016/03/15 23:44:13 Done.
+
+ // Client => Server types.
+ }
+
+ optional Type type = 1;
+ optional int32 text_input_type = 2;
David Trainor- moved to gerrit 2016/03/14 17:59:42 This probably shouldn't be an int. We should roll
shaktisahu 2016/03/15 23:44:13 Done.
+ optional string ime_text = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698