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

Side by Side 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: Fixed initial values for tab id in ImeFeature 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // Message definitions for text input messages.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package blimp;
12
13 message ImeMessage {
14 // Text input type for IME which should be kept in sync with
15 // ui::TextInputType.
16 enum InputType {
17 TEXT = 1;
18 PASSWORD = 2;
19 SEARCH = 3;
20 EMAIL = 4;
21 NUMBER = 5;
22 TELEPHONE = 6;
23 URL = 7;
24 DATE = 8;
25 DATE_TIME = 9;
26 DATE_TIME_LOCAL = 10;
27 MONTH = 11;
28 TIME = 12;
29 WEEK = 13;
30 TEXT_AREA = 14;
31 CONTENT_EDITABLE = 15;
32 DATE_TIME_FIELD = 16;
33 }
34
35 enum Type {
36 UNKNOWN = 0;
37
38 // Server => Client types.
39 SHOW_IME = 1;
40 HIDE_IME = 2;
41
42 // Client => Server types.
43 SET_TEXT = 3;
44 }
45
46 optional int32 render_widget_id = 1;
47 optional Type type = 2;
Wez 2016/03/22 21:43:38 See comments in ImeFeature re explicitly checking
shaktisahu 2016/03/22 23:45:43 Done.
48 optional InputType text_input_type = 3;
49 optional string ime_text = 4;
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698