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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 7981040: Make chrome.tabs.update's tabId parameter optional. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Mihai's comments addressed. Created 9 years, 3 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 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1527 } 1527 }
1528 ] 1528 ]
1529 } 1529 }
1530 ] 1530 ]
1531 }, 1531 },
1532 { 1532 {
1533 "name": "update", 1533 "name": "update",
1534 "type": "function", 1534 "type": "function",
1535 "description": "Modifies the properties of a tab. Properties that are no t specified in <var>updateProperties</var> are not modified. Note: This function can be used without requesting the 'tabs' permission in the manifest.", 1535 "description": "Modifies the properties of a tab. Properties that are no t specified in <var>updateProperties</var> are not modified. Note: This function can be used without requesting the 'tabs' permission in the manifest.",
1536 "parameters": [ 1536 "parameters": [
1537 {"type": "integer", "name": "tabId", "minimum": 0}, 1537 {
1538 "type": "integer",
1539 "name": "tabId",
1540 "minimum": 0,
1541 "optional": true,
1542 "description": "Defaults to the selected tab of the <a href='windows .html#current-window'>current window</a>."
1543 },
1538 { 1544 {
1539 "type": "object", 1545 "type": "object",
1540 "name": "updateProperties", 1546 "name": "updateProperties",
1541 "properties": { 1547 "properties": {
1542 "url": { 1548 "url": {
1543 "optional": true, 1549 "optional": true,
1544 "description": "A URL to navigate the tab to." 1550 "description": "A URL to navigate the tab to."
1545 }, 1551 },
1546 "selected": { 1552 "selected": {
1547 "type": "boolean", 1553 "type": "boolean",
(...skipping 6897 matching lines...) Expand 10 before | Expand all | Expand 10 after
8445 "type": "function", 8451 "type": "function",
8446 "description": "Called when the browser's passwords have been cleare d.", 8452 "description": "Called when the browser's passwords have been cleare d.",
8447 "optional": true, 8453 "optional": true,
8448 "parameters": [] 8454 "parameters": []
8449 } 8455 }
8450 ] 8456 ]
8451 } 8457 }
8452 ] 8458 ]
8453 } 8459 }
8454 ] 8460 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/common/extensions/docs/tabs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698