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

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

Issue 6369003: New extension API: "tab.socketAddress" (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 11 months 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 "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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 "type": "object", 914 "type": "object",
915 "properties": { 915 "properties": {
916 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."}, 916 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."},
917 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."}, 917 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."},
918 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."}, 918 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."},
919 "selected": {"type": "boolean", "description": "Whether the tab is sel ected."}, 919 "selected": {"type": "boolean", "description": "Whether the tab is sel ected."},
920 "pinned": {"type": "boolean", "description": "Whether the tab is pinne d."}, 920 "pinned": {"type": "boolean", "description": "Whether the tab is pinne d."},
921 "url": {"type": "string", "description": "The URL the tab is displayin g."}, 921 "url": {"type": "string", "description": "The URL the tab is displayin g."},
922 "title": {"type": "string", "optional": true, "description": "The titl e of the tab. This may not be available if the tab is loading."}, 922 "title": {"type": "string", "optional": true, "description": "The titl e of the tab. This may not be available if the tab is loading."},
923 "favIconUrl": {"type": "string", "optional": true, "description": "The URL of the tab's favicon. This may not be available if the tab is loading."}, 923 "favIconUrl": {"type": "string", "optional": true, "description": "The URL of the tab's favicon. This may not be available if the tab is loading."},
924 "socketAddress": {"type": "string", "optional": true, "description": " The 'IPv4:port' or '[IPv6]:port' endpoint of the socket that fetched this page. This may be omitted if the address is unknown."},
924 "status": {"type": "string", "optional": true, "description": "Either <em>loading</em> or <em>complete</em>."}, 925 "status": {"type": "string", "optional": true, "description": "Either <em>loading</em> or <em>complete</em>."},
925 "incognito": {"type": "boolean", "description": "Whether the tab is in an incognito window."} 926 "incognito": {"type": "boolean", "description": "Whether the tab is in an incognito window."}
926 } 927 }
927 } 928 }
928 ], 929 ],
929 "functions": [ 930 "functions": [
930 { 931 {
931 "name": "get", 932 "name": "get",
932 "type": "function", 933 "type": "function",
933 "description": "Retrieves details about the specified tab.", 934 "description": "Retrieves details about the specified tab.",
(...skipping 3566 matching lines...) Expand 10 before | Expand all | Expand 10 after
4500 "token": { "type": "string", "optional": true } 4501 "token": { "type": "string", "optional": true }
4501 } 4502 }
4502 } 4503 }
4503 ] 4504 ]
4504 } 4505 }
4505 ] 4506 ]
4506 } 4507 }
4507 ] 4508 ]
4508 } 4509 }
4509 ] 4510 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698