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

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

Issue 192028: finished testing functions and added events to bookmark tests. (Closed)
Patch Set: feedback from review 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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 {"type": "string", "name": "id"}, 909 {"type": "string", "name": "id"},
910 { 910 {
911 "$ref": "BookmarkTreeNode", 911 "$ref": "BookmarkTreeNode",
912 "name": "bookmark" 912 "name": "bookmark"
913 } 913 }
914 ] 914 ]
915 }, 915 },
916 { 916 {
917 "name": "onRemoved", 917 "name": "onRemoved",
918 "type": "function", 918 "type": "function",
919 "description": "Fired when a bookmark or folder is removed.", 919 "description": "Fired when a bookmark or folder is removed. When a fold er is removed recursively, a single notification is fired for the folder, and no ne for its contents.",
920 "parameters": [ 920 "parameters": [
921 {"type": "string", "name": "id"}, 921 {"type": "string", "name": "id"},
922 { 922 {
923 "type": "object", 923 "type": "object",
924 "name": "removeInfo", 924 "name": "removeInfo",
925 "properties": { 925 "properties": {
926 "parentId": { "type": "string" }, 926 "parentId": { "type": "string" },
927 "index": { "type": "integer" } 927 "index": { "type": "integer" }
928 } 928 }
929 } 929 }
(...skipping 28 matching lines...) Expand all
958 "index": { "type": "integer" }, 958 "index": { "type": "integer" },
959 "oldParentId": { "type": "string" }, 959 "oldParentId": { "type": "string" },
960 "oldIndex": { "type": "integer" } 960 "oldIndex": { "type": "integer" }
961 } 961 }
962 } 962 }
963 ] 963 ]
964 }, 964 },
965 { 965 {
966 "name": "onChildrenReordered", 966 "name": "onChildrenReordered",
967 "type": "function", 967 "type": "function",
968 "description": "Fired when the children of a folder have changed their o rder.", 968 "description": "Fired when the children of a folder have changed their o rder due to the order being sorted in the UI. This is not called as a result of a move().",
969 "parameters": [ 969 "parameters": [
970 {"type": "string", "name": "id"}, 970 {"type": "string", "name": "id"},
971 { 971 {
972 "type": "object", 972 "type": "object",
973 "name": "reorderInfo", 973 "name": "reorderInfo",
974 "properties": { 974 "properties": {
975 "childIds": { "type": "array", "items": { "type": "string" } } 975 "childIds": { "type": "array", "items": { "type": "string" } }
976 } 976 }
977 } 977 }
978 ] 978 ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 "type": "function", 1066 "type": "function",
1067 "description": "Logs a message during internal unit testing.", 1067 "description": "Logs a message during internal unit testing.",
1068 "parameters": [ 1068 "parameters": [
1069 {"type": "string", "name": "message"} 1069 {"type": "string", "name": "message"}
1070 ] 1070 ]
1071 } 1071 }
1072 ], 1072 ],
1073 "events": [] 1073 "events": []
1074 } 1074 }
1075 ] 1075 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_bookmarks_module.cc ('k') | chrome/renderer/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698