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

Side by Side Diff: chrome/common/extensions/api/experimental.fontSettings.json

Issue 9689054: Generate documentation for experimental Font Settings Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 9 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": "experimental.fontSettings", 7 "namespace": "experimental.fontSettings",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "FontName", 10 "id": "FontName",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "type": "function", 69 "type": "function",
70 "description": "Sets the font name of the current setting for a given sc ript and generic font family.", 70 "description": "Sets the font name of the current setting for a given sc ript and generic font family.",
71 "parameters": [ 71 "parameters": [
72 { 72 {
73 "name": "details", 73 "name": "details",
74 "type": "object", 74 "type": "object",
75 "properties": { 75 "properties": {
76 "script": { 76 "script": {
77 "type": "string", 77 "type": "string",
78 "enum": ["Arab", "Hang", "Hans", "Hant", "Hrkt"], 78 "enum": ["Arab", "Hang", "Hans", "Hant", "Hrkt"],
79 "description": "The ISO 15924 script code for which the font set ting should be retrieved. If omitted, the global script font setting is retrieve d.", 79 "description": "The ISO 15924 script code for which the font set ting should be set. If omitted, the global script font setting is set.",
80 "optional": true 80 "optional": true
81 }, 81 },
82 "genericFamily": { 82 "genericFamily": {
83 "type": "string", 83 "type": "string",
84 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", " fantasy"], 84 "enum": ["standard", "sansserif", "serif", "fixed", "cursive", " fantasy"],
85 "description": "The CSS generic font family for which the font s etting should be retrieved." 85 "description": "The CSS generic font family for which the font s etting should be set."
86 }, 86 },
87 "fontName": { 87 "fontName": {
88 "type": "string", 88 "type": "string",
89 "description": "The font name." 89 "description": "The font name."
90 } 90 }
91 } 91 }
92 }, 92 },
93 { 93 {
94 "type": "function", 94 "type": "function",
95 "name": "callback", 95 "name": "callback",
(...skipping 16 matching lines...) Expand all
112 "type": "array", 112 "type": "array",
113 "items": { "$ref": "FontName" } 113 "items": { "$ref": "FontName" }
114 } 114 }
115 ] 115 ]
116 } 116 }
117 ] 117 ]
118 } 118 }
119 ] 119 ]
120 } 120 }
121 ] 121 ]
OLDNEW
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/common/extensions/api/experimental.fonts.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698