Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": true, |
| 6 "types": [], | 6 "types": [], |
| 7 "commands": [ | 7 "commands": [ |
| 8 { | 8 { |
| 9 "name": "enable", | 9 "name": "enable", |
| 10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
| (...skipping 4063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4074 "name": "dispatchKeyEvent", | 4074 "name": "dispatchKeyEvent", |
| 4075 "parameters": [ | 4075 "parameters": [ |
| 4076 { "name": "type", "type": "string", "enum": ["keyDown", "key Up", "rawKeyDown", "char"], "description": "Type of the key event." }, | 4076 { "name": "type", "type": "string", "enum": ["keyDown", "key Up", "rawKeyDown", "char"], "description": "Type of the key event." }, |
| 4077 { "name": "modifiers", "type": "integer", "optional": true, "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met a/Command=4, Shift=8 (default: 0)." }, | 4077 { "name": "modifiers", "type": "integer", "optional": true, "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met a/Command=4, Shift=8 (default: 0)." }, |
| 4078 { "name": "timestamp", "type": "number", "optional": true, " description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)." }, | 4078 { "name": "timestamp", "type": "number", "optional": true, " description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)." }, |
| 4079 { "name": "text", "type": "string", "optional": true, "descr iption": "Text as generated by processing a virtual key code with a keyboard lay out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d efault: \"\")" }, | 4079 { "name": "text", "type": "string", "optional": true, "descr iption": "Text as generated by processing a virtual key code with a keyboard lay out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d efault: \"\")" }, |
| 4080 { "name": "unmodifiedText", "type": "string", "optional": tr ue, "description": "Text that would have been generated by the keyboard if no mo difiers were pressed (except for shift). Useful for shortcut (accelerator) key h andling (default: \"\")." }, | 4080 { "name": "unmodifiedText", "type": "string", "optional": tr ue, "description": "Text that would have been generated by the keyboard if no mo difiers were pressed (except for shift). Useful for shortcut (accelerator) key h andling (default: \"\")." }, |
| 4081 { "name": "keyIdentifier", "type": "string", "optional": tru e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, | 4081 { "name": "keyIdentifier", "type": "string", "optional": tru e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, |
| 4082 { "name": "windowsVirtualKeyCode", "type": "integer", "optio nal": true, "description": "Windows virtual key code (default: 0)." }, | 4082 { "name": "windowsVirtualKeyCode", "type": "integer", "optio nal": true, "description": "Windows virtual key code (default: 0)." }, |
| 4083 { "name": "nativeVirtualKeyCode", "type": "integer", "option al": true, "description": "Native virtual key code (default: 0)." }, | 4083 { "name": "nativeVirtualKeyCode", "type": "integer", "option al": true, "description": "Native virtual key code (default: 0)." }, |
| 4084 { "name": "usbCode", "type": "integer", "optional": true, "d escription": "Usb code (default: 0)." }, | |
|
vsevik
2014/10/23 11:43:42
USB code (default: 0)
| |
| 4084 { "name": "autoRepeat", "type": "boolean", "optional": true, "description": "Whether the event was generated from auto repeat (default: fals e)." }, | 4085 { "name": "autoRepeat", "type": "boolean", "optional": true, "description": "Whether the event was generated from auto repeat (default: fals e)." }, |
| 4085 { "name": "isKeypad", "type": "boolean", "optional": true, " description": "Whether the event was generated from the keypad (default: false). " }, | 4086 { "name": "isKeypad", "type": "boolean", "optional": true, " description": "Whether the event was generated from the keypad (default: false). " }, |
| 4086 { "name": "isSystemKey", "type": "boolean", "optional": true , "description": "Whether the event was a system key event (default: false)." } | 4087 { "name": "isSystemKey", "type": "boolean", "optional": true , "description": "Whether the event was a system key event (default: false)." } |
| 4087 ], | 4088 ], |
| 4088 "description": "Dispatches a key event to the page." | 4089 "description": "Dispatches a key event to the page." |
| 4089 }, | 4090 }, |
| 4090 { | 4091 { |
| 4091 "name": "dispatchMouseEvent", | 4092 "name": "dispatchMouseEvent", |
| 4092 "parameters": [ | 4093 "parameters": [ |
| 4093 { "name": "type", "type": "string", "enum": ["mousePressed", "mouseReleased", "mouseMoved"], "description": "Type of the mouse event." }, | 4094 { "name": "type", "type": "string", "enum": ["mousePressed", "mouseReleased", "mouseMoved"], "description": "Type of the mouse event." }, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4406 { | 4407 { |
| 4407 "name": "dataAvailable", | 4408 "name": "dataAvailable", |
| 4408 "parameters": [ | 4409 "parameters": [ |
| 4409 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4410 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
| 4410 ], | 4411 ], |
| 4411 "handlers": ["browser", "frontend"] | 4412 "handlers": ["browser", "frontend"] |
| 4412 } | 4413 } |
| 4413 ] | 4414 ] |
| 4414 }] | 4415 }] |
| 4415 } | 4416 } |
| OLD | NEW |