Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 8772031: Add a JS API for detecting WebGL availability. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 8068 matching lines...) Expand 10 before | Expand all | Expand 10 after
8079 "name": "info", 8079 "name": "info",
8080 "type": "object", 8080 "type": "object",
8081 "properties": { 8081 "properties": {
8082 "login": { "type": "string", "optional": true }, 8082 "login": { "type": "string", "optional": true },
8083 "token": { "type": "string", "optional": true } 8083 "token": { "type": "string", "optional": true }
8084 } 8084 }
8085 } 8085 }
8086 ] 8086 ]
8087 } 8087 }
8088 ] 8088 ]
8089 },
8090 {
8091 "name": "getWebGLStatus",
8092 "description": "Invokes a callback that returns whether WebGL is blackli sted or not.",
8093 "parameters": [
8094 {
8095 "name": "callback",
8096 "type": "function",
8097 "optional": "false",
8098 "parameters": [
8099 {
8100 "name": "webgl_status",
8101 "type": "string",
Mihai Parparita -not on Chrome 2011/12/06 02:58:11 The type of this should be "enum", with the possib
Zhenyao Mo 2011/12/06 20:00:15 Done.
8102 "description": "Returns 'webgl_blocked' if WebGL is blacklisted; otherwise, returns 'webgl_allowed'."
8103 }
8104 ]
8105 }
8106 ]
8089 } 8107 }
8090 ] 8108 ]
8091 }, 8109 },
8092 { 8110 {
8093 "namespace": "webSocketProxyPrivate", 8111 "namespace": "webSocketProxyPrivate",
8094 "nodoc": true, 8112 "nodoc": true,
8095 "types": [], 8113 "types": [],
8096 "functions": [ 8114 "functions": [
8097 { 8115 {
8098 "name": "getPassportForTCP", 8116 "name": "getPassportForTCP",
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
9347 } 9365 }
9348 } 9366 }
9349 } 9367 }
9350 ] 9368 ]
9351 } 9369 }
9352 ] 9370 ]
9353 } 9371 }
9354 ] 9372 ]
9355 } 9373 }
9356 ] 9374 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698