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

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

Issue 10175008: Improving the process model extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Syncing to the latest tree after a week away. Created 8 years, 7 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.alarms.clear": "alarms.html#method-clear", 3 "chrome.alarms.clear": "alarms.html#method-clear",
4 "chrome.alarms.clearAll": "alarms.html#method-clearAll", 4 "chrome.alarms.clearAll": "alarms.html#method-clearAll",
5 "chrome.alarms.create": "alarms.html#method-create", 5 "chrome.alarms.create": "alarms.html#method-create",
6 "chrome.alarms.get": "alarms.html#method-get", 6 "chrome.alarms.get": "alarms.html#method-get",
7 "chrome.alarms.getAll": "alarms.html#method-getAll", 7 "chrome.alarms.getAll": "alarms.html#method-getAll",
8 "chrome.alarms.onAlarm": "alarms.html#event-onAlarm", 8 "chrome.alarms.onAlarm": "alarms.html#event-onAlarm",
9 "chrome.bookmarks.create": "bookmarks.html#method-create", 9 "chrome.bookmarks.create": "bookmarks.html#method-create",
10 "chrome.bookmarks.get": "bookmarks.html#method-get", 10 "chrome.bookmarks.get": "bookmarks.html#method-get",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "chrome.experimental.mediaGalleries.openMediaGalleryManager": "experimental. mediaGalleries.html#method-openMediaGalleryManager", 177 "chrome.experimental.mediaGalleries.openMediaGalleryManager": "experimental. mediaGalleries.html#method-openMediaGalleryManager",
178 "chrome.experimental.offscreenTabs.create": "experimental.offscreenTabs.html #method-create", 178 "chrome.experimental.offscreenTabs.create": "experimental.offscreenTabs.html #method-create",
179 "chrome.experimental.offscreenTabs.get": "experimental.offscreenTabs.html#me thod-get", 179 "chrome.experimental.offscreenTabs.get": "experimental.offscreenTabs.html#me thod-get",
180 "chrome.experimental.offscreenTabs.getAll": "experimental.offscreenTabs.html #method-getAll", 180 "chrome.experimental.offscreenTabs.getAll": "experimental.offscreenTabs.html #method-getAll",
181 "chrome.experimental.offscreenTabs.onUpdated": "experimental.offscreenTabs.h tml#event-onUpdated", 181 "chrome.experimental.offscreenTabs.onUpdated": "experimental.offscreenTabs.h tml#event-onUpdated",
182 "chrome.experimental.offscreenTabs.remove": "experimental.offscreenTabs.html #method-remove", 182 "chrome.experimental.offscreenTabs.remove": "experimental.offscreenTabs.html #method-remove",
183 "chrome.experimental.offscreenTabs.sendKeyboardEvent": "experimental.offscre enTabs.html#method-sendKeyboardEvent", 183 "chrome.experimental.offscreenTabs.sendKeyboardEvent": "experimental.offscre enTabs.html#method-sendKeyboardEvent",
184 "chrome.experimental.offscreenTabs.sendMouseEvent": "experimental.offscreenT abs.html#method-sendMouseEvent", 184 "chrome.experimental.offscreenTabs.sendMouseEvent": "experimental.offscreenT abs.html#method-sendMouseEvent",
185 "chrome.experimental.offscreenTabs.toDataUrl": "experimental.offscreenTabs.h tml#method-toDataUrl", 185 "chrome.experimental.offscreenTabs.toDataUrl": "experimental.offscreenTabs.h tml#method-toDataUrl",
186 "chrome.experimental.offscreenTabs.update": "experimental.offscreenTabs.html #method-update", 186 "chrome.experimental.offscreenTabs.update": "experimental.offscreenTabs.html #method-update",
187 "chrome.experimental.processes.getProcessIdForTab": "experimental.processes. html#method-getProcessIdForTab",
188 "chrome.experimental.processes.getProcessInfo": "experimental.processes.html #method-getProcessInfo",
189 "chrome.experimental.processes.onCreated": "experimental.processes.html#even t-onCreated",
190 "chrome.experimental.processes.onExited": "experimental.processes.html#event -onExited",
191 "chrome.experimental.processes.onUnresponsive": "experimental.processes.html #event-onUnresponsive",
192 "chrome.experimental.processes.onUpdated": "experimental.processes.html#even t-onUpdated",
193 "chrome.experimental.processes.onUpdatedWithMemory": "experimental.processes .html#event-onUpdatedWithMemory",
194 "chrome.experimental.processes.terminate": "experimental.processes.html#meth od-terminate",
187 "chrome.experimental.record.captureURLs": "experimental.record.html#method-c aptureURLs", 195 "chrome.experimental.record.captureURLs": "experimental.record.html#method-c aptureURLs",
188 "chrome.experimental.record.replayURLs": "experimental.record.html#method-re playURLs", 196 "chrome.experimental.record.replayURLs": "experimental.record.html#method-re playURLs",
189 "chrome.experimental.serial.close": "experimental.serial.html#method-close", 197 "chrome.experimental.serial.close": "experimental.serial.html#method-close",
190 "chrome.experimental.serial.getPorts": "experimental.serial.html#method-getP orts", 198 "chrome.experimental.serial.getPorts": "experimental.serial.html#method-getP orts",
191 "chrome.experimental.serial.open": "experimental.serial.html#method-open", 199 "chrome.experimental.serial.open": "experimental.serial.html#method-open",
192 "chrome.experimental.serial.read": "experimental.serial.html#method-read", 200 "chrome.experimental.serial.read": "experimental.serial.html#method-read",
193 "chrome.experimental.serial.write": "experimental.serial.html#method-write", 201 "chrome.experimental.serial.write": "experimental.serial.html#method-write",
194 "chrome.experimental.socket.bind": "experimental.socket.html#method-bind", 202 "chrome.experimental.socket.bind": "experimental.socket.html#method-bind",
195 "chrome.experimental.socket.connect": "experimental.socket.html#method-conne ct", 203 "chrome.experimental.socket.connect": "experimental.socket.html#method-conne ct",
196 "chrome.experimental.socket.create": "experimental.socket.html#method-create ", 204 "chrome.experimental.socket.create": "experimental.socket.html#method-create ",
(...skipping 1927 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 ], 2132 ],
2125 "search_string": "PRINT THIS PAGE ADDS A PRINT BUTTON TO THE BROWSER. BACK GROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.UPDAT E", 2133 "search_string": "PRINT THIS PAGE ADDS A PRINT BUTTON TO THE BROWSER. BACK GROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.UPDAT E",
2126 "source_files": [ 2134 "source_files": [
2127 "background.js", 2135 "background.js",
2128 "manifest.json" 2136 "manifest.json"
2129 ], 2137 ],
2130 "source_hash": "cf807f051cdf685d031b58cdb995ef7fabdda832", 2138 "source_hash": "cf807f051cdf685d031b58cdb995ef7fabdda832",
2131 "zip_path": "examples/api/browserAction/print.zip" 2139 "zip_path": "examples/api/browserAction/print.zip"
2132 }, 2140 },
2133 { 2141 {
2134 "api_calls": [], 2142 "api_calls": [
2143 "chrome.experimental.processes.onUpdated",
2144 "chrome.experimental.processes.onUpdatedWithMemory",
2145 "chrome.experimental.processes.terminate"
2146 ],
2135 "crx_path": null, 2147 "crx_path": null,
2136 "description": "Adds a browser action that monitors resource usage of all browser processes.", 2148 "description": "Adds a browser action that monitors resource usage of all browser processes.",
2137 "features": [ 2149 "features": [
2138 "browser_action", 2150 "browser_action",
2139 "experimental", 2151 "experimental",
2140 "tabs" 2152 "tabs"
2141 ], 2153 ],
2142 "icon": null, 2154 "icon": null,
2143 "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09", 2155 "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09",
2144 "name": "Process Monitor", 2156 "name": "Process Monitor",
2145 "packaged_app": false, 2157 "packaged_app": false,
2146 "path": "examples/api/processes/process_monitor/", 2158 "path": "examples/api/processes/process_monitor/",
2147 "protocols": [], 2159 "protocols": [],
2148 "search_string": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESO URCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL TABS", 2160 "search_string": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESO URCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL TABS CHROME.EXP ERIMENTAL.PROCESSES.ONUPDATED CHROME.EXPERIMENTAL.PROCESSES.ONUPDATEDWITHMEMORY CHROME.EXPERIMENTAL.PROCESSES.TERMINATE",
2149 "source_files": [ 2161 "source_files": [
2150 "manifest.json", 2162 "manifest.json",
2151 "popup.html", 2163 "popup.html",
2152 "popup.js" 2164 "popup.js"
2153 ], 2165 ],
2154 "source_hash": "0d3542c6bdc5b79f9c261ff69b701f43540cb657", 2166 "source_hash": "76ebb097aee877b69bf918f94663a2d8cbd50704",
2155 "zip_path": "examples/api/processes/process_monitor.zip" 2167 "zip_path": "examples/api/processes/process_monitor.zip"
2156 }, 2168 },
2157 { 2169 {
2158 "api_calls": [ 2170 "api_calls": [
2159 "chrome.browserAction.setBadgeBackgroundColor", 2171 "chrome.browserAction.setBadgeBackgroundColor",
2160 "chrome.browserAction.setBadgeText", 2172 "chrome.browserAction.setBadgeText",
2161 "chrome.browserAction.setTitle", 2173 "chrome.browserAction.setTitle",
2162 "chrome.extension.isAllowedIncognitoAccess", 2174 "chrome.extension.isAllowedIncognitoAccess",
2163 "chrome.i18n.getMessage", 2175 "chrome.i18n.getMessage",
2164 "chrome.proxy.onProxyError" 2176 "chrome.proxy.onProxyError"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 "contentscript.js", 2270 "contentscript.js",
2259 "infobar.html", 2271 "infobar.html",
2260 "infobar.js", 2272 "infobar.js",
2261 "manifest.json" 2273 "manifest.json"
2262 ], 2274 ],
2263 "source_hash": "370452fb1adc87631f89b7799e03f69b0aeaad26", 2275 "source_hash": "370452fb1adc87631f89b7799e03f69b0aeaad26",
2264 "zip_path": "examples/api/infobars/sandwichbar.zip" 2276 "zip_path": "examples/api/infobars/sandwichbar.zip"
2265 }, 2277 },
2266 { 2278 {
2267 "api_calls": [ 2279 "api_calls": [
2280 "chrome.experimental.processes.getProcessIdForTab",
2268 "chrome.tabs.get", 2281 "chrome.tabs.get",
2269 "chrome.tabs.update", 2282 "chrome.tabs.update",
2270 "chrome.windows.get", 2283 "chrome.windows.get",
2271 "chrome.windows.getAll", 2284 "chrome.windows.getAll",
2272 "chrome.windows.getCurrent", 2285 "chrome.windows.getCurrent",
2273 "chrome.windows.update" 2286 "chrome.windows.update"
2274 ], 2287 ],
2275 "crx_path": null, 2288 "crx_path": null,
2276 "description": "Adds a browser action showing which tabs share the current tab's process.", 2289 "description": "Adds a browser action showing which tabs share the current tab's process.",
2277 "features": [ 2290 "features": [
2278 "browser_action", 2291 "browser_action",
2279 "experimental", 2292 "experimental",
2280 "tabs" 2293 "tabs"
2281 ], 2294 ],
2282 "icon": null, 2295 "icon": null,
2283 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312", 2296 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312",
2284 "name": "Show Tabs in Process", 2297 "name": "Show Tabs in Process",
2285 "packaged_app": false, 2298 "packaged_app": false,
2286 "path": "examples/api/processes/show_tabs/", 2299 "path": "examples/api/processes/show_tabs/",
2287 "protocols": [ 2300 "protocols": [
2288 "chrome://" 2301 "chrome://"
2289 ], 2302 ],
2290 "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL TABS CHROME.TA BS.GET CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOW S.GETCURRENT CHROME.WINDOWS.UPDATE", 2303 "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL TABS CHROME.EX PERIMENTAL.PROCESSES.GETPROCESSIDFORTAB CHROME.TABS.GET CHROME.TABS.UPDATE CHROM E.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.UPD ATE",
2291 "source_files": [ 2304 "source_files": [
2292 "manifest.json", 2305 "manifest.json",
2293 "popup.css", 2306 "popup.css",
2294 "popup.html", 2307 "popup.html",
2295 "popup.js" 2308 "popup.js"
2296 ], 2309 ],
2297 "source_hash": "062194cd7a1a907c4e9d442cfbe19a5db36916fa", 2310 "source_hash": "062194cd7a1a907c4e9d442cfbe19a5db36916fa",
2298 "zip_path": "examples/api/processes/show_tabs.zip" 2311 "zip_path": "examples/api/processes/show_tabs.zip"
2299 }, 2312 },
2300 { 2313 {
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2694 "source_files": [ 2707 "source_files": [
2695 "manifest.json", 2708 "manifest.json",
2696 "popup.html", 2709 "popup.html",
2697 "popup.js", 2710 "popup.js",
2698 "sample.css" 2711 "sample.css"
2699 ], 2712 ],
2700 "source_hash": "8e51dc3a9577065d22ce92f3c838edc5ceaf4e65", 2713 "source_hash": "8e51dc3a9577065d22ce92f3c838edc5ceaf4e65",
2701 "zip_path": "examples/api/extension/isAllowedAccess.zip" 2714 "zip_path": "examples/api/extension/isAllowedAccess.zip"
2702 } 2715 }
2703 ] 2716 ]
2704 } 2717 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | chrome/test/data/extensions/api_test/processes/api/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698