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

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: Merge origin/master 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 NONE = 0;
18 TEXT = 1;
19 PASSWORD = 2;
20 SEARCH = 3;
21 EMAIL = 4;
22 NUMBER = 5;
23 TELEPHONE = 6;
24 URL = 7;
25 DATE = 8;
26 DATE_TIME = 9;
27 DATE_TIME_LOCAL = 10;
28 MONTH = 11;
29 TIME = 12;
30 WEEK = 13;
31 TEXT_AREA = 14;
32 CONTENT_EDITABLE = 15;
33 DATE_TIME_FIELD = 16;
34 }
35
36 enum Type {
37 UNKNOWN = 0;
38
39 // Server => Client types.
40 SHOW_IME = 1;
41 HIDE_IME = 2;
42
43 // Client => Server types.
44 SET_TEXT = 3;
45 }
46
47 optional int32 render_widget_id = 1;
48 optional Type type = 2 [default = UNKNOWN];
49 optional InputType text_input_type = 3;
50 optional string ime_text = 4;
51 }
OLDNEW
« no previous file with comments | « blimp/common/proto/blimp_message.proto ('k') | blimp/engine/feature/engine_render_widget_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698