OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 3945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3956 "$ref": "SuggestResult" | 3956 "$ref": "SuggestResult" |
3957 } | 3957 } |
3958 } | 3958 } |
3959 ] | 3959 ] |
3960 }, | 3960 }, |
3961 { | 3961 { |
3962 "name": "styleUrl", | 3962 "name": "styleUrl", |
3963 "type": "function", | 3963 "type": "function", |
3964 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of text matching a URL or filena
me. A negative offset means the region will start at that many characters from t
he end of the description. If length is omitted, the region will apply for the r
est of the description text.", | 3964 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of text matching a URL or filena
me. A negative offset means the region will start at that many characters from t
he end of the description. If length is omitted, the region will apply for the r
est of the description text.", |
3965 "parameters": [ | 3965 "parameters": [ |
3966 {"type": "integer", "name": "offset", "minimum": 0}, | 3966 {"type": "integer", "name": "offset"}, |
3967 {"type": "integer", "name": "length", "minimum": 0, "optional": true} | 3967 {"type": "integer", "name": "length", "minimum": 0, "optional": true} |
3968 ] | 3968 ] |
3969 }, | 3969 }, |
3970 { | 3970 { |
3971 "name": "styleMatch", | 3971 "name": "styleMatch", |
3972 "type": "function", | 3972 "type": "function", |
3973 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of text matching what the user t
yped. A negative offset means the region will start at that many characters from
the end of the description. If length is omitted, the region will apply for the
rest of the description text.", | 3973 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of text matching what the user t
yped. A negative offset means the region will start at that many characters from
the end of the description. If length is omitted, the region will apply for the
rest of the description text.", |
3974 "parameters": [ | 3974 "parameters": [ |
3975 {"type": "integer", "name": "offset", "minimum": 0}, | 3975 {"type": "integer", "name": "offset"}, |
3976 {"type": "integer", "name": "length", "minimum": 0, "optional": true} | 3976 {"type": "integer", "name": "length", "minimum": 0, "optional": true} |
3977 ] | 3977 ] |
3978 }, | 3978 }, |
3979 { | 3979 { |
3980 "name": "styleDim", | 3980 "name": "styleDim", |
3981 "type": "function", | 3981 "type": "function", |
3982 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of dim helper text. A negative o
ffset means the region will start at that many characters from the end of the de
scription. If length is omitted, the region will apply for the rest of the descr
iption text.", | 3982 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of dim helper text. A negative o
ffset means the region will start at that many characters from the end of the de
scription. If length is omitted, the region will apply for the rest of the descr
iption text.", |
3983 "parameters": [ | 3983 "parameters": [ |
3984 {"type": "integer", "name": "offset", "minimum": 0}, | 3984 {"type": "integer", "name": "offset"}, |
3985 {"type": "integer", "name": "length", "minimum": 0, "optional": true} | 3985 {"type": "integer", "name": "length", "minimum": 0, "optional": true} |
3986 ] | 3986 ] |
3987 } | 3987 } |
3988 ], | 3988 ], |
3989 "events": [ | 3989 "events": [ |
3990 { | 3990 { |
3991 "name": "onInputStarted", | 3991 "name": "onInputStarted", |
3992 "type": "function", | 3992 "type": "function", |
3993 "description": "User has started a keyword input session by typing the e
xtension's keyword. This is guaranteed to be sent exactly once per input session
, and before any onInputChanged events.", | 3993 "description": "User has started a keyword input session by typing the e
xtension's keyword. This is guaranteed to be sent exactly once per input session
, and before any onInputChanged events.", |
3994 "parameters": [] | 3994 "parameters": [] |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4349 "token": { "type": "string", "optional": true } | 4349 "token": { "type": "string", "optional": true } |
4350 } | 4350 } |
4351 } | 4351 } |
4352 ] | 4352 ] |
4353 } | 4353 } |
4354 ] | 4354 ] |
4355 } | 4355 } |
4356 ] | 4356 ] |
4357 } | 4357 } |
4358 ] | 4358 ] |
OLD | NEW |