Index: extensions/common/api/runtime.json |
diff --git a/extensions/common/api/runtime.json b/extensions/common/api/runtime.json |
index 7266ff59dc88a9cf0e063e08d07108974b9da516..de6e5960d681c700b5b0029339fb96581d525cae 100644 |
--- a/extensions/common/api/runtime.json |
+++ b/extensions/common/api/runtime.json |
@@ -109,6 +109,17 @@ |
] |
}, |
{ |
+ "name": "openOptionsPage", |
+ "type": "function", |
+ "description": "<p>Open your Extension's options page, if possible.</p><p>The precise behavior may depend on your manifest's <code><a href=\"optionsV2\">options_ui</a></code> or <code><a href=\"options\">options_page</a></code> key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.</p><p>If your Extension does not declare an options page, or Chrome failed to create one for some other reason, the callback will set $(ref:lastError).</p>", |
+ "parameters": [{ |
+ "type": "function", |
+ "name": "callback", |
+ "parameters": [], |
+ "optional": true |
+ }] |
+ }, |
+ { |
"name": "getManifest", |
"description": "Returns details about the app or extension from the manifest. The object returned is a serialization of the full <a href=\"manifest.html\">manifest file</a>.", |
"type": "function", |