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

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

Issue 487533005: Add support for references in different paths in apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | chrome/common/extensions/api/types.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "tabs", 7 "namespace": "tabs",
8 "description": "Use the <code>chrome.tabs</code> API to interact with the br owser's tab system. You can use this API to create, modify, and rearrange tabs i n the browser.", 8 "description": "Use the <code>chrome.tabs</code> API to interact with the br owser's tab system. You can use this API to create, modify, and rearrange tabs i n the browser.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 "description": "Captures the visible area of the currently active tab in the specified window. You must have <a href='declare_permissions'>&lt;all_urls& gt;</a> permission to use this method.", 647 "description": "Captures the visible area of the currently active tab in the specified window. You must have <a href='declare_permissions'>&lt;all_urls& gt;</a> permission to use this method.",
648 "parameters": [ 648 "parameters": [
649 { 649 {
650 "type": "integer", 650 "type": "integer",
651 "name": "windowId", 651 "name": "windowId",
652 "minimum": -2, 652 "minimum": -2,
653 "optional": true, 653 "optional": true,
654 "description": "The target window. Defaults to the <a href='windows# current-window'>current window</a>." 654 "description": "The target window. Defaults to the <a href='windows# current-window'>current window</a>."
655 }, 655 },
656 { 656 {
657 "$ref": "types.ImageDetails", 657 "$ref": "extensionTypes.ImageDetails",
658 "name": "options", 658 "name": "options",
659 "optional": true 659 "optional": true
660 }, 660 },
661 { 661 {
662 "type": "function", "name": "callback", "parameters": [ 662 "type": "function", "name": "callback", "parameters": [
663 {"type": "string", "name": "dataUrl", "description": "A data URL w hich encodes an image of the visible area of the captured tab. May be assigned t o the 'src' property of an HTML Image element for display."} 663 {"type": "string", "name": "dataUrl", "description": "A data URL w hich encodes an image of the visible area of the captured tab. May be assigned t o the 'src' property of an HTML Image element for display."}
664 ] 664 ]
665 } 665 }
666 ] 666 ]
667 }, 667 },
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 "tabId": {"type": "integer", "minimum": 0}, 1077 "tabId": {"type": "integer", "minimum": 0},
1078 "oldZoomFactor": {"type": "number"}, 1078 "oldZoomFactor": {"type": "number"},
1079 "newZoomFactor": {"type": "number"}, 1079 "newZoomFactor": {"type": "number"},
1080 "zoomSettings": {"$ref": "ZoomSettings"} 1080 "zoomSettings": {"$ref": "ZoomSettings"}
1081 } 1081 }
1082 }] 1082 }]
1083 } 1083 }
1084 ] 1084 ]
1085 } 1085 }
1086 ] 1086 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | chrome/common/extensions/api/types.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698