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

Unified Diff: chrome/common/extensions/docs/static/experimental.fontSettings.html

Issue 10716003: [Font Settings API]: Rename fontName and localizedName to fontId and displayName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/experimental.fontSettings.html
diff --git a/chrome/common/extensions/docs/static/experimental.fontSettings.html b/chrome/common/extensions/docs/static/experimental.fontSettings.html
index 18851c29b1c16e85ec103cd5d00f46ac6dac908f..80de2e7140b18aa165c489214230f6f60fe40458 100644
--- a/chrome/common/extensions/docs/static/experimental.fontSettings.html
+++ b/chrome/common/extensions/docs/static/experimental.fontSettings.html
@@ -40,14 +40,14 @@ font covers, such as Latin.</p>
<pre>
chrome.experimental.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.experimental.fontSettings.setFont(
- { genericFamily: 'sansserif', script: 'Jpan', fontName: 'MS PGothic' }
+ { genericFamily: 'sansserif', script: 'Jpan', fontId: 'MS PGothic' }
);
</pre>
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | chrome/test/data/extensions/api_test/font_settings/incognito/launch.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698