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

Unified Diff: chrome/common/extensions/docs/templates/articles/settings_override.html

Issue 216473005: Settings Override API: update documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @mkearney comments Created 6 years, 9 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
« no previous file with comments | « chrome/common/extensions/api/manifest_types.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/articles/settings_override.html
diff --git a/chrome/common/extensions/docs/templates/articles/settings_override.html b/chrome/common/extensions/docs/templates/articles/settings_override.html
index f00167ab9b2dc9973f234b53132e33f4295dd0fc..17bdd7c0283cd5ed5926cb2b58ef6b58611c2838 100644
--- a/chrome/common/extensions/docs/templates/articles/settings_override.html
+++ b/chrome/common/extensions/docs/templates/articles/settings_override.html
@@ -46,6 +46,32 @@ manifest</a>.</p>
<code>search_provider</code>, and <code>startup_pages</code> are only enabled
in the Chrome Dev release.</p>
+<h2 id="customizing">Customizing values</h2>
+<p>Values in the manifest can be customized in the following ways:</p>
+<ul>
+ <li>
+ All values of the <code>search_provider</code>, <code>homepage</code> and
+ <code>startup_pages</code> properties can be localized using the
+ $(ref:i18n chrome.i18n API).
+ </li>
+ <li>
+ For <a href="http://developer.chrome.com/extensions/external_extensions">external extensions</a>,
+ the <code>search_provider</code>, <code>homepage</code> and
+ <code>startup_pages</code> URL values can be parametrized using a registry key.
+ A new registry entry should be created next to the "update_url" key (see
+ instructions <a href=http://developer.chrome.com/extensions/external_extensions#registry>here</a>).
battre 2014/04/01 14:15:44 "" around href parameter?
vasilii 2014/04/08 08:48:06 Done.
+ The value name is "install_parameter", the value data is an arbitrary string:
battre 2014/04/01 14:15:44 s/value name/entry name/ s/value data/entry data/
vasilii 2014/04/08 08:48:06 This is official Microsoft terminology. Data entri
+ <pre>{
+ "update_url": "https://clients2.google.com/service/update2/crx",
+ "install_parameter": "Value"
+ }</pre>
+ All occurrences of the substring "__PARAM__" in the manifest URLs will be
+ substituted with the "install_parameter" value. If “install_parameter” is
+ absent, "__PARAM__" are removed. Note that "__PARAM__" must be beyond the
battre 2014/04/01 14:15:44 absent, occurrences of "__PARAM__"
battre 2014/04/01 14:15:44 Note that "__PARAM__" cannot be part of the hostna
vasilii 2014/04/08 08:48:06 Done.
vasilii 2014/04/08 08:48:06 Done.
+ first '/' after the hostname, they cannot be part of the hostname.
+ </li>
+</ul>
+
<h2 id="reference">Reference</h2>
<p>
An extension can override one or more of the following properties in the
« no previous file with comments | « chrome/common/extensions/api/manifest_types.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698