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

Side by Side Diff: chrome/common/extensions/api/experimental_input_virtual_keyboard.json

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 [ 5 [
6 { 6 {
7 "namespace": "experimental.input.virtualKeyboard", 7 "namespace": "experimental.input.virtualKeyboard",
8 "nodoc": true, 8 "nodoc": true,
9 "types": [], 9 "types": [],
10 "functions": [ 10 "functions": [
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 }, 47 },
48 "description": "The keyboard event to be sent." 48 "description": "The keyboard event to be sent."
49 }, 49 },
50 { "type": "function", 50 { "type": "function",
51 "name": "callback", 51 "name": "callback",
52 "optional": true, 52 "optional": true,
53 "description": "This function is called when the event processing is completed.", 53 "description": "This function is called when the event processing is completed.",
54 "parameters": [] 54 "parameters": []
55 } 55 }
56 ] 56 ]
57 },
58 {
59 "name": "hideKeyboard",
60 "type": "function",
61 "description": "Hides the keyboard UI.",
62 "parameters": [
63 { "type": "function",
64 "name": "callback",
65 "optional": true,
66 "description": "This function is called when the event processing is completed.",
67 "parameters": []
68 }
69 ]
70 },
71 {
72 "name": "setKeyboardHeight",
73 "type": "function",
74 "description": "Sets the height of the keyboard UI.",
75 "parameters": [
76 { "type": "integer",
77 "name": "height",
78 "minimum": 0,
79 "optional": false,
80 "description": "The height of the keyboard UI."
81 },
82 { "type": "function",
83 "name": "callback",
84 "optional": true,
85 "description": "This function is called when the event processing is completed but the resizeing may be not finished.",
86 "parameters": []
87 }
88 ]
89 },
90 {
91 "name": "sendHandwritingStroke",
92 "type": "function",
93 "description": "Sends a handwriting event to Chrome.",
94 "parameters": [
95 {
96 "name": "stroke",
97 "type": "array",
98 "items": {
99 "type": "object",
100 "properties": {
101 "x": {"type": "number", "minimum": 0, "maximum": 1},
102 "y": {"type": "number", "minimum": 0, "maximum": 1}
103 }
104 }
105 }
106 ]
107 },
108 {
109 "name": "cancelHandwritingStrokes",
110 "type": "function",
111 "description": "Clears last N handwriting strokes.",
112 "parameters": [
113 {
114 "name": "strokeCount",
115 "optional": true,
116 "description": "The number of strokes to be removed. Pass 0 to remov e all strokes. If omitted, removes all.",
117 "type": "integer",
118 "minimum": 0
119 }
120 ]
121 }
122 ],
123 "events": [
124 {
125 "name": "onTextInputTypeChanged",
126 "type": "function",
127 "description": "This event is sent to the virtual keyboard when the text input type is changed.",
128 "parameters": [
129 {
130 "type": "string",
131 "name": "type",
132 "enum": ["none", "text", "password", "search", "email", "number", "t el", "url"],
133 "description": "Type of the current focused input field."
134 }
135 ]
136 } 57 }
137 ] 58 ]
138 } 59 }
139 ] 60 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_input_ui.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698