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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 454019: Addition of optional giveFocus parameter to experimental.popup.show(...) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years 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: chrome/common/extensions/api/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 33889)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -1668,6 +1668,11 @@
"additionalProperties": { "type": "any" },
"isInstanceOf": "HTMLElement",
"description": "A HTML DOM object to which the pop-up's position will be made relative."
+ },
+ "giveFocus": {
+ "type": "boolean",
+ "description": "Pass true to give the focus to the popup window. The default behaviour is true.",
+ "optional": true
}
}
},

Powered by Google App Engine
This is Rietveld 408576698