| Index: chrome/common/extensions/docs/templates/articles/options.html
|
| diff --git a/chrome/common/extensions/docs/templates/articles/options.html b/chrome/common/extensions/docs/templates/articles/options.html
|
| index befbcd84a077a2f9ea7533df1ff55d26054edce5..ad43b809a0586c6bd7e5c9a8d13690951a73ac5a 100644
|
| --- a/chrome/common/extensions/docs/templates/articles/options.html
|
| +++ b/chrome/common/extensions/docs/templates/articles/options.html
|
| @@ -1,8 +1,13 @@
|
| <h1>Options</h1>
|
|
|
| +<p class="note">
|
| +There is a new way to write your options pages, starting from Chrome 40.
|
| +<a href="options2">Learn more</a>, and try it out!
|
| +</p>
|
| +
|
| <p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the extensions management page at chrome://extensions. Clicking the Options link opens a new tab pointing at your options page.</p>
|
|
|
| -<p>Use the $(ref:storage) API to persist these preferences. These values will then become accessible in any script within your extension.</p>
|
| +<p>Use the $(ref:storage.sync) API to persist these preferences. These values will then become accessible in any script within your extension, on all your user's devices.</p>
|
|
|
| <h2 id="step_1">Step 1: Declare your options page in the manifest</h2>
|
|
|
| @@ -80,8 +85,3 @@ document.addEventListener('DOMContentLoaded', restore_options);
|
| document.getElementById('save').addEventListener('click',
|
| save_options);
|
| </pre>
|
| -
|
| -<h2 id="important_notes">Important notes</h2>
|
| -<ul>
|
| -<li>We plan on providing some default css styles to encourage a consistent look across different extensions' options pages. You can star <a href="http://crbug.com/25317">crbug.com/25317</a> to be notified of updates.</li>
|
| -</ul>
|
|
|