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

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

Issue 1576433002: Update doc for r368222: url/title field requires "tabs" permission to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reword description Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 { "id": "MutedInfoReason", 10 { "id": "MutedInfoReason",
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 "description": "Whether the tabs are in the last focused window. " 457 "description": "Whether the tabs are in the last focused window. "
458 }, 458 },
459 "status": { 459 "status": {
460 "$ref": "TabStatus", 460 "$ref": "TabStatus",
461 "optional": true, 461 "optional": true,
462 "description": "Whether the tabs have completed loading." 462 "description": "Whether the tabs have completed loading."
463 }, 463 },
464 "title": { 464 "title": {
465 "type": "string", 465 "type": "string",
466 "optional": true, 466 "optional": true,
467 "description": "Match page titles against a pattern." 467 "description": "Match page titles against a pattern. Note that t his property is ignored if the extension doesn't have the <code>\"tabs\"</code> permission."
468 }, 468 },
469 "url": { 469 "url": {
470 "choices": [ 470 "choices": [
471 {"type": "string"}, 471 {"type": "string"},
472 {"type": "array", "items": {"type": "string"}} 472 {"type": "array", "items": {"type": "string"}}
473 ], 473 ],
474 "optional": true, 474 "optional": true,
475 "description": "Match tabs against one or more <a href='match_pa tterns'>URL patterns</a>. Note that fragment identifiers are not matched." 475 "description": "Match tabs against one or more <a href='match_pa tterns'>URL patterns</a>. Note that fragment identifiers are not matched. Note t hat this property is ignored if the extension doesn't have the <code>\"tabs\"</c ode> permission."
476 }, 476 },
477 "windowId": { 477 "windowId": {
478 "type": "integer", 478 "type": "integer",
479 "optional": true, 479 "optional": true,
480 "minimum": -2, 480 "minimum": -2,
481 "description": "The ID of the parent window, or $(ref:windows.WI NDOW_ID_CURRENT) for the <a href='windows#current-window'>current window</a>." 481 "description": "The ID of the parent window, or $(ref:windows.WI NDOW_ID_CURRENT) for the <a href='windows#current-window'>current window</a>."
482 }, 482 },
483 "windowType": { 483 "windowType": {
484 "$ref": "WindowType", 484 "$ref": "WindowType",
485 "optional": true, 485 "optional": true,
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 "tabId": {"type": "integer", "minimum": 0}, 1177 "tabId": {"type": "integer", "minimum": 0},
1178 "oldZoomFactor": {"type": "number"}, 1178 "oldZoomFactor": {"type": "number"},
1179 "newZoomFactor": {"type": "number"}, 1179 "newZoomFactor": {"type": "number"},
1180 "zoomSettings": {"$ref": "ZoomSettings"} 1180 "zoomSettings": {"$ref": "ZoomSettings"}
1181 } 1181 }
1182 }] 1182 }]
1183 } 1183 }
1184 ] 1184 ]
1185 } 1185 }
1186 ] 1186 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698