Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 367 "optional": true, | 367 "optional": true, |
| 368 "enum": ["loading", "complete"], | 368 "enum": ["loading", "complete"], |
| 369 "description": "Whether the tabs have completed loading." | 369 "description": "Whether the tabs have completed loading." |
| 370 }, | 370 }, |
| 371 "title": { | 371 "title": { |
| 372 "type": "string", | 372 "type": "string", |
| 373 "optional": true, | 373 "optional": true, |
| 374 "description": "Match page titles against a pattern." | 374 "description": "Match page titles against a pattern." |
| 375 }, | 375 }, |
| 376 "url": { | 376 "url": { |
| 377 "type": "string", | 377 "choices": [ |
| 378 {"type": "string"}, | |
| 379 {"type": "array", "items": {"type": "string"}} | |
| 380 ], | |
| 378 "optional": true, | 381 "optional": true, |
| 379 "description": "Match tabs against a <a href='match_patterns'>UR L pattern</a>. Note that fragment identifiers are not matched." | 382 "description": "Match tabs against a <a href='match_patterns'>UR L pattern</a>. Note that fragment identifiers are not matched." |
|
Yoyo Zhou
2014/09/18 20:53:37
Please update this.
robwu
2014/09/18 22:23:18
Done.
| |
| 380 }, | 383 }, |
| 381 "windowId": { | 384 "windowId": { |
| 382 "type": "integer", | 385 "type": "integer", |
| 383 "optional": true, | 386 "optional": true, |
| 384 "minimum": -2, | 387 "minimum": -2, |
| 385 "description": "The ID of the parent window, or $(ref:windows.WI NDOW_ID_CURRENT) for the <a href='windows#current-window'>current window</a>." | 388 "description": "The ID of the parent window, or $(ref:windows.WI NDOW_ID_CURRENT) for the <a href='windows#current-window'>current window</a>." |
| 386 }, | 389 }, |
| 387 "windowType": { | 390 "windowType": { |
| 388 "type": "string", | 391 "type": "string", |
| 389 "optional": true, | 392 "optional": true, |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1060 "tabId": {"type": "integer", "minimum": 0}, | 1063 "tabId": {"type": "integer", "minimum": 0}, |
| 1061 "oldZoomFactor": {"type": "number"}, | 1064 "oldZoomFactor": {"type": "number"}, |
| 1062 "newZoomFactor": {"type": "number"}, | 1065 "newZoomFactor": {"type": "number"}, |
| 1063 "zoomSettings": {"$ref": "ZoomSettings"} | 1066 "zoomSettings": {"$ref": "ZoomSettings"} |
| 1064 } | 1067 } |
| 1065 }] | 1068 }] |
| 1066 } | 1069 } |
| 1067 ] | 1070 ] |
| 1068 } | 1071 } |
| 1069 ] | 1072 ] |
| OLD | NEW |