| Index: third_party/chrome/idl/experimental_input_virtual_keyboard.json
|
| diff --git a/third_party/chrome/idl/experimental_input_virtual_keyboard.json b/third_party/chrome/idl/experimental_input_virtual_keyboard.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2aea6ca501d2ccb855917ce71e53d0e747247b66
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/experimental_input_virtual_keyboard.json
|
| @@ -0,0 +1,60 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +[
|
| + {
|
| + "namespace": "experimental.input.virtualKeyboard",
|
| + "nodoc": true,
|
| + "types": [],
|
| + "functions": [
|
| + {
|
| + "name": "sendKeyboardEvent",
|
| + "type": "function",
|
| + "description": "Sends a keyboard event to Chrome.",
|
| + "parameters": [
|
| + { "type": "object",
|
| + "name": "event",
|
| + "properties": {
|
| + "type": {
|
| + "type": "string",
|
| + "description": "One of 'keyup' or 'keydown'."
|
| + },
|
| + "keyIdentifier": {
|
| + "type": "string",
|
| + "description": "See http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/keyset.html#KeySet-Set"
|
| + },
|
| + "altKey": {
|
| + "type": "boolean",
|
| + "optional": true,
|
| + "description": "Whether or not the ALT key is pressed."
|
| + },
|
| + "ctrlKey": {
|
| + "type": "boolean",
|
| + "optional": true,
|
| + "description": "Whether or not the CTRL key is pressed."
|
| + },
|
| + "metaKey": {
|
| + "type": "boolean",
|
| + "optional": true,
|
| + "description": "Whether or not the META key is pressed."
|
| + },
|
| + "shiftKey": {
|
| + "type": "boolean",
|
| + "optional": true,
|
| + "description": "Whether or not the SHIFT key is pressed."
|
| + }
|
| + },
|
| + "description": "The keyboard event to be sent."
|
| + },
|
| + { "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "description": "This function is called when the event processing is completed.",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|