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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 3890 matching lines...) Expand 10 before | Expand all | Expand 10 after
3901 "optional": true, 3901 "optional": true,
3902 "description": "Defaults to the selected tab of the <a href='win dows.html#current-window'>current window</a>." 3902 "description": "Defaults to the selected tab of the <a href='win dows.html#current-window'>current window</a>."
3903 } 3903 }
3904 } 3904 }
3905 } 3905 }
3906 ] 3906 ]
3907 }, 3907 },
3908 { 3908 {
3909 "name": "navigate", 3909 "name": "navigate",
3910 "type": "function", 3910 "type": "function",
3911 "description": "Navigates sidebar for the specified tab to the specified URL.", 3911 "description": "Loads the the specified html file into the sidebar for t he specified tab.",
3912 "parameters": [ 3912 "parameters": [
3913 { 3913 {
3914 "type": "object", 3914 "type": "object",
3915 "name": "details", 3915 "name": "details",
3916 "properties": { 3916 "properties": {
3917 "tabId": { 3917 "tabId": {
3918 "type": "integer", 3918 "type": "integer",
3919 "minimum": 0, 3919 "minimum": 0,
3920 "optional": true, 3920 "optional": true,
3921 "description": "Defaults to the selected tab of the <a href='win dows.html#current-window'>current window</a>." 3921 "description": "Defaults to the selected tab of the <a href='win dows.html#current-window'>current window</a>."
3922 }, 3922 },
3923 "url": { "type": "string" } 3923 "path": {
3924 "type": "string",
3925 "description": "Relative path to the html file in the extension to show in the sidebar."
3926 }
3924 } 3927 }
3925 } 3928 }
3926 ] 3929 ]
3927 }, 3930 },
3928 { 3931 {
3929 "name": "getState", 3932 "name": "getState",
3930 "type": "function", 3933 "type": "function",
3931 "description": "Returns current sidebar state for the specified tab.", 3934 "description": "Returns current sidebar state for the specified tab.",
3932 "parameters": [ 3935 "parameters": [
3933 { 3936 {
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
4500 "token": { "type": "string", "optional": true } 4503 "token": { "type": "string", "optional": true }
4501 } 4504 }
4502 } 4505 }
4503 ] 4506 ]
4504 } 4507 }
4505 ] 4508 ]
4506 } 4509 }
4507 ] 4510 ]
4508 } 4511 }
4509 ] 4512 ]
OLDNEW
« 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