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

Side by Side Diff: tools/json_schema_compiler/test/font_settings.json

Issue 10907151: Extensions Docs Server: Enum values do not show up if enum is a type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 // 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": "fontSettings", 7 "namespace": "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",
28 "Grek", "Gujr", "Guru", "Hang", "Hans", "Hant", "Hebr", "Hrkt" , "Knda",
29 "Khmr", "Laoo", "Mlym", "Mong", "Mymr", "Orya", "Sinh", "Taml" , "Telu",
30 "Thaa", "Thai", "Tibt", "Yiii"
31 ],
not at google - send to devlin 2012/09/11 01:14:10 this doesn't seem right?
cduvall 2012/09/11 19:23:46 I just made this a string type (not enum) so we ca
not at google - send to devlin 2012/09/11 21:55:12 Oh it's *test* data. That totally confused me. Ok.
32 "description": "An ISO 15924 script code." 27 "description": "An ISO 15924 script code."
33 }, 28 },
34 { 29 {
35 "id": "GenericFamily", 30 "id": "GenericFamily",
36 "type": "string", 31 "type": "string",
37 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy" ], 32 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy" ],
38 "description": "A CSS generic font family." 33 "description": "A CSS generic font family."
39 }, 34 },
40 { 35 {
41 "id": "LevelOfControl", 36 "id": "LevelOfControl",
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 "$ref": "LevelOfControl", 541 "$ref": "LevelOfControl",
547 "description": "The level of control this extension has over the setting." 542 "description": "The level of control this extension has over the setting."
548 } 543 }
549 } 544 }
550 } 545 }
551 ] 546 ]
552 } 547 }
553 ] 548 ]
554 } 549 }
555 ] 550 ]
OLDNEW
« tools/json_schema_compiler/cpp_type_generator.py ('K') | « tools/json_schema_compiler/model.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698