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

Side by Side Diff: chrome/common/extensions/docs/static/options.html

Issue 465039: Extension Doc Changes (no building or testable changes) (Closed)
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 unified diff | Download patch
OLDNEW
1 <div id="pageData-title" class="pageData">Options</div> 1 <div id="pageData-name class="pageData">Options</div>
2 <div id="pageData-showTOC" class="pageData">true</div> 2 <div id="pageData-showTOC" class="pageData">true</div>
3 <p>To allow users to customize the behavior of your extension, you may wish to p rovide an options page. If you do, a link to it will be provided from the extens ions management page at chrome://extensions. Clicking the Options link opens a n ew tab pointing at your options page. 3 <p>To allow users to customize the behavior of your extension, you may wish to p rovide an options page. If you do, a link to it will be provided from the extens ions management page at chrome://extensions. Clicking the Options link opens a n ew tab pointing at your options page.
4 4
5 <h2>Step 1: Declare your options page in the manifest</h2> 5 <h2>Step 1: Declare your options page in the manifest</h2>
6 6
7 <pre>{ 7 <pre>{
8 "name": "Test Extension", 8 "name": "Test Extension",
9 "version": "1.0", 9 "version": "1.0",
10 "description": "This is a test", 10 "description": "This is a test",
11 <b>"options_page": "options.html"</b> 11 <b>"options_page": "options.html"</b>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 &lt;button onclick="save_options()">Save&lt;/button> 68 &lt;button onclick="save_options()">Save&lt;/button>
69 &lt;/body> 69 &lt;/body>
70 &lt;/html> 70 &lt;/html>
71 </pre> 71 </pre>
72 72
73 <h2>Important notes</h2> 73 <h2>Important notes</h2>
74 <ul> 74 <ul>
75 <li>This feature is checked in to the trunk and should land in official builds s ometime <b>after</b> version 4.0.222.x.</li> 75 <li>This feature is checked in to the trunk and should land in official builds s ometime <b>after</b> version 4.0.222.x.</li>
76 <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.c om/25317">crbug.com/25317</a> to be notified of updates.</li> 76 <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.c om/25317">crbug.com/25317</a> to be notified of updates.</li>
77 </ul> 77 </ul>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/static/npapi.html ('k') | chrome/common/extensions/docs/static/overview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698