OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "types": [ | 4 "types": [ |
5 { | 5 { |
6 "id": "MessageSender", | 6 "id": "MessageSender", |
7 "type": "object", | 7 "type": "object", |
8 "description": "An object containing information about the script contex
t that sent a message or request.", | 8 "description": "An object containing information about the script contex
t that sent a message or request.", |
9 "properties": { | 9 "properties": { |
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, | 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, |
(...skipping 3165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3176 ], | 3176 ], |
3177 "returns": { | 3177 "returns": { |
3178 "type": "string", | 3178 "type": "string", |
3179 "description": "Message localized for current locale." | 3179 "description": "Message localized for current locale." |
3180 } | 3180 } |
3181 } | 3181 } |
3182 ], | 3182 ], |
3183 "events": [] | 3183 "events": [] |
3184 }, | 3184 }, |
3185 { | 3185 { |
3186 "namespace": "experimental.input", | 3186 "namespace": "experimental.input.virtualKeyboard", |
3187 "nodoc": true, | 3187 "nodoc": true, |
3188 "types": [ | 3188 "types": [], |
3189 { | |
3190 "id": "KeyboardEvent", | |
3191 "type": "object", | |
3192 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", | |
3193 "properties": { | |
3194 "type": {"type": "string", "description": "One of keyup or keydown.",
"enum": ["keyup", "keydown"]}, | |
3195 "requestId": {"type": "string", "description": "The ID of the request.
"}, | |
3196 "key": {"type": "string", "description": "Value of the key being press
ed"}, | |
3197 "keyCode": {"type": "string", "description": "Value of the key being p
ress, unmodified by control keys."}, | |
3198 "altKey": {"type": "boolean", "optional": true, "description": "Whethe
r or not the ALT key is pressed."}, | |
3199 "ctrlKey": {"type": "boolean", "optional": true, "description": "Wheth
er or not the CTRL key is pressed."}, | |
3200 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet
her or not the SHIFT key is pressed."} | |
3201 } | |
3202 }, | |
3203 { | |
3204 "id": "InputContext", | |
3205 "type": "object", | |
3206 "description": "Describes an input Context", | |
3207 "properties": { | |
3208 "contextID": {"type": "integer", "description": "This is used to speci
fy targets of text field operations. This ID becomes invalid as soon as onBlur
is called."}, | |
3209 "type": {"type": "string", "description": "Type of value this text fie
ld edits, (Text, Number, Password, etc)", "enum": ["text", "number", "password"]
} | |
3210 } | |
3211 } | |
3212 ], | |
3213 "functions": [ | 3189 "functions": [ |
3214 { | 3190 { |
3215 "name": "sendKeyboardEvent", | 3191 "name": "sendKeyboardEvent", |
3216 "type": "function", | 3192 "type": "function", |
3217 "description": "Sends a keyboard event to Chrome.", | 3193 "description": "Sends a keyboard event to Chrome.", |
3218 "parameters": [ | 3194 "parameters": [ |
3219 { "type": "object", | 3195 { "type": "object", |
3220 "name": "event", | 3196 "name": "event", |
3221 "properties": { | 3197 "properties": { |
3222 "type": { | 3198 "type": { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3284 }, | 3260 }, |
3285 { "type": "function", | 3261 { "type": "function", |
3286 "name": "callback", | 3262 "name": "callback", |
3287 "optional": true, | 3263 "optional": true, |
3288 "description": "This function is called when the event processing is
completed but the resizeing may be not finished.", | 3264 "description": "This function is called when the event processing is
completed but the resizeing may be not finished.", |
3289 "parameters": [] | 3265 "parameters": [] |
3290 } | 3266 } |
3291 ] | 3267 ] |
3292 }, | 3268 }, |
3293 { | 3269 { |
| 3270 "name": "sendHandwritingStroke", |
| 3271 "type": "function", |
| 3272 "description": "Sends a handwriting event to Chrome.", |
| 3273 "parameters": [ |
| 3274 { |
| 3275 "name": "stroke", |
| 3276 "type": "array", |
| 3277 "items": { |
| 3278 "type": "object", |
| 3279 "properties": { |
| 3280 "x": {"type": "number", "minimum": 0, "maximum": 1}, |
| 3281 "y": {"type": "number", "minimum": 0, "maximum": 1} |
| 3282 } |
| 3283 } |
| 3284 } |
| 3285 ] |
| 3286 }, |
| 3287 { |
| 3288 "name": "cancelHandwritingStrokes", |
| 3289 "type": "function", |
| 3290 "description": "Clears last N handwriting strokes.", |
| 3291 "parameters": [ |
| 3292 { |
| 3293 "name": "strokeCount", |
| 3294 "optional": true, |
| 3295 "description": "The number of strokes to be removed. Pass 0 to remov
e all strokes. If omitted, removes all.", |
| 3296 "type": "integer", |
| 3297 "minimum": 0 |
| 3298 } |
| 3299 ] |
| 3300 } |
| 3301 ], |
| 3302 "events": [ |
| 3303 { |
| 3304 "name": "onTextInputTypeChanged", |
| 3305 "type": "function", |
| 3306 "description": "This event is sent to the virtual keyboard when the text
input type is changed.", |
| 3307 "parameters": [ |
| 3308 { |
| 3309 "type": "string", |
| 3310 "name": "type", |
| 3311 "enum": ["none", "text", "password", "search", "email", "number", "t
el", "url"], |
| 3312 "description": "Type of the current focused input field." |
| 3313 } |
| 3314 ] |
| 3315 } |
| 3316 ] |
| 3317 }, |
| 3318 { |
| 3319 "namespace": "experimental.input.ime", |
| 3320 "nodoc": true, |
| 3321 "types": [ |
| 3322 { |
| 3323 "id": "KeyboardEvent", |
| 3324 "type": "object", |
| 3325 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", |
| 3326 "properties": { |
| 3327 "type": {"type": "string", "description": "One of keyup or keydown.",
"enum": ["keyup", "keydown"]}, |
| 3328 "requestId": {"type": "string", "description": "The ID of the request.
"}, |
| 3329 "key": {"type": "string", "description": "Value of the key being press
ed"}, |
| 3330 "keyCode": {"type": "string", "description": "Value of the key being p
ress, unmodified by control keys."}, |
| 3331 "altKey": {"type": "boolean", "optional": true, "description": "Whethe
r or not the ALT key is pressed."}, |
| 3332 "ctrlKey": {"type": "boolean", "optional": true, "description": "Wheth
er or not the CTRL key is pressed."}, |
| 3333 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet
her or not the SHIFT key is pressed."} |
| 3334 } |
| 3335 }, |
| 3336 { |
| 3337 "id": "InputContext", |
| 3338 "type": "object", |
| 3339 "description": "Describes an input Context", |
| 3340 "properties": { |
| 3341 "contextID": {"type": "integer", "description": "This is used to speci
fy targets of text field operations. This ID becomes invalid as soon as onBlur
is called."}, |
| 3342 "type": {"type": "string", "description": "Type of value this text fie
ld edits, (Text, Number, Password, etc)", "enum": ["text", "number", "password"]
} |
| 3343 } |
| 3344 } |
| 3345 ], |
| 3346 "functions": [ |
| 3347 { |
3294 "name": "setComposition", | 3348 "name": "setComposition", |
3295 "type": "function", | 3349 "type": "function", |
3296 "description": "Set the current composition. If this extension does not
own the active IME, this fails.", | 3350 "description": "Set the current composition. If this extension does not
own the active IME, this fails.", |
3297 "parameters": [ | 3351 "parameters": [ |
3298 { | 3352 { |
3299 "name": "parameters", | 3353 "name": "parameters", |
3300 "type": "object", | 3354 "type": "object", |
3301 "properties": { | 3355 "properties": { |
3302 "contextID": { | 3356 "contextID": { |
3303 "description": "ID of the context where the composition text wil
l be set", | 3357 "description": "ID of the context where the composition text wil
l be set", |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3656 { | 3710 { |
3657 "type": "function", | 3711 "type": "function", |
3658 "name": "callback", | 3712 "name": "callback", |
3659 "optional": true, | 3713 "optional": true, |
3660 "description": "Called when the operation completes", | 3714 "description": "Called when the operation completes", |
3661 "parameters": [] | 3715 "parameters": [] |
3662 } | 3716 } |
3663 ] | 3717 ] |
3664 }, | 3718 }, |
3665 { | 3719 { |
3666 "name": "sendHandwritingStroke", | |
3667 "type": "function", | |
3668 "description": "Sends a handwriting event to Chrome.", | |
3669 "parameters": [ | |
3670 { | |
3671 "name": "stroke", | |
3672 "type": "array", | |
3673 "items": { | |
3674 "type": "object", | |
3675 "properties": { | |
3676 "x": {"type": "number", "minimum": 0, "maximum": 1}, | |
3677 "y": {"type": "number", "minimum": 0, "maximum": 1} | |
3678 } | |
3679 } | |
3680 } | |
3681 ] | |
3682 }, | |
3683 { | |
3684 "name": "cancelHandwritingStrokes", | |
3685 "type": "function", | |
3686 "description": "Clears last N handwriting strokes.", | |
3687 "parameters": [ | |
3688 { | |
3689 "name": "strokeCount", | |
3690 "optional": true, | |
3691 "description": "The number of strokes to be removed. Pass 0 to remov
e all strokes. If omitted, removes all.", | |
3692 "type": "integer", | |
3693 "minimum": 0 | |
3694 } | |
3695 ] | |
3696 }, | |
3697 { | |
3698 "name": "eventHandled", | 3720 "name": "eventHandled", |
3699 "nodoc": true, | 3721 "nodoc": true, |
3700 "type": "function", | 3722 "type": "function", |
3701 "description": "Used internally to send a response for onKeyEvent.", | 3723 "description": "Used internally to send a response for onKeyEvent.", |
3702 "parameters": [ | 3724 "parameters": [ |
3703 {"type": "string", "name": "requestId"}, | 3725 {"type": "string", "name": "requestId"}, |
3704 {"type": "boolean", "name": "response"} | 3726 {"type": "boolean", "name": "response"} |
3705 ] | 3727 ] |
3706 } | 3728 } |
3707 ], | 3729 ], |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3819 "type": "string", | 3841 "type": "string", |
3820 "name": "engineID", | 3842 "name": "engineID", |
3821 "description": "ID of the engine receiving the event" | 3843 "description": "ID of the engine receiving the event" |
3822 }, | 3844 }, |
3823 { | 3845 { |
3824 "type": "string", | 3846 "type": "string", |
3825 "name": "name", | 3847 "name": "name", |
3826 "description": "Name of the MenuItem which was activated" | 3848 "description": "Name of the MenuItem which was activated" |
3827 } | 3849 } |
3828 ] | 3850 ] |
3829 }, | |
3830 { | |
3831 "name": "onTextInputTypeChanged", | |
3832 "type": "function", | |
3833 "description": "This event is sent to the virtual keyboard when the text
input type is changed.", | |
3834 "parameters": [ | |
3835 { | |
3836 "type": "string", | |
3837 "name": "type", | |
3838 "enum": ["none", "text", "password", "search", "email", "number", "t
el", "url"], | |
3839 "description": "Type of the current focused input field." | |
3840 } | |
3841 ] | |
3842 } | 3851 } |
3843 ] | 3852 ] |
3844 }, | 3853 }, |
3845 { | 3854 { |
3846 "namespace": "inputMethodPrivate", | 3855 "namespace": "inputMethodPrivate", |
3847 "nodoc": true, | 3856 "nodoc": true, |
3848 "platforms": ["chromeos"], | 3857 "platforms": ["chromeos"], |
3849 "types": [], | 3858 "types": [], |
3850 "functions": [ | 3859 "functions": [ |
3851 { | 3860 { |
(...skipping 26 matching lines...) Expand all Loading... |
3878 { | 3887 { |
3879 "name": "newInputMethodId", | 3888 "name": "newInputMethodId", |
3880 "type": "string", | 3889 "type": "string", |
3881 "description": "New input method which is being used." | 3890 "description": "New input method which is being used." |
3882 } | 3891 } |
3883 ] | 3892 ] |
3884 } | 3893 } |
3885 ] | 3894 ] |
3886 }, | 3895 }, |
3887 { | 3896 { |
3888 "namespace": "experimental.inputUI", | 3897 "namespace": "experimental.input.ui", |
3889 "nodoc": true, | 3898 "nodoc": true, |
3890 "platforms": ["chromeos touch"], | 3899 "platforms": ["chromeos touch"], |
3891 "types": [], | 3900 "types": [], |
3892 "functions": [ | 3901 "functions": [ |
3893 { | 3902 { |
3894 "name": "register", | 3903 "name": "register", |
3895 "type": "function", | 3904 "type": "function", |
3896 "description": "Registers the extension, so the extension can receive in
put method related events.", | 3905 "description": "Registers the extension, so the extension can receive in
put method related events.", |
3897 "parameters": [ | 3906 "parameters": [ |
3898 { "type": "function", | 3907 { "type": "function", |
(...skipping 5309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9208 } | 9217 } |
9209 } | 9218 } |
9210 } | 9219 } |
9211 ] | 9220 ] |
9212 } | 9221 } |
9213 ] | 9222 ] |
9214 } | 9223 } |
9215 ] | 9224 ] |
9216 } | 9225 } |
9217 ] | 9226 ] |
OLD | NEW |