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

Side by Side Diff: chrome/common/extensions/docs/samples.json

Issue 3597016: Expands the chrome.experimental.processes extension API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 "api": { 2 "api": {
3 "chrome.experimental.webRequest.onHeadersReceived": "experimental.webRequest .html#event-onHeadersReceived", 3 "chrome.experimental.webRequest.onHeadersReceived": "experimental.webRequest .html#event-onHeadersReceived",
4 "chrome.browserAction.onClicked": "browserAction.html#event-onClicked", 4 "chrome.browserAction.onClicked": "browserAction.html#event-onClicked",
5 "chrome.history.getVisits": "history.html#method-getVisits", 5 "chrome.history.getVisits": "history.html#method-getVisits",
6 "chrome.bookmarks.onImportEnded": "bookmarks.html#event-onImportEnded", 6 "chrome.bookmarks.onImportEnded": "bookmarks.html#event-onImportEnded",
7 "chrome.history.search": "history.html#method-search", 7 "chrome.history.search": "history.html#method-search",
8 "chrome.experimental.omnibox.onInputCancelled": "experimental.omnibox.html#e vent-onInputCancelled", 8 "chrome.experimental.omnibox.onInputCancelled": "experimental.omnibox.html#e vent-onInputCancelled",
9 "chrome.bookmarks.remove": "bookmarks.html#method-remove", 9 "chrome.bookmarks.remove": "bookmarks.html#method-remove",
10 "chrome.experimental.webNavigation.onErrorOccurred": "experimental.webNaviga tion.html#event-onErrorOccurred", 10 "chrome.experimental.webNavigation.onErrorOccurred": "experimental.webNaviga tion.html#event-onErrorOccurred",
11 "chrome.history.deleteUrl": "history.html#method-deleteUrl", 11 "chrome.history.deleteUrl": "history.html#method-deleteUrl",
12 "chrome.experimental.omnibox.styleNone": "experimental.omnibox.html#method-s tyleNone", 12 "chrome.experimental.omnibox.styleNone": "experimental.omnibox.html#method-s tyleNone",
13 "chrome.bookmarks.onMoved": "bookmarks.html#event-onMoved", 13 "chrome.bookmarks.onMoved": "bookmarks.html#event-onMoved",
14 "chrome.browserAction.setBadgeBackgroundColor": "browserAction.html#method-s etBadgeBackgroundColor", 14 "chrome.browserAction.setBadgeBackgroundColor": "browserAction.html#method-s etBadgeBackgroundColor",
15 "chrome.pageAction.setTitle": "pageAction.html#method-setTitle", 15 "chrome.pageAction.setTitle": "pageAction.html#method-setTitle",
16 "chrome.bookmarks.onImportBegan": "bookmarks.html#event-onImportBegan", 16 "chrome.bookmarks.onImportBegan": "bookmarks.html#event-onImportBegan",
17 "chrome.experimental.omnibox.styleDim": "experimental.omnibox.html#method-st yleDim", 17 "chrome.experimental.omnibox.styleDim": "experimental.omnibox.html#method-st yleDim",
18 "chrome.experimental.processes.getProcessForTab": "experimental.processes.ht ml#method-getProcessForTab",
19 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree", 18 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree",
20 "chrome.experimental.infobars.show": "experimental.infobars.html#method-show ", 19 "chrome.experimental.infobars.show": "experimental.infobars.html#method-show ",
21 "chrome.windows.get": "windows.html#method-get", 20 "chrome.windows.get": "windows.html#method-get",
22 "chrome.extension.sendRequest": "extension.html#method-sendRequest", 21 "chrome.extension.sendRequest": "extension.html#method-sendRequest",
23 "chrome.windows.getAll": "windows.html#method-getAll", 22 "chrome.windows.getAll": "windows.html#method-getAll",
24 "chrome.tabs.captureVisibleTab": "tabs.html#method-captureVisibleTab", 23 "chrome.tabs.captureVisibleTab": "tabs.html#method-captureVisibleTab",
25 "chrome.idle.onStateChanged": "idle.html#event-onStateChanged", 24 "chrome.idle.onStateChanged": "idle.html#event-onStateChanged",
26 "chrome.i18n.getMessage": "i18n.html#method-getMessage", 25 "chrome.i18n.getMessage": "i18n.html#method-getMessage",
27 "chrome.bookmarks.import": "bookmarks.html#method-import", 26 "chrome.bookmarks.import": "bookmarks.html#method-import",
28 "chrome.extension.onConnect": "extension.html#event-onConnect", 27 "chrome.extension.onConnect": "extension.html#event-onConnect",
29 "chrome.bookmarks.removeTree": "bookmarks.html#method-removeTree", 28 "chrome.bookmarks.removeTree": "bookmarks.html#method-removeTree",
30 "chrome.bookmarks.get": "bookmarks.html#method-get", 29 "chrome.bookmarks.get": "bookmarks.html#method-get",
31 "chrome.experimental.sidebar.hide": "experimental.sidebar.html#method-hide", 30 "chrome.experimental.processes.onUpdated": "experimental.processes.html#even t-onUpdated",
32 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent", 31 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent",
33 "chrome.history.onVisitRemoved": "history.html#event-onVisitRemoved", 32 "chrome.history.onVisitRemoved": "history.html#event-onVisitRemoved",
34 "chrome.experimental.sidebar.navigate": "experimental.sidebar.html#method-na vigate", 33 "chrome.experimental.sidebar.navigate": "experimental.sidebar.html#method-na vigate",
35 "chrome.windows.getCurrent": "windows.html#method-getCurrent", 34 "chrome.windows.getCurrent": "windows.html#method-getCurrent",
36 "chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged", 35 "chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged",
37 "chrome.tabs.detectLanguage": "tabs.html#method-detectLanguage", 36 "chrome.tabs.detectLanguage": "tabs.html#method-detectLanguage",
38 "chrome.windows.onRemoved": "windows.html#event-onRemoved", 37 "chrome.windows.onRemoved": "windows.html#event-onRemoved",
38 "chrome.experimental.sidebar.hide": "experimental.sidebar.html#method-hide",
39 "chrome.management.uninstall": "management.html#method-uninstall", 39 "chrome.management.uninstall": "management.html#method-uninstall",
40 "chrome.experimental.clipboard.executePaste": "experimental.clipboard.html#m ethod-executePaste", 40 "chrome.experimental.clipboard.executePaste": "experimental.clipboard.html#m ethod-executePaste",
41 "chrome.experimental.webNavigation.onCompleted": "experimental.webNavigation .html#event-onCompleted", 41 "chrome.experimental.webNavigation.onCompleted": "experimental.webNavigation .html#event-onCompleted",
42 "chrome.management.setEnabled": "management.html#method-setEnabled", 42 "chrome.management.setEnabled": "management.html#method-setEnabled",
43 "chrome.tabs.update": "tabs.html#method-update", 43 "chrome.tabs.update": "tabs.html#method-update",
44 "chrome.history.deleteRange": "history.html#method-deleteRange", 44 "chrome.history.deleteRange": "history.html#method-deleteRange",
45 "chrome.tabs.connect": "tabs.html#method-connect", 45 "chrome.tabs.connect": "tabs.html#method-connect",
46 "chrome.management.onEnabled": "management.html#event-onEnabled", 46 "chrome.management.onEnabled": "management.html#event-onEnabled",
47 "chrome.cookies.set": "cookies.html#method-set", 47 "chrome.cookies.set": "cookies.html#method-set",
48 "chrome.experimental.sidebar.setBadgeText": "experimental.sidebar.html#metho d-setBadgeText", 48 "chrome.experimental.sidebar.setBadgeText": "experimental.sidebar.html#metho d-setBadgeText",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "chrome.tabs.getAllInWindow": "tabs.html#method-getAllInWindow", 132 "chrome.tabs.getAllInWindow": "tabs.html#method-getAllInWindow",
133 "chrome.contextMenus.create": "contextMenus.html#method-create", 133 "chrome.contextMenus.create": "contextMenus.html#method-create",
134 "chrome.tabs.getSelected": "tabs.html#method-getSelected", 134 "chrome.tabs.getSelected": "tabs.html#method-getSelected",
135 "chrome.tabs.onAttached": "tabs.html#event-onAttached", 135 "chrome.tabs.onAttached": "tabs.html#event-onAttached",
136 "chrome.tabs.remove": "tabs.html#method-remove", 136 "chrome.tabs.remove": "tabs.html#method-remove",
137 "chrome.tabs.onDetached": "tabs.html#event-onDetached", 137 "chrome.tabs.onDetached": "tabs.html#event-onDetached",
138 "chrome.extension.connect": "extension.html#method-connect", 138 "chrome.extension.connect": "extension.html#method-connect",
139 "chrome.tabs.move": "tabs.html#method-move", 139 "chrome.tabs.move": "tabs.html#method-move",
140 "chrome.windows.onFocusChanged": "windows.html#event-onFocusChanged", 140 "chrome.windows.onFocusChanged": "windows.html#event-onFocusChanged",
141 "chrome.pageAction.setPopup": "pageAction.html#method-setPopup", 141 "chrome.pageAction.setPopup": "pageAction.html#method-setPopup",
142 "chrome.experimental.processes.getProcessIdForTab": "experimental.processes. html#method-getProcessIdForTab",
142 "chrome.history.addUrl": "history.html#method-addUrl" 143 "chrome.history.addUrl": "history.html#method-addUrl"
143 }, 144 },
144 "samples": [ 145 "samples": [
145 { 146 {
146 "features": [ 147 "features": [
147 "background_page", 148 "background_page",
148 "browser_action", 149 "browser_action",
149 "tabs" 150 "tabs"
150 ], 151 ],
151 "icon": null, 152 "icon": null,
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 ], 1179 ],
1179 "id": "e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd", 1180 "id": "e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd",
1180 "protocols": [ 1181 "protocols": [
1181 "http://", 1182 "http://",
1182 "https://" 1183 "https://"
1183 ], 1184 ],
1184 "name": "Print this page" 1185 "name": "Print this page"
1185 }, 1186 },
1186 { 1187 {
1187 "features": [ 1188 "features": [
1189 "browser_action",
1190 "experimental",
1191 "popup",
1192 "tabs"
1193 ],
1194 "icon": null,
1195 "description": "Adds a browser action that monitors resource usage of all browser processes.",
1196 "search_string": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESO URCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHRO ME.EXPERIMENTAL.PROCESSES.ONUPDATED",
1197 "source_files": [
1198 "manifest.json",
1199 "popup.html"
1200 ],
1201 "zip_path": "examples/api/processes/process_monitor.zip",
1202 "path": "examples/api/processes/process_monitor/",
1203 "api_calls": [
1204 "chrome.experimental.processes.onUpdated"
1205 ],
1206 "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09",
1207 "protocols": [],
1208 "name": "Process Monitor"
1209 },
1210 {
1211 "features": [
1188 "background_page", 1212 "background_page",
1189 "browser_action", 1213 "browser_action",
1190 "tabs" 1214 "tabs"
1191 ], 1215 ],
1192 "icon": "img/icon-128.png", 1216 "icon": "img/icon-128.png",
1193 "description": "Uses OAuth to connect to Google's contacts service and dis play a list of your contacts.", 1217 "description": "Uses OAuth to connect to Google's contacts service and dis play a list of your contacts.",
1194 "search_string": "SAMPLE - OAUTH CONTACTS USES OAUTH TO CONNECT TO GOOGLES CONTACTS SERVICE AND DISPLAY A LIST OF YOUR CONTACTS. BACKGROUND_PAGE BROWSER_A CTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EX TENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS .GET CHROME.TABS.GETSELECTED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE", 1218 "search_string": "SAMPLE - OAUTH CONTACTS USES OAUTH TO CONNECT TO GOOGLES CONTACTS SERVICE AND DISPLAY A LIST OF YOUR CONTACTS. BACKGROUND_PAGE BROWSER_A CTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EX TENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS .GET CHROME.TABS.GETSELECTED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE",
1195 "source_files": [ 1219 "source_files": [
1196 "background.html", 1220 "background.html",
1197 "chrome_ex_oauth.html", 1221 "chrome_ex_oauth.html",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 }, 1273 },
1250 { 1274 {
1251 "features": [ 1275 "features": [
1252 "browser_action", 1276 "browser_action",
1253 "experimental", 1277 "experimental",
1254 "popup", 1278 "popup",
1255 "tabs" 1279 "tabs"
1256 ], 1280 ],
1257 "icon": null, 1281 "icon": null,
1258 "description": "Adds a browser action showing which tabs share the current tab's process.", 1282 "description": "Adds a browser action showing which tabs share the current tab's process.",
1259 "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHR OME.EXPERIMENTAL.PROCESSES.GETPROCESSFORTAB CHROME.TABS.GET CHROME.TABS.GETSELEC TED CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.G ETCURRENT CHROME.WINDOWS.UPDATE", 1283 "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHR OME.EXPERIMENTAL.PROCESSES.GETPROCESSIDFORTAB CHROME.TABS.GET CHROME.TABS.GETSEL ECTED CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS .GETCURRENT CHROME.WINDOWS.UPDATE",
1260 "source_files": [ 1284 "source_files": [
1261 "manifest.json", 1285 "manifest.json",
1262 "popup.html" 1286 "popup.html"
1263 ], 1287 ],
1264 "zip_path": "examples/api/processes/show_tabs.zip", 1288 "zip_path": "examples/api/processes/show_tabs.zip",
1265 "path": "examples/api/processes/show_tabs/", 1289 "path": "examples/api/processes/show_tabs/",
1266 "api_calls": [ 1290 "api_calls": [
1267 "chrome.experimental.processes.getProcessForTab", 1291 "chrome.experimental.processes.getProcessIdForTab",
1268 "chrome.tabs.get", 1292 "chrome.tabs.get",
1269 "chrome.tabs.getSelected", 1293 "chrome.tabs.getSelected",
1270 "chrome.tabs.update", 1294 "chrome.tabs.update",
1271 "chrome.windows.get", 1295 "chrome.windows.get",
1272 "chrome.windows.getAll", 1296 "chrome.windows.getAll",
1273 "chrome.windows.getCurrent", 1297 "chrome.windows.getCurrent",
1274 "chrome.windows.update" 1298 "chrome.windows.update"
1275 ], 1299 ],
1276 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312", 1300 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312",
1277 "protocols": [], 1301 "protocols": [],
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 "chrome.history.getVisits", 1399 "chrome.history.getVisits",
1376 "chrome.history.search", 1400 "chrome.history.search",
1377 "chrome.tabs.create" 1401 "chrome.tabs.create"
1378 ], 1402 ],
1379 "id": "b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6", 1403 "id": "b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6",
1380 "protocols": [], 1404 "protocols": [],
1381 "name": "Typed URL History" 1405 "name": "Typed URL History"
1382 } 1406 }
1383 ] 1407 ]
1384 } 1408 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | chrome/test/data/extensions/api_test/permissions/enabled/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698