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

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

Issue 20526005: Implement virtual keyboard hiding. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Init Created 7 years, 4 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
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 "description": "none", 8 "description": "none",
9 "functions": [ 9 "functions": [
10 { 10 {
11 "name": "insertText", 11 "name": "insertText",
12 "type": "function", 12 "type": "function",
13 "description": "Inserts text into the currently focused text field.", 13 "description": "Inserts text into the currently focused text field.",
14 "parameters": [ 14 "parameters": [
15 { "name": "text", 15 { "name": "text",
16 "type": "string", 16 "type": "string",
17 "description": "The text that will be inserted." 17 "description": "The text that will be inserted."
18 }, 18 },
19 { "type": "function", 19 { "type": "function",
20 "name": "callback", 20 "name": "callback",
21 "optional": true, 21 "optional": true,
22 "description": "Called when the insertion is completed.", 22 "description": "Called when the insertion is completed.",
23 "parameters": [] 23 "parameters": []
24 } 24 }
25 ] 25 ]
26 },
27 {
28 "name": "hideKeyboard",
bryeung 2013/08/02 17:26:39 We shouldn't be adding APIs to this namespace. Th
SteveT 2013/08/06 18:31:34 I'm guessing this aligns with your discussion with
29 "type": "function",
30 "description": "Hides the virtual keyboard.",
31 "parameters": [
32 { "type": "function",
33 "name": "callback",
34 "optional": true,
35 "description": "Called when the keyboard is hidden.",
36 "parameters": []
37 }
38 ]
26 } 39 }
27 ] 40 ]
28 } 41 }
29 ] 42 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698