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

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: ref:i18n 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
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..47a9d77607c56dd252b0f5ae21e091bfbb85c22e 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 by means of the
+ $(ref:i18n chrome.i18n API).
mkearney1 2014/03/28 23:02:20 Simplify: The <code>search_provider</code>... prop
vasilii 2014/03/31 09:19:49 Done.
+ </li>
+ <li>
+ For <a href="http://developer.chrome.com/extensions/external_extensions">external extensions</a>,
+ all URLs values of <code>search_provider</code>, <code>homepage</code> and
mkearney1 2014/03/28 23:02:20 How about after the comma: "the <code>search_provi
vasilii 2014/03/31 09:19:49 Done.
+ <code>startup_pages</code> 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>).
+ The value name is "install_parameter", the value data is an arbitrary string:
+ <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 just removed. Note that "__PARAM__" must be beyond the
mkearney1 2014/03/28 23:02:20 You switch between singular and plural here. Stick
vasilii 2014/03/31 09:19:49 Done.
+ first / after the hostname, it can NOT 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

Powered by Google App Engine
This is Rietveld 408576698