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

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: Improved task manager sample and minor cleanup. 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.bookmarks.create": "bookmarks.html#method-create", 3 "chrome.bookmarks.create": "bookmarks.html#method-create",
4 "chrome.bookmarks.get": "bookmarks.html#method-get", 4 "chrome.bookmarks.get": "bookmarks.html#method-get",
5 "chrome.bookmarks.getChildren": "bookmarks.html#method-getChildren", 5 "chrome.bookmarks.getChildren": "bookmarks.html#method-getChildren",
6 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent", 6 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent",
7 "chrome.bookmarks.getSubTree": "bookmarks.html#method-getSubTree", 7 "chrome.bookmarks.getSubTree": "bookmarks.html#method-getSubTree",
8 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree", 8 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree",
9 "chrome.bookmarks.move": "bookmarks.html#method-move", 9 "chrome.bookmarks.move": "bookmarks.html#method-move",
10 "chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged", 10 "chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged",
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "chrome.experimental.keybinding.onCommand": "experimental.keybinding.html#ev ent-onCommand", 146 "chrome.experimental.keybinding.onCommand": "experimental.keybinding.html#ev ent-onCommand",
147 "chrome.experimental.offscreenTabs.create": "experimental.offscreenTabs.html #method-create", 147 "chrome.experimental.offscreenTabs.create": "experimental.offscreenTabs.html #method-create",
148 "chrome.experimental.offscreenTabs.get": "experimental.offscreenTabs.html#me thod-get", 148 "chrome.experimental.offscreenTabs.get": "experimental.offscreenTabs.html#me thod-get",
149 "chrome.experimental.offscreenTabs.getAll": "experimental.offscreenTabs.html #method-getAll", 149 "chrome.experimental.offscreenTabs.getAll": "experimental.offscreenTabs.html #method-getAll",
150 "chrome.experimental.offscreenTabs.onUpdated": "experimental.offscreenTabs.h tml#event-onUpdated", 150 "chrome.experimental.offscreenTabs.onUpdated": "experimental.offscreenTabs.h tml#event-onUpdated",
151 "chrome.experimental.offscreenTabs.remove": "experimental.offscreenTabs.html #method-remove", 151 "chrome.experimental.offscreenTabs.remove": "experimental.offscreenTabs.html #method-remove",
152 "chrome.experimental.offscreenTabs.sendKeyboardEvent": "experimental.offscre enTabs.html#method-sendKeyboardEvent", 152 "chrome.experimental.offscreenTabs.sendKeyboardEvent": "experimental.offscre enTabs.html#method-sendKeyboardEvent",
153 "chrome.experimental.offscreenTabs.sendMouseEvent": "experimental.offscreenT abs.html#method-sendMouseEvent", 153 "chrome.experimental.offscreenTabs.sendMouseEvent": "experimental.offscreenT abs.html#method-sendMouseEvent",
154 "chrome.experimental.offscreenTabs.toDataUrl": "experimental.offscreenTabs.h tml#method-toDataUrl", 154 "chrome.experimental.offscreenTabs.toDataUrl": "experimental.offscreenTabs.h tml#method-toDataUrl",
155 "chrome.experimental.offscreenTabs.update": "experimental.offscreenTabs.html #method-update", 155 "chrome.experimental.offscreenTabs.update": "experimental.offscreenTabs.html #method-update",
156 "chrome.experimental.processes.getProcessIdForTab": "experimental.processes. html#method-getProcessIdForTab",
157 "chrome.experimental.processes.getProcessInfo": "experimental.processes.html #method-getProcessInfo",
158 "chrome.experimental.processes.onCreated": "experimental.processes.html#even t-onCreated",
159 "chrome.experimental.processes.onExited": "experimental.processes.html#event -onExited",
160 "chrome.experimental.processes.onUnresponsive": "experimental.processes.html #event-onUnresponsive",
161 "chrome.experimental.processes.onUpdated": "experimental.processes.html#even t-onUpdated",
162 "chrome.experimental.processes.onUpdatedWithMemory": "experimental.processes .html#event-onUpdatedWithMemory",
163 "chrome.experimental.processes.terminate": "experimental.processes.html#meth od-terminate",
156 "chrome.experimental.runtime.getBackgroundPage": "experimental.runtime.html# method-getBackgroundPage", 164 "chrome.experimental.runtime.getBackgroundPage": "experimental.runtime.html# method-getBackgroundPage",
157 "chrome.experimental.runtime.onBackgroundPageUnloadingSoon": "experimental.r untime.html#event-onBackgroundPageUnloadingSoon", 165 "chrome.experimental.runtime.onBackgroundPageUnloadingSoon": "experimental.r untime.html#event-onBackgroundPageUnloadingSoon",
158 "chrome.experimental.runtime.onInstalled": "experimental.runtime.html#event- onInstalled", 166 "chrome.experimental.runtime.onInstalled": "experimental.runtime.html#event- onInstalled",
159 "chrome.experimental.serial.close": "experimental.serial.html#method-close", 167 "chrome.experimental.serial.close": "experimental.serial.html#method-close",
160 "chrome.experimental.serial.open": "experimental.serial.html#method-open", 168 "chrome.experimental.serial.open": "experimental.serial.html#method-open",
161 "chrome.experimental.serial.read": "experimental.serial.html#method-read", 169 "chrome.experimental.serial.read": "experimental.serial.html#method-read",
162 "chrome.experimental.serial.write": "experimental.serial.html#method-write", 170 "chrome.experimental.serial.write": "experimental.serial.html#method-write",
163 "chrome.experimental.socket.bind": "experimental.socket.html#method-bind", 171 "chrome.experimental.socket.bind": "experimental.socket.html#method-bind",
164 "chrome.experimental.socket.connect": "experimental.socket.html#method-conne ct", 172 "chrome.experimental.socket.connect": "experimental.socket.html#method-conne ct",
165 "chrome.experimental.socket.create": "experimental.socket.html#method-create ", 173 "chrome.experimental.socket.create": "experimental.socket.html#method-create ",
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 ], 2061 ],
2054 "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", 2062 "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",
2055 "source_files": [ 2063 "source_files": [
2056 "background.js", 2064 "background.js",
2057 "manifest.json" 2065 "manifest.json"
2058 ], 2066 ],
2059 "source_hash": "cf807f051cdf685d031b58cdb995ef7fabdda832", 2067 "source_hash": "cf807f051cdf685d031b58cdb995ef7fabdda832",
2060 "zip_path": "examples/api/browserAction/print.zip" 2068 "zip_path": "examples/api/browserAction/print.zip"
2061 }, 2069 },
2062 { 2070 {
2063 "api_calls": [], 2071 "api_calls": [
2072 "chrome.experimental.processes.onUpdated",
2073 "chrome.experimental.processes.onUpdatedWithMemory",
2074 "chrome.experimental.processes.terminate"
2075 ],
2064 "crx_path": null, 2076 "crx_path": null,
2065 "description": "Adds a browser action that monitors resource usage of all browser processes.", 2077 "description": "Adds a browser action that monitors resource usage of all browser processes.",
2066 "features": [ 2078 "features": [
2067 "browser_action", 2079 "browser_action",
2068 "experimental", 2080 "experimental",
2069 "tabs" 2081 "tabs"
2070 ], 2082 ],
2071 "icon": null, 2083 "icon": null,
2072 "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09", 2084 "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09",
2073 "name": "Process Monitor", 2085 "name": "Process Monitor",
2074 "packaged_app": false, 2086 "packaged_app": false,
2075 "path": "examples/api/processes/process_monitor/", 2087 "path": "examples/api/processes/process_monitor/",
2076 "protocols": [], 2088 "protocols": [],
2077 "search_string": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESO URCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL TABS", 2089 "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",
2078 "source_files": [ 2090 "source_files": [
2079 "manifest.json", 2091 "manifest.json",
2080 "popup.html", 2092 "popup.html",
2081 "popup.js" 2093 "popup.js"
2082 ], 2094 ],
2083 "source_hash": "0d3542c6bdc5b79f9c261ff69b701f43540cb657", 2095 "source_hash": "76ebb097aee877b69bf918f94663a2d8cbd50704",
2084 "zip_path": "examples/api/processes/process_monitor.zip" 2096 "zip_path": "examples/api/processes/process_monitor.zip"
2085 }, 2097 },
2086 { 2098 {
2087 "api_calls": [ 2099 "api_calls": [
2088 "chrome.browserAction.setBadgeBackgroundColor", 2100 "chrome.browserAction.setBadgeBackgroundColor",
2089 "chrome.browserAction.setBadgeText", 2101 "chrome.browserAction.setBadgeText",
2090 "chrome.browserAction.setTitle", 2102 "chrome.browserAction.setTitle",
2091 "chrome.extension.isAllowedIncognitoAccess", 2103 "chrome.extension.isAllowedIncognitoAccess",
2092 "chrome.i18n.getMessage", 2104 "chrome.i18n.getMessage",
2093 "chrome.proxy.onProxyError" 2105 "chrome.proxy.onProxyError"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
2187 "contentscript.js", 2199 "contentscript.js",
2188 "infobar.html", 2200 "infobar.html",
2189 "infobar.js", 2201 "infobar.js",
2190 "manifest.json" 2202 "manifest.json"
2191 ], 2203 ],
2192 "source_hash": "370452fb1adc87631f89b7799e03f69b0aeaad26", 2204 "source_hash": "370452fb1adc87631f89b7799e03f69b0aeaad26",
2193 "zip_path": "examples/api/infobars/sandwichbar.zip" 2205 "zip_path": "examples/api/infobars/sandwichbar.zip"
2194 }, 2206 },
2195 { 2207 {
2196 "api_calls": [ 2208 "api_calls": [
2209 "chrome.experimental.processes.getProcessIdForTab",
2197 "chrome.tabs.get", 2210 "chrome.tabs.get",
2198 "chrome.tabs.update", 2211 "chrome.tabs.update",
2199 "chrome.windows.get", 2212 "chrome.windows.get",
2200 "chrome.windows.getAll", 2213 "chrome.windows.getAll",
2201 "chrome.windows.getCurrent", 2214 "chrome.windows.getCurrent",
2202 "chrome.windows.update" 2215 "chrome.windows.update"
2203 ], 2216 ],
2204 "crx_path": null, 2217 "crx_path": null,
2205 "description": "Adds a browser action showing which tabs share the current tab's process.", 2218 "description": "Adds a browser action showing which tabs share the current tab's process.",
2206 "features": [ 2219 "features": [
2207 "browser_action", 2220 "browser_action",
2208 "experimental", 2221 "experimental",
2209 "tabs" 2222 "tabs"
2210 ], 2223 ],
2211 "icon": null, 2224 "icon": null,
2212 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312", 2225 "id": "fc89b35755483af30b66cd72cefa34a43a3e8312",
2213 "name": "Show Tabs in Process", 2226 "name": "Show Tabs in Process",
2214 "packaged_app": false, 2227 "packaged_app": false,
2215 "path": "examples/api/processes/show_tabs/", 2228 "path": "examples/api/processes/show_tabs/",
2216 "protocols": [ 2229 "protocols": [
2217 "chrome://" 2230 "chrome://"
2218 ], 2231 ],
2219 "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", 2232 "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",
2220 "source_files": [ 2233 "source_files": [
2221 "manifest.json", 2234 "manifest.json",
2222 "popup.css", 2235 "popup.css",
2223 "popup.html", 2236 "popup.html",
2224 "popup.js" 2237 "popup.js"
2225 ], 2238 ],
2226 "source_hash": "062194cd7a1a907c4e9d442cfbe19a5db36916fa", 2239 "source_hash": "062194cd7a1a907c4e9d442cfbe19a5db36916fa",
2227 "zip_path": "examples/api/processes/show_tabs.zip" 2240 "zip_path": "examples/api/processes/show_tabs.zip"
2228 }, 2241 },
2229 { 2242 {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2668 "source_files": [ 2681 "source_files": [
2669 "manifest.json", 2682 "manifest.json",
2670 "popup.html", 2683 "popup.html",
2671 "popup.js", 2684 "popup.js",
2672 "sample.css" 2685 "sample.css"
2673 ], 2686 ],
2674 "source_hash": "8e51dc3a9577065d22ce92f3c838edc5ceaf4e65", 2687 "source_hash": "8e51dc3a9577065d22ce92f3c838edc5ceaf4e65",
2675 "zip_path": "examples/api/extension/isAllowedAccess.zip" 2688 "zip_path": "examples/api/extension/isAllowedAccess.zip"
2676 } 2689 }
2677 ] 2690 ]
2678 } 2691 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698