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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 6378009: Only allow extension pages to be displayed in the sidebar to be consistent... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/api/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 72219)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -3908,7 +3908,7 @@
{
"name": "navigate",
"type": "function",
- "description": "Navigates sidebar for the specified tab to the specified URL.",
+ "description": "Loads the the specified html file into the sidebar for the specified tab.",
"parameters": [
{
"type": "object",
@@ -3920,7 +3920,10 @@
"optional": true,
"description": "Defaults to the selected tab of the <a href='windows.html#current-window'>current window</a>."
},
- "url": { "type": "string" }
+ "path": {
+ "type": "string",
+ "description": "Relative path to the html file in the extension to show in the sidebar."
+ }
}
}
]
« no previous file with comments | « chrome/browser/sidebar/sidebar_container.cc ('k') | chrome/common/extensions/docs/experimental.sidebar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698