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 "dependencies": [ "extension", "windows" ], | 8 "dependencies": [ "extension", "windows" ], |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 "name": "moveProperties", | 462 "name": "moveProperties", |
463 "properties": { | 463 "properties": { |
464 "windowId": { | 464 "windowId": { |
465 "type": "integer", | 465 "type": "integer", |
466 "minimum": -2, | 466 "minimum": -2, |
467 "optional": true, | 467 "optional": true, |
468 "description": "Defaults to the window the tab is currently in." | 468 "description": "Defaults to the window the tab is currently in." |
469 }, | 469 }, |
470 "index": { | 470 "index": { |
471 "type": "integer", | 471 "type": "integer", |
472 "minimum": 0, | 472 "minimum": -1, |
473 "description": "The position to move the window to. The provided
value will be clamped to between zero and the number of tabs in the window." | 473 "description": "The position to move the window to. -1 will plac
e the tab at the end of the window." |
474 } | 474 } |
475 } | 475 } |
476 }, | 476 }, |
477 { | 477 { |
478 "type": "function", | 478 "type": "function", |
479 "name": "callback", | 479 "name": "callback", |
480 "optional": true, | 480 "optional": true, |
481 "parameters": [ | 481 "parameters": [ |
482 { | 482 { |
483 "name": "tabs", | 483 "name": "tabs", |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 "name": "removeInfo", | 886 "name": "removeInfo", |
887 "properties": { | 887 "properties": { |
888 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } | 888 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } |
889 } | 889 } |
890 } | 890 } |
891 ] | 891 ] |
892 } | 892 } |
893 ] | 893 ] |
894 } | 894 } |
895 ] | 895 ] |
OLD | NEW |