OLD | NEW |
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 "description": "none", |
9 "types": [], | |
10 "functions": [ | 9 "functions": [ |
11 { | 10 { |
12 "name": "insertText", | 11 "name": "insertText", |
13 "type": "function", | 12 "type": "function", |
14 "description": "Inserts text into the currently focused text field.", | 13 "description": "Inserts text into the currently focused text field.", |
15 "parameters": [ | 14 "parameters": [ |
16 { "name": "text", | 15 { "name": "text", |
17 "type": "string", | 16 "type": "string", |
18 "description": "The text that will be inserted." | 17 "description": "The text that will be inserted." |
19 }, | 18 }, |
20 { "type": "function", | 19 { "type": "function", |
21 "name": "callback", | 20 "name": "callback", |
22 "optional": true, | 21 "optional": true, |
23 "description": "Called when the insertion is completed.", | 22 "description": "Called when the insertion is completed.", |
24 "parameters": [] | 23 "parameters": [] |
25 } | 24 } |
26 ] | 25 ] |
27 } | 26 } |
28 ] | 27 ] |
29 } | 28 } |
30 ] | 29 ] |
OLD | NEW |