home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / chrome.dll / 0 / BINDATA / 26520 < prev    next >
Encoding:
Text File  |  2013-04-03  |  1.9 KB  |  61 lines

  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
  3. // found in the LICENSE file.
  4.  
  5. [
  6.   {
  7.     "namespace": "experimental.input.virtualKeyboard",
  8.     "nodoc": true,
  9.     "types": [],
  10.     "functions": [
  11.       {
  12.         "name": "sendKeyboardEvent",
  13.         "type": "function",
  14.         "description": "Sends a keyboard event to Chrome.",
  15.         "parameters": [
  16.           { "type": "object",
  17.             "name": "event",
  18.             "properties": {
  19.               "type": {
  20.                 "type": "string",
  21.                 "description": "One of 'keyup' or 'keydown'."
  22.               },
  23.               "keyIdentifier": {
  24.                 "type": "string",
  25.                 "description": "See http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/keyset.html#KeySet-Set"
  26.               },
  27.               "altKey": {
  28.                 "type": "boolean",
  29.                 "optional": true,
  30.                 "description": "Whether or not the ALT key is pressed."
  31.               },
  32.               "ctrlKey": {
  33.                 "type": "boolean",
  34.                 "optional": true,
  35.                 "description": "Whether or not the CTRL key is pressed."
  36.               },
  37.               "metaKey": {
  38.                 "type": "boolean",
  39.                 "optional": true,
  40.                 "description": "Whether or not the META key is pressed."
  41.               },
  42.               "shiftKey": {
  43.                 "type": "boolean",
  44.                 "optional": true,
  45.                 "description": "Whether or not the SHIFT key is pressed."
  46.               }
  47.             },
  48.             "description": "The keyboard event to be sent."
  49.           },
  50.           { "type": "function",
  51.             "name": "callback",
  52.             "optional": true,
  53.             "description": "This function is called when the event processing is completed.",
  54.             "parameters": []
  55.           }
  56.         ]
  57.       }
  58.     ]
  59.   }
  60. ]
  61.