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

Side by Side Diff: chrome/common/extensions/api/experimental_font_settings.json

Issue 10548021: Add per-script font support for all ISO 15924 scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/fontSettings.zip » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "experimental.fontSettings", 7 "namespace": "experimental.fontSettings",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "FontName", 10 "id": "FontName",
11 "type": "object", 11 "type": "object",
12 "description": "Represents a font name.", 12 "description": "Represents a font name.",
13 "properties": { 13 "properties": {
14 "fontName": { 14 "fontName": {
15 "type": "string", 15 "type": "string",
16 "description": "The font name." 16 "description": "The font name."
17 }, 17 },
18 "localizedName": { 18 "localizedName": {
19 "type": "string", 19 "type": "string",
20 "description": "The font name localized for the current locale." 20 "description": "The font name localized for the current locale."
21 } 21 }
22 } 22 }
23 }, 23 },
24 { 24 {
25 "id": "ScriptCode", 25 "id": "ScriptCode",
26 "type": "string", 26 "type": "string",
27 "enum": [ "Arab", "Armn", "Beng", "Cans", "Cher", "Cyrl", "Deva", "Ethi" , "Geor", 27 "enum": [ "Afak", "Arab", "Armi", "Armn", "Avst", "Bali", "Bamu", "Bass" , "Batk",
28 "Grek", "Gujr", "Guru", "Hang", "Hans", "Hant", "Hebr", "Hrkt" , "Knda", 28 "Beng", "Blis", "Bopo", "Brah", "Brai", "Bugi", "Buhd", "Cakm" , "Cans",
29 "Khmr", "Laoo", "Mlym", "Mong", "Mymr", "Orya", "Sinh", "Taml" , "Telu", 29 "Cari", "Cham", "Cher", "Cirt", "Copt", "Cprt", "Cyrl", "Cyrs" , "Deva",
30 "Thaa", "Thai", "Tibt", "Yiii", "Zyyy" 30 "Dsrt", "Dupl", "Egyd", "Egyh", "Egyp", "Elba", "Ethi", "Geor" , "Geok",
31 "Glag", "Goth", "Gran", "Grek", "Gujr", "Guru", "Hang", "Hani" , "Hano",
32 "Hans", "Hant", "Hebr", "Hluw", "Hmng", "Hrkt", "Hung", "Inds" , "Ital",
33 "Java", "Jurc", "Kali", "Khar", "Khmr", "Khoj", "Knda", "Kpel" , "Kthi",
34 "Lana", "Laoo", "Latf", "Latg", "Latn", "Lepc", "Limb", "Lina" , "Linb",
35 "Lisu", "Loma", "Lyci", "Lydi", "Mand", "Mani", "Maya", "Mend" , "Merc",
36 "Mero", "Mlym", "Moon", "Mong", "Mroo", "Mtei", "Mymr", "Narb" , "Nbat",
37 "Nkgb", "Nkoo", "Nshu", "Ogam", "Olck", "Orkh", "Orya", "Osma" , "Palm",
38 "Perm", "Phag", "Phli", "Phlp", "Phlv", "Phnx", "Plrd", "Prti" , "Rjng",
39 "Roro", "Runr", "Samr", "Sara", "Sarb", "Saur", "Sgnw", "Shaw" , "Shrd",
40 "Sind", "Sinh", "Sora", "Sund", "Sylo", "Syrc", "Syre", "Syrj" , "Syrn",
41 "Tagb", "Takr", "Tale", "Talu", "Taml", "Tang", "Tavt", "Telu" , "Teng",
42 "Tfng", "Tglg", "Thaa", "Thai", "Tibt", "Tirh", "Ugar", "Vaii" , "Visp",
43 "Wara", "Wole", "Xpeo", "Xsux", "Yiii", "Zmth", "Zsym", "Zyyy"
31 ], 44 ],
32 "description": "An ISO 15924 script code. The default, or global, script is represented by script code \"Zyyy\"." 45 "description": "An ISO 15924 script code. The default, or global, script is represented by script code \"Zyyy\"."
33 }, 46 },
34 { 47 {
35 "id": "GenericFamily", 48 "id": "GenericFamily",
36 "type": "string", 49 "type": "string",
37 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy" ], 50 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy" ],
38 "description": "A CSS generic font family." 51 "description": "A CSS generic font family."
39 }, 52 },
40 { 53 {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 "$ref": "LevelOfControl", 484 "$ref": "LevelOfControl",
472 "description": "The level of control this extension has over the setting." 485 "description": "The level of control this extension has over the setting."
473 } 486 }
474 } 487 }
475 } 488 }
476 ] 489 ]
477 } 490 }
478 ] 491 ]
479 } 492 }
480 ] 493 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/fontSettings.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698