Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / articles / options.html
index befbcd8..bff3af1 100644 (file)
@@ -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="optionsV2">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>