Index: chrome/common/extensions/docs/server2/templates/intros/fontSettings.html |
diff --git a/chrome/common/extensions/docs/server2/templates/intros/fontSettings.html b/chrome/common/extensions/docs/server2/templates/intros/fontSettings.html |
index d22db27d0f83b651faea907daf4ae52a79428dbc..c32014949b9274394445d1d6c667ca565a67b790 100644 |
--- a/chrome/common/extensions/docs/server2/templates/intros/fontSettings.html |
+++ b/chrome/common/extensions/docs/server2/templates/intros/fontSettings.html |
@@ -1,4 +1,3 @@ |
-<!-- BEGIN AUTHORED CONTENT --> |
<p>The Font Settings API allows you to manage Chrome's font settings.</p> |
<h2 id="manifest">Manifest</h2> |
<p>To use the Font Settings API, you must declare the "fontSettings" permission |
@@ -34,17 +33,16 @@ font covers, such as Latin.</p> |
<pre> |
chrome.fontSettings.getFont( |
{ genericFamily: 'standard', script: 'Arab' }, |
- function(details) { console.log(details.fontName); } |
+ function(details) { console.log(details.fontId); } |
); |
</pre> |
<p>The next snippet sets the sans-serif font for Japanese.</p> |
<pre> |
chrome.fontSettings.setFont( |
- { genericFamily: 'sansserif', script: 'Jpan', fontName: 'MS PGothic' } |
+ { genericFamily: 'sansserif', script: 'Jpan', fontId: 'MS PGothic' } |
); |
</pre> |
<p>You can find a sample extension using the Font Settings API in the |
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/fontSettings/">examples/api/fontSettings</a> |
directory. For other examples and for help in viewing the source code, see |
-<a href="samples.html">Samples</a>.</p> |
-<!-- END AUTHORED CONTENT --> |
+<a href="samples.html">Samples</a>.</p> |