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

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

Issue 159882: Implements extensions devtools API (Closed)
Patch Set: Fixes flakiness in tests by grabbing tab ID in C++ land and passing it down Created 11 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/renderer_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "Port", 6 "id": "Port",
7 "type": "object", 7 "type": "object",
8 "description": "An object which allows two way communication with other pages.", 8 "description": "An object which allows two way communication with other pages.",
9 "properties": { 9 "properties": {
10 "name": {"type": "string"}, 10 "name": {"type": "string"},
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 "description": "", 858 "description": "",
859 "parameters": [ 859 "parameters": [
860 {"type": "string", "name": "url", "optional": true}, 860 {"type": "string", "name": "url", "optional": true},
861 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 861 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
862 ] 862 ]
863 } 863 }
864 ], 864 ],
865 "events": [] 865 "events": []
866 }, 866 },
867 { 867 {
868 "namespace": "devtools",
869 "types": [
870 ],
871 "functions": [
872 {
873 "name": "getTabEvents",
874 "type": "function",
875 "description": "EXPERIMENTAL support for timeline API",
876 "nodocs": "true",
877 "parameters": [
878 {
879 "name": "tab_id",
880 "type": "integer"
881 }
882 ],
883 "returns": {
884 "type": "object",
885 "description": "DevTools tab events object"
886 }
887 }
888 ]
889 },
890 {
868 "namespace": "test", 891 "namespace": "test",
869 "types": [], 892 "types": [],
870 "functions": [ 893 "functions": [
871 { 894 {
872 "name": "fail", 895 "name": "fail",
873 "type": "function", 896 "type": "function",
874 "description": "Notify the browser process that test code running in the extension failed. This is only used for internal unit testing.", 897 "description": "Notify the browser process that test code running in the extension failed. This is only used for internal unit testing.",
875 "parameters": [ 898 "parameters": [
876 {"type": "string", "name": "message"} 899 {"type": "string", "name": "message"}
877 ] 900 ]
878 }, 901 },
879 { 902 {
880 "name": "pass", 903 "name": "pass",
881 "type": "function", 904 "type": "function",
882 "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.", 905 "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.",
883 "parameters": [] 906 "parameters": []
884 } 907 }
885 ], 908 ],
886 "events": [] 909 "events": []
887 } 910 }
888 ] 911 ]
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698