Index: chrome/common/extensions/api/web_navigation.json |
diff --git a/chrome/common/extensions/api/web_navigation.json b/chrome/common/extensions/api/web_navigation.json |
index 55342973f215121cd7e9ef8d5997bdc4114f852b..4ba546987da689a99add87d8c2affe2cdce0d800 100644 |
--- a/chrome/common/extensions/api/web_navigation.json |
+++ b/chrome/common/extensions/api/web_navigation.json |
@@ -246,6 +246,27 @@ |
} |
} |
] |
+ }, |
+ { |
+ "name": "onTabReplaced", |
+ "type": "function", |
+ "description": "Fired when the contents of the tab is replaced by a different (usually previously pre-rendered) tab.", |
+ "options": { |
+ "supportsFilters": false, |
+ "supportsListeners": true, |
+ "supportsRules": false |
+ }, |
+ "parameters": [ |
+ { |
+ "type": "object", |
+ "name": "details", |
+ "properties": { |
+ "replacedTabId": {"type": "integer", "description": "The ID of the tab that was replaced."}, |
+ "tabId": {"type": "integer", "description": "The ID of the tab that replaced the old tab."}, |
+ "timeStamp": {"type": "number", "description": "The time when the replacement happened, in milliseconds since the epoch."} |
+ } |
+ } |
+ ] |
} |
] |
} |