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

Unified Diff: chrome/common/extensions/api/experimental_font_settings.json

Issue 10107014: Migrate WebKit "global script" font prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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/api/experimental_font_settings.json
diff --git a/chrome/common/extensions/api/experimental_font_settings.json b/chrome/common/extensions/api/experimental_font_settings.json
index b2ed78d7d414366942f3444762a609c4548ac50e..749083f683adf5e21492fb560c3a9f4265fe817b 100644
--- a/chrome/common/extensions/api/experimental_font_settings.json
+++ b/chrome/common/extensions/api/experimental_font_settings.json
@@ -27,9 +27,9 @@
"enum": [ "Arab", "Armn", "Beng", "Cans", "Cher", "Cyrl", "Deva", "Ethi", "Geor",
"Grek", "Gujr", "Guru", "Hang", "Hans", "Hant", "Hebr", "Hrkt", "Knda",
"Khmr", "Laoo", "Mlym", "Mong", "Mymr", "Orya", "Sinh", "Taml", "Telu",
- "Thaa", "Thai", "Tibt", "Yiii"
+ "Thaa", "Thai", "Tibt", "Yiii", "Zyyy"
],
- "description": "An ISO 15924 script code."
+ "description": "An ISO 15924 script code. The default, or global, script is represented by script code \"Zyyy\"."
},
{
"id": "GenericFamily",
@@ -82,7 +82,7 @@
"properties": {
"script": {
"$ref": "ScriptCode",
- "description": "The script for which the font should be retrieved. If omitted, the font for the global script is retrieved.",
+ "description": "The script for which the font should be retrieved. If omitted, the font setting for the global script (script code \"Zyyy\") is retrieved.",
"optional": true
},
"genericFamily": {
@@ -124,7 +124,7 @@
"properties": {
"script": {
"$ref": "ScriptCode",
- "description": "The script code which the font should be set. If omitted, the font for the global script is set.",
+ "description": "The script code which the font should be set. If omitted, the font setting for the global script (script code \"Zyyy\") is set.",
"optional": true
},
"genericFamily": {
@@ -475,7 +475,7 @@
"fontName": { "type": "string" },
"script": {
"$ref": "ScriptCode",
- "description": "The script code for which the font setting has changed. If omitted, the global script font setting has changed.",
+ "description": "The script code for which the font setting has changed.",
"optional": true
},
"genericFamily": {

Powered by Google App Engine
This is Rietveld 408576698