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 "dependencies": [ "extension", "windows" ], | 8 "dependencies": [ "extension", "windows" ], |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 911 {"type": "integer", "name": "tabId", "minimum": 0}, | 911 {"type": "integer", "name": "tabId", "minimum": 0}, |
| 912 { | 912 { |
| 913 "type": "object", | 913 "type": "object", |
| 914 "name": "removeInfo", | 914 "name": "removeInfo", |
| 915 "properties": { | 915 "properties": { |
| 916 "windowId": {"type": "integer", "minimum": 0, "description": "the window whose tab is closed." }, | 916 "windowId": {"type": "integer", "minimum": 0, "description": "the window whose tab is closed." }, |
| 917 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." } | 917 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." } |
| 918 } | 918 } |
| 919 } | 919 } |
| 920 ] | 920 ] |
| 921 }, | |
| 922 { | |
| 923 "name": "onSwapped", | |
|
Matt Perry
2012/12/18 18:04:02
nit: I have a slight preference for onReplaced.
justinlin
2012/12/19 23:42:42
Done. Yea, sounds better.
| |
| 924 "type": "function", | |
| 925 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.", | |
| 926 "parameters": [ | |
| 927 {"type": "integer", "name": "addedTabId", "minimum": 0}, | |
| 928 {"type": "integer", "name": "removedTabId", "minimum": 0} | |
| 929 ] | |
| 921 } | 930 } |
| 922 ] | 931 ] |
| 923 } | 932 } |
| 924 ] | 933 ] |
| OLD | NEW |