OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Message definitions for text input messages. | 5 // Message definitions for text input messages. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 HIDE_IME = 2; | 41 HIDE_IME = 2; |
42 | 42 |
43 // Client => Server types. | 43 // Client => Server types. |
44 SET_TEXT = 3; | 44 SET_TEXT = 3; |
45 } | 45 } |
46 | 46 |
47 optional int32 render_widget_id = 1; | 47 optional int32 render_widget_id = 1; |
48 optional Type type = 2 [default = UNKNOWN]; | 48 optional Type type = 2 [default = UNKNOWN]; |
49 optional InputType text_input_type = 3; | 49 optional InputType text_input_type = 3; |
50 optional string ime_text = 4; | 50 optional string ime_text = 4; |
| 51 optional bool auto_submit = 5; |
51 } | 52 } |
OLD | NEW |