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

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

Issue 9853013: Expose more font size prefs to the Font Settings Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 } 171 }
172 }, 172 },
173 { 173 {
174 "type": "function", 174 "type": "function",
175 "name": "callback", 175 "name": "callback",
176 "optional": "true", 176 "optional": "true",
177 "parameters": [] 177 "parameters": []
178 } 178 }
179 ] 179 ]
180 },
181 {
182 "name": "getDefaultFixedFontSize",
183 "type": "function",
184 "description": "Gets the default size for fixed width fonts.",
185 "parameters": [
186 {
187 "name": "details",
188 "type": "object",
189 "description": "This parameter is currently unused."
190 },
191 {
192 "name": "callback",
193 "type": "function",
194 "optional": "true",
195 "parameters": [
196 {
197 "name": "details",
198 "type": "object",
199 "properties": {
200 "pixelSize": {
201 "type": "integer",
202 "description": "The font size in pixels."
203 }
204 }
205 }
206 ]
207 }
208 ]
209 },
210 {
211 "name": "setDefaultFixedFontSize",
212 "type": "function",
213 "description": "Sets the default size for fixed width fonts.",
214 "parameters": [
215 {
216 "name": "details",
217 "type": "object",
218 "properties": {
219 "pixelSize": {
220 "type": "integer",
221 "description": "The font size in pixels."
222 }
223 }
224 },
225 {
226 "type": "function",
227 "name": "callback",
228 "optional": "true",
229 "parameters": []
230 }
231 ]
232 },
233 {
234 "name": "getMinimumFontSize",
235 "type": "function",
236 "description": "Gets the minimum font size.",
237 "parameters": [
238 {
239 "name": "details",
240 "type": "object",
241 "description": "This parameter is currently unused."
242 },
243 {
244 "name": "callback",
245 "type": "function",
246 "optional": "true",
247 "parameters": [
248 {
249 "name": "details",
250 "type": "object",
251 "properties": {
252 "pixelSize": {
253 "type": "integer",
254 "description": "The font size in pixels."
255 }
256 }
257 }
258 ]
259 }
260 ]
261 },
262 {
263 "name": "setMinimumFontSize",
264 "type": "function",
265 "description": "Sets the minimum font size.",
266 "parameters": [
267 {
268 "name": "details",
269 "type": "object",
270 "properties": {
271 "pixelSize": {
272 "type": "integer",
273 "description": "The font size in pixels."
274 }
275 }
276 },
277 {
278 "type": "function",
279 "name": "callback",
280 "optional": "true",
281 "parameters": []
282 }
283 ]
180 } 284 }
181 ] 285 ]
182 } 286 }
183 ] 287 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698