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

Unified Diff: extensions/common/api/extensions_manifest_types.json

Issue 518653002: Add the "options_ui" extension manifest field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix everything Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: extensions/common/api/extensions_manifest_types.json
diff --git a/extensions/common/api/extensions_manifest_types.json b/extensions/common/api/extensions_manifest_types.json
index 00262692a85139b6418daa80713e063f616acf29..35f32206ed1320dd2a0c3ef8fef8ed05094183b0 100644
--- a/extensions/common/api/extensions_manifest_types.json
+++ b/extensions/common/api/extensions_manifest_types.json
@@ -39,6 +39,27 @@
}
},
{
+ "id": "OptionsUI",
+ "type": "object",
+ "description": "The <code>options_ui</code> manifest property declares how the options page should be displayed.",
+ "properties": {
+ "page": {
+ "description": "The path to your options page.",
+ "type": "string"
+ },
+ "chrome_style": {
+ "description": "If <code>true</code>, a Chrome user agent stylesheet will be applied to your options page. The default value is <code>false</code>.",
+ "optional": true,
+ "type": "boolean"
+ },
+ "open_in_tab": {
+ "description": "If <code>true</code>, the options page will be opened in a new tab instead of in an embedded popup in chrome://extensions. The default value is <code>false</code>.",
+ "optional": true,
+ "type": "boolean"
+ }
+ }
+ },
+ {
"id": "SocketHostPatterns",
"description": "<p>A single string or a list of strings representing host:port patterns.</p>",
"choices": [

Powered by Google App Engine
This is Rietveld 408576698