Index: chrome/common/extensions/api/browser_action.json |
diff --git a/chrome/common/extensions/api/browser_action.json b/chrome/common/extensions/api/browser_action.json |
index 85dd9bb2db3a3f0f9866e46a819b2e4fe250712a..698cf178fe1e63b7e4590a6109d7db6af0272bfa 100644 |
--- a/chrome/common/extensions/api/browser_action.json |
+++ b/chrome/common/extensions/api/browser_action.json |
@@ -310,6 +310,25 @@ |
"description": "The id of the tab for which you want to modify the browser action." |
} |
] |
+ }, |
+ { |
+ "name": "openPopup", |
+ "type": "function", |
+ "description": "Opens the extension popup window in the active window but does not grant tab permissions.", |
+ "nodoc": true, |
+ "parameters": [ |
+ { |
+ "type": "function", |
+ "name": "callback", |
+ "parameters": [ |
+ { |
+ "name": "popupView", |
+ "type": "object", |
+ "additionalProperties": { "type": "any" } |
+ } |
+ ] |
+ } |
+ ] |
} |
], |
"events": [ |