OLD | NEW |
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 ] | 159 ] |
160 }, | 160 }, |
161 { | 161 { |
162 "name": "clearDefaultFontSize", | 162 "name": "clearDefaultFontSize", |
163 "description": "Clears the default font size set by this extension, if a
ny.", | 163 "description": "Clears the default font size set by this extension, if a
ny.", |
164 "parameters": [ | 164 "parameters": [ |
165 { | 165 { |
166 "name": "details", | 166 "name": "details", |
167 "type": "object", | 167 "type": "object", |
168 "optional": true, | 168 "optional": true, |
169 "description": "This parameter is currently unused." | 169 "description": "This parameter is currently unused.", |
| 170 "properties": {} |
170 }, | 171 }, |
171 { | 172 { |
172 "type": "function", | 173 "type": "function", |
173 "name": "callback", | 174 "name": "callback", |
174 "optional": true, | 175 "optional": true, |
175 "parameters": [] | 176 "parameters": [] |
176 } | 177 } |
177 ] | 178 ] |
178 }, | 179 }, |
179 { | 180 { |
180 "name": "getDefaultFontSize", | 181 "name": "getDefaultFontSize", |
181 "description": "Gets the default font size.", | 182 "description": "Gets the default font size.", |
182 "parameters": [ | 183 "parameters": [ |
183 { | 184 { |
184 "name": "details", | 185 "name": "details", |
185 "type": "object", | 186 "type": "object", |
186 "optional": true, | 187 "optional": true, |
187 "description": "This parameter is currently unused." | 188 "description": "This parameter is currently unused.", |
| 189 "properties": {} |
188 }, | 190 }, |
189 { | 191 { |
190 "name": "callback", | 192 "name": "callback", |
191 "type": "function", | 193 "type": "function", |
192 "optional": true, | 194 "optional": true, |
193 "parameters": [ | 195 "parameters": [ |
194 { | 196 { |
195 "name": "details", | 197 "name": "details", |
196 "type": "object", | 198 "type": "object", |
197 "properties": { | 199 "properties": { |
(...skipping 30 matching lines...) Expand all Loading... |
228 ] | 230 ] |
229 }, | 231 }, |
230 { | 232 { |
231 "name": "clearDefaultFixedFontSize", | 233 "name": "clearDefaultFixedFontSize", |
232 "description": "Clears the default fixed font size set by this extension
, if any.", | 234 "description": "Clears the default fixed font size set by this extension
, if any.", |
233 "parameters": [ | 235 "parameters": [ |
234 { | 236 { |
235 "name": "details", | 237 "name": "details", |
236 "type": "object", | 238 "type": "object", |
237 "optional": true, | 239 "optional": true, |
238 "description": "This parameter is currently unused." | 240 "description": "This parameter is currently unused.", |
| 241 "properties": {} |
239 }, | 242 }, |
240 { | 243 { |
241 "type": "function", | 244 "type": "function", |
242 "name": "callback", | 245 "name": "callback", |
243 "optional": true, | 246 "optional": true, |
244 "parameters": [] | 247 "parameters": [] |
245 } | 248 } |
246 ] | 249 ] |
247 }, | 250 }, |
248 { | 251 { |
249 "name": "getDefaultFixedFontSize", | 252 "name": "getDefaultFixedFontSize", |
250 "description": "Gets the default size for fixed width fonts.", | 253 "description": "Gets the default size for fixed width fonts.", |
251 "parameters": [ | 254 "parameters": [ |
252 { | 255 { |
253 "name": "details", | 256 "name": "details", |
254 "type": "object", | 257 "type": "object", |
255 "optional": true, | 258 "optional": true, |
256 "description": "This parameter is currently unused." | 259 "description": "This parameter is currently unused.", |
| 260 "properties": {} |
257 }, | 261 }, |
258 { | 262 { |
259 "name": "callback", | 263 "name": "callback", |
260 "type": "function", | 264 "type": "function", |
261 "optional": true, | 265 "optional": true, |
262 "parameters": [ | 266 "parameters": [ |
263 { | 267 { |
264 "name": "details", | 268 "name": "details", |
265 "type": "object", | 269 "type": "object", |
266 "properties": { | 270 "properties": { |
(...skipping 30 matching lines...) Expand all Loading... |
297 ] | 301 ] |
298 }, | 302 }, |
299 { | 303 { |
300 "name": "clearMinimumFontSize", | 304 "name": "clearMinimumFontSize", |
301 "description": "Clears the minimum font size set by this extension, if a
ny.", | 305 "description": "Clears the minimum font size set by this extension, if a
ny.", |
302 "parameters": [ | 306 "parameters": [ |
303 { | 307 { |
304 "name": "details", | 308 "name": "details", |
305 "type": "object", | 309 "type": "object", |
306 "optional": true, | 310 "optional": true, |
307 "description": "This parameter is currently unused." | 311 "description": "This parameter is currently unused.", |
| 312 "properties": {} |
308 }, | 313 }, |
309 { | 314 { |
310 "type": "function", | 315 "type": "function", |
311 "name": "callback", | 316 "name": "callback", |
312 "optional": true, | 317 "optional": true, |
313 "parameters": [] | 318 "parameters": [] |
314 } | 319 } |
315 ] | 320 ] |
316 }, | 321 }, |
317 { | 322 { |
318 "name": "getMinimumFontSize", | 323 "name": "getMinimumFontSize", |
319 "description": "Gets the minimum font size.", | 324 "description": "Gets the minimum font size.", |
320 "parameters": [ | 325 "parameters": [ |
321 { | 326 { |
322 "name": "details", | 327 "name": "details", |
323 "type": "object", | 328 "type": "object", |
324 "optional": true, | 329 "optional": true, |
325 "description": "This parameter is currently unused." | 330 "description": "This parameter is currently unused.", |
| 331 "properties": {} |
326 }, | 332 }, |
327 { | 333 { |
328 "name": "callback", | 334 "name": "callback", |
329 "type": "function", | 335 "type": "function", |
330 "optional": true, | 336 "optional": true, |
331 "parameters": [ | 337 "parameters": [ |
332 { | 338 { |
333 "name": "details", | 339 "name": "details", |
334 "type": "object", | 340 "type": "object", |
335 "properties": { | 341 "properties": { |
(...skipping 30 matching lines...) Expand all Loading... |
366 ] | 372 ] |
367 }, | 373 }, |
368 { | 374 { |
369 "name": "clearDefaultCharacterSet", | 375 "name": "clearDefaultCharacterSet", |
370 "description": "Clears the default character set set by this extension,
if any.", | 376 "description": "Clears the default character set set by this extension,
if any.", |
371 "parameters": [ | 377 "parameters": [ |
372 { | 378 { |
373 "name": "details", | 379 "name": "details", |
374 "type": "object", | 380 "type": "object", |
375 "optional": true, | 381 "optional": true, |
376 "description": "This parameter is currently unused." | 382 "description": "This parameter is currently unused.", |
| 383 "properties": {} |
377 }, | 384 }, |
378 { | 385 { |
379 "type": "function", | 386 "type": "function", |
380 "name": "callback", | 387 "name": "callback", |
381 "optional": true, | 388 "optional": true, |
382 "parameters": [] | 389 "parameters": [] |
383 } | 390 } |
384 ] | 391 ] |
385 }, | 392 }, |
386 { | 393 { |
387 "name": "getDefaultCharacterSet", | 394 "name": "getDefaultCharacterSet", |
388 "description": "Gets the default character set.", | 395 "description": "Gets the default character set.", |
389 "parameters": [ | 396 "parameters": [ |
390 { | 397 { |
391 "name": "details", | 398 "name": "details", |
392 "type": "object", | 399 "type": "object", |
393 "optional": true, | 400 "optional": true, |
394 "description": "This parameter is currently unused." | 401 "description": "This parameter is currently unused.", |
| 402 "properties": {} |
395 }, | 403 }, |
396 { | 404 { |
397 "name": "callback", | 405 "name": "callback", |
398 "type": "function", | 406 "type": "function", |
399 "optional": true, | 407 "optional": true, |
400 "parameters": [ | 408 "parameters": [ |
401 { | 409 { |
402 "name": "details", | 410 "name": "details", |
403 "type": "object", | 411 "type": "object", |
404 "properties": { | 412 "properties": { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 "$ref": "LevelOfControl", | 546 "$ref": "LevelOfControl", |
539 "description": "The level of control this extension has over the
setting." | 547 "description": "The level of control this extension has over the
setting." |
540 } | 548 } |
541 } | 549 } |
542 } | 550 } |
543 ] | 551 ] |
544 } | 552 } |
545 ] | 553 ] |
546 } | 554 } |
547 ] | 555 ] |
OLD | NEW |