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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/experimental_fontSettings.html

Issue 10750017: Extensions Docs Server: Intro data source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- BEGIN AUTHORED CONTENT --> 1 <!-- BEGIN AUTHORED CONTENT -->
2 <p>The Font Settings API allows you to manage Chrome's font settings.</p> 2 <p>The Font Settings API allows you to manage Chrome's font settings.</p>
3 <h2 id="manifest">Manifest</h2> 3 <h2 id="manifest">Manifest</h2>
4 <p>The Font Settings API is currently experimental, so you must declare the 4 <p>The Font Settings API is currently experimental, so you must declare the
5 "experimental" permission to use it. For example:</p> 5 "experimental" permission to use it. For example:</p>
6 <pre>{ 6 <pre>{
7 "name": "My Font Settings Extension", 7 "name": "My Font Settings Extension",
8 "description": "Customize your fonts", 8 "description": "Customize your fonts",
9 "version": "0.2", 9 "version": "0.2",
10 "permissions": ["experimental"] 10 "permissions": ["experimental"]
(...skipping 29 matching lines...) Expand all
40 <pre> 40 <pre>
41 chrome.experimental.fontSettings.setFont( 41 chrome.experimental.fontSettings.setFont(
42 { genericFamily: 'sansserif', script: 'Jpan', fontName: 'MS PGothic' } 42 { genericFamily: 'sansserif', script: 'Jpan', fontName: 'MS PGothic' }
43 ); 43 );
44 </pre> 44 </pre>
45 <p>You can find a sample extension using the Font Settings API in the 45 <p>You can find a sample extension using the Font Settings API in the
46 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/fontSettings/">examples/api/fontSettings</a> 46 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/fontSettings/">examples/api/fontSettings</a>
47 directory. For other examples and for help in viewing the source code, see 47 directory. For other examples and for help in viewing the source code, see
48 <a href="samples.html">Samples</a>.</p> 48 <a href="samples.html">Samples</a>.</p>
49 <!-- END AUTHORED CONTENT --> 49 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698