OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": 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 3759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3770 }, | 3770 }, |
3771 { | 3771 { |
3772 "id": "GestureSourceType", | 3772 "id": "GestureSourceType", |
3773 "type": "string", | 3773 "type": "string", |
3774 "experimental": true, | 3774 "experimental": true, |
3775 "enum": ["default", "touch", "mouse"] | 3775 "enum": ["default", "touch", "mouse"] |
3776 } | 3776 } |
3777 ], | 3777 ], |
3778 "commands": [ | 3778 "commands": [ |
3779 { | 3779 { |
3780 "name": "setIgnoreInputEvents", | |
3781 "parameters": [ | |
3782 { "name": "ignore", "type": "boolean", "description": "Ignor es input events processing when set to true." } | |
3783 ], | |
3784 "description": "Dispatches a key event to the page." | |
dgozman
2017/05/22 18:35:54
Update the description.
| |
3785 }, | |
3786 { | |
3780 "name": "dispatchKeyEvent", | 3787 "name": "dispatchKeyEvent", |
3781 "parameters": [ | 3788 "parameters": [ |
3782 { "name": "type", "type": "string", "enum": ["keyDown", "key Up", "rawKeyDown", "char"], "description": "Type of the key event." }, | 3789 { "name": "type", "type": "string", "enum": ["keyDown", "key Up", "rawKeyDown", "char"], "description": "Type of the key event." }, |
3783 { "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)." }, | 3790 { "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)." }, |
3784 { "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)." }, | 3791 { "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)." }, |
3785 { "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: \"\")" }, | 3792 { "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: \"\")" }, |
3786 { "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: \"\")." }, | 3793 { "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: \"\")." }, |
3787 { "name": "keyIdentifier", "type": "string", "optional": tru e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, | 3794 { "name": "keyIdentifier", "type": "string", "optional": tru e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, |
3788 { "name": "code", "type": "string", "optional": true, "descr iption": "Unique DOM defined string value for each physical key (e.g., 'KeyA') ( default: \"\")." }, | 3795 { "name": "code", "type": "string", "optional": true, "descr iption": "Unique DOM defined string value for each physical key (e.g., 'KeyA') ( default: \"\")." }, |
3789 { "name": "key", "type": "string", "optional": true, "descri ption": "Unique DOM defined string value describing the meaning of the key in th e context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: \" \")." }, | 3796 { "name": "key", "type": "string", "optional": true, "descri ption": "Unique DOM defined string value describing the meaning of the key in th e context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: \" \")." }, |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4672 "parameters": [ | 4679 "parameters": [ |
4673 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } | 4680 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } |
4674 ], | 4681 ], |
4675 "returns": [ | 4682 "returns": [ |
4676 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } | 4683 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } |
4677 ] | 4684 ] |
4678 } | 4685 } |
4679 ] | 4686 ] |
4680 }] | 4687 }] |
4681 } | 4688 } |
OLD | NEW |