OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.accessibility", | 3 "namespace": "experimental.accessibility", |
4 "nodoc": true, | 4 "nodoc": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "AccessibilityObject", | 7 "id": "AccessibilityObject", |
8 "type": "object", | 8 "type": "object", |
9 "description": "Parent class for accessibility information about an obje ct.", | 9 "description": "Parent class for accessibility information about an obje ct.", |
10 "properties": { | 10 "properties": { |
(...skipping 8911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8922 "namespace": "experimental.socket", | 8922 "namespace": "experimental.socket", |
8923 "nodoc": true, | 8923 "nodoc": true, |
8924 "types": [ | 8924 "types": [ |
8925 { | 8925 { |
8926 "id": "SocketEvent", | 8926 "id": "SocketEvent", |
8927 "type": "object", | 8927 "type": "object", |
8928 "description": "A socket event.", | 8928 "description": "A socket event.", |
8929 "properties": { | 8929 "properties": { |
8930 "type": { | 8930 "type": { |
8931 "type": "string", | 8931 "type": "string", |
8932 "enum": ["data", "error"], | 8932 "enum": ["writeComplete"], |
8933 "description": "A 'data' event represents data received on the socke t. An 'error' event represents an error." | 8933 "description": "writeComplete A 'data' event represents data receive d on the socket. An 'error' event represents an error." |
asargent_no_longer_on_chrome
2011/12/14 17:36:18
nit: looks like you need to update the description
| |
8934 }, | 8934 }, |
8935 "byteCount": { | 8935 "resultCode": { |
8936 "type": "integer", | 8936 "type": "integer", |
8937 "optional": true, | 8937 "description": "The result code, if the event type is writeComplete. ", |
8938 "description": "The number of bytes received in a 'data' event." | |
8939 }, | |
8940 "bytes": { | |
8941 "type": "blob", | |
8942 "optional": true, | |
8943 "description": "The data received." | |
8944 }, | |
8945 "errorCode": { | |
8946 "type": "integer", | |
8947 "description": "The error code, if the event type is 'error'.", | |
8948 "optional": true | 8938 "optional": true |
8949 }, | 8939 }, |
8950 "errorMessage": { | 8940 "isFinalEvent": { |
8951 "type": "string", | 8941 "type": "boolean", |
8952 "description": "The error description, if the event type is 'error'. ", | 8942 "description": "Whether this is the final event that this socket wil l send.", |
8943 "nodoc": true | |
8944 }, | |
8945 "srcId": { | |
8946 "type": "number", | |
8947 "description": "An ID unique to the calling function's context so th at events can get routed back to the correct callback.", | |
8948 "nodoc": true, | |
8953 "optional": true | 8949 "optional": true |
8954 } | 8950 } |
8955 } | 8951 } |
8956 } | 8952 } |
8957 ], | 8953 ], |
8958 "functions": [ | 8954 "functions": [ |
8959 { | 8955 { |
8960 "name": "create", | 8956 "name": "create", |
8961 "type": "function", | 8957 "type": "function", |
8962 "description": "Creates a socket of the specified type.", | 8958 "description": "Creates a socket of the specified type.", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9099 "bytesWritten": { | 9095 "bytesWritten": { |
9100 "type": "integer", | 9096 "type": "integer", |
9101 "description": "The number of bytes sent, or a negative erro r code." | 9097 "description": "The number of bytes sent, or a negative erro r code." |
9102 } | 9098 } |
9103 } | 9099 } |
9104 } | 9100 } |
9105 ] | 9101 ] |
9106 } | 9102 } |
9107 ] | 9103 ] |
9108 } | 9104 } |
9105 ], | |
9106 "events": [ | |
9107 { | |
9108 "name": "onEvent", | |
9109 "type": "function", | |
9110 "nodoc": true, | |
9111 "parameters": [ | |
9112 { | |
9113 "name": "event", | |
9114 "$ref": "SocketEvent", | |
9115 "description": "The event indicating socket status." | |
9116 } | |
9117 ], | |
9118 "description": "Used to pass events back to the function that called cre ate()." | |
9119 } | |
9109 ] | 9120 ] |
9110 }, | 9121 }, |
9111 { | 9122 { |
9112 "namespace": "systemPrivate", | 9123 "namespace": "systemPrivate", |
9113 "nodoc": true, | 9124 "nodoc": true, |
9114 "types": [], | 9125 "types": [], |
9115 "functions": [ | 9126 "functions": [ |
9116 { | 9127 { |
9117 "name": "getIncognitoModeAvailability", | 9128 "name": "getIncognitoModeAvailability", |
9118 "type": "function", | 9129 "type": "function", |
(...skipping 10 matching lines...) Expand all Loading... | |
9129 "enum": ["enabled", "disabled", "forced"], | 9140 "enum": ["enabled", "disabled", "forced"], |
9130 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)." | 9141 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)." |
9131 } | 9142 } |
9132 ] | 9143 ] |
9133 } | 9144 } |
9134 ] | 9145 ] |
9135 } | 9146 } |
9136 ] | 9147 ] |
9137 } | 9148 } |
9138 ] | 9149 ] |
OLD | NEW |