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

Unified Diff: chrome/common/extensions/docs/samples.json

Issue 3801008: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/samples.json
===================================================================
--- chrome/common/extensions/docs/samples.json (revision 62984)
+++ chrome/common/extensions/docs/samples.json (working copy)
@@ -15,7 +15,6 @@
"chrome.pageAction.setTitle": "pageAction.html#method-setTitle",
"chrome.bookmarks.onImportBegan": "bookmarks.html#event-onImportBegan",
"chrome.experimental.omnibox.styleDim": "experimental.omnibox.html#method-styleDim",
- "chrome.experimental.processes.getProcessForTab": "experimental.processes.html#method-getProcessForTab",
"chrome.bookmarks.getTree": "bookmarks.html#method-getTree",
"chrome.experimental.infobars.show": "experimental.infobars.html#method-show",
"chrome.windows.get": "windows.html#method-get",
@@ -28,7 +27,7 @@
"chrome.extension.onConnect": "extension.html#event-onConnect",
"chrome.bookmarks.removeTree": "bookmarks.html#method-removeTree",
"chrome.bookmarks.get": "bookmarks.html#method-get",
- "chrome.experimental.sidebar.hide": "experimental.sidebar.html#method-hide",
+ "chrome.experimental.processes.onUpdated": "experimental.processes.html#event-onUpdated",
"chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent",
"chrome.history.onVisitRemoved": "history.html#event-onVisitRemoved",
"chrome.experimental.sidebar.navigate": "experimental.sidebar.html#method-navigate",
@@ -36,6 +35,7 @@
"chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged",
"chrome.tabs.detectLanguage": "tabs.html#method-detectLanguage",
"chrome.windows.onRemoved": "windows.html#event-onRemoved",
+ "chrome.experimental.sidebar.hide": "experimental.sidebar.html#method-hide",
"chrome.management.uninstall": "management.html#method-uninstall",
"chrome.experimental.clipboard.executePaste": "experimental.clipboard.html#method-executePaste",
"chrome.experimental.webNavigation.onCompleted": "experimental.webNavigation.html#event-onCompleted",
@@ -139,6 +139,7 @@
"chrome.tabs.move": "tabs.html#method-move",
"chrome.windows.onFocusChanged": "windows.html#event-onFocusChanged",
"chrome.pageAction.setPopup": "pageAction.html#method-setPopup",
+ "chrome.experimental.processes.getProcessIdForTab": "experimental.processes.html#method-getProcessIdForTab",
"chrome.history.addUrl": "history.html#method-addUrl"
},
"samples": [
@@ -1121,7 +1122,7 @@
],
"icon": null,
"description": "Chromium Page Benchmarker.",
- "search_string": "PAGE BENCHMARKER CHROMIUM PAGE BENCHMARKER. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.CONNECT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETEXTENSIONTABS CHROME.EXTENSION.GETURL CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.GETSELECTED CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
+ "search_string": "PAGE BENCHMARKER CHROMIUM PAGE BENCHMARKER. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.CONNECT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETEXTENSIONTABS CHROME.EXTENSION.GETURL CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.GETSELECTED CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT",
"source_files": [
"background.html",
"jst/jsevalcontext.js",
@@ -1145,6 +1146,7 @@
"chrome.extension.getURL",
"chrome.extension.onConnect",
"chrome.tabs.create",
+ "chrome.tabs.executeScript",
"chrome.tabs.get",
"chrome.tabs.getAllInWindow",
"chrome.tabs.getSelected",
@@ -1154,7 +1156,10 @@
"chrome.windows.getCurrent"
],
"id": "d74c3c18a1c1dd18b035149105a306f837c8823e",
- "protocols": [],
+ "protocols": [
+ "https://",
+ "http://"
+ ],
"name": "Page Benchmarker"
},
{
@@ -1185,6 +1190,29 @@
},
{
"features": [
+ "browser_action",
+ "experimental",
+ "popup",
+ "tabs"
+ ],
+ "icon": null,
+ "description": "Adds a browser action that monitors resource usage of all browser processes.",
+ "search_string": "PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESOURCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHROME.EXPERIMENTAL.PROCESSES.ONUPDATED",
+ "source_files": [
+ "manifest.json",
+ "popup.html"
+ ],
+ "zip_path": "examples/api/processes/process_monitor.zip",
+ "path": "examples/api/processes/process_monitor/",
+ "api_calls": [
+ "chrome.experimental.processes.onUpdated"
+ ],
+ "id": "beff6ecd9677dea0a7c648c5042165b48bb66f09",
+ "protocols": [],
+ "name": "Process Monitor"
+ },
+ {
+ "features": [
"background_page",
"browser_action",
"tabs"
@@ -1256,7 +1284,7 @@
],
"icon": null,
"description": "Adds a browser action showing which tabs share the current tab's process.",
- "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHROME.EXPERIMENTAL.PROCESSES.GETPROCESSFORTAB CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.UPDATE",
+ "search_string": "SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHROME.EXPERIMENTAL.PROCESSES.GETPROCESSIDFORTAB CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.UPDATE",
"source_files": [
"manifest.json",
"popup.html"
@@ -1264,7 +1292,7 @@
"zip_path": "examples/api/processes/show_tabs.zip",
"path": "examples/api/processes/show_tabs/",
"api_calls": [
- "chrome.experimental.processes.getProcessForTab",
+ "chrome.experimental.processes.getProcessIdForTab",
"chrome.tabs.get",
"chrome.tabs.getSelected",
"chrome.tabs.update",
« 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