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

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

Issue 183020: more bookmark tests, plus fix a couple of API bugs (Closed)
Patch Set: cleanup from review comments (plus merge fallout) Created 11 years, 3 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
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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 "parameters": [ 824 "parameters": [
825 {"type": "string", "name": "id"}, 825 {"type": "string", "name": "id"},
826 { 826 {
827 "type": "object", 827 "type": "object",
828 "name": "destination", 828 "name": "destination",
829 "properties": { 829 "properties": {
830 "parentId": {"type": "string"}, 830 "parentId": {"type": "string"},
831 "index": {"type": "integer", "minimum": 0, "optional": true} 831 "index": {"type": "integer", "minimum": 0, "optional": true}
832 } 832 }
833 }, 833 },
834 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 834 {
835 "type": "function",
836 "name": "callback",
837 "optional": true,
838 "parameters": [
839 {"name": "result", "$ref": "BookmarkTreeNode" }
840 ]
841 }
835 ] 842 ]
836 }, 843 },
837 { 844 {
838 "name": "update", 845 "name": "update",
839 "type": "function", 846 "type": "function",
840 "description": "", 847 "description": "",
841 "parameters": [ 848 "parameters": [
842 {"type": "string", "name": "id"}, 849 {"type": "string", "name": "id"},
843 { 850 {
844 "type": "object", 851 "type": "object",
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 "type": "function", 1049 "type": "function",
1043 "description": "Logs a message during internal unit testing.", 1050 "description": "Logs a message during internal unit testing.",
1044 "parameters": [ 1051 "parameters": [
1045 {"type": "string", "name": "message"} 1052 {"type": "string", "name": "message"}
1046 ] 1053 ]
1047 } 1054 }
1048 ], 1055 ],
1049 "events": [] 1056 "events": []
1050 } 1057 }
1051 ] 1058 ]
OLDNEW
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/test/data/extensions/api_test/bookmarks/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698