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

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

Issue 9699065: "index" property should be optional with "chrome.tabs.move" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Small changes per comments Created 8 years, 7 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
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 "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
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
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 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/common/extensions/docs/declarativeWebRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698