Index: chrome/common/extensions/api/experimental.fonts.json |
diff --git a/chrome/common/extensions/api/experimental.fonts.json b/chrome/common/extensions/api/experimental.fonts.json |
deleted file mode 100644 |
index 98ce2eb0b0a4078139119c35dbe49fda6ee074f2..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/api/experimental.fonts.json |
+++ /dev/null |
@@ -1,121 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-[ |
- { |
- "namespace": "experimental.fontSettings", |
- "types": [ |
- { |
- "id": "FontName", |
- "type": "object", |
- "description": "Represents a font name.", |
- "properties": { |
- "fontName": { |
- "type": "string", |
- "description": "The font name." |
- }, |
- "localizedName": { |
- "type": "string", |
- "description": "The font name localized for the current locale." |
- } |
- } |
- } |
- ], |
- "functions": [ |
- { |
- "name": "getFontName", |
- "type": "function", |
- "description": "Gets the font name of the current setting for a given script and generic font family.", |
- "parameters": [ |
- { |
- "name": "details", |
- "type": "object", |
- "properties": { |
- "script": { |
- "type": "string", |
- "enum": ["Arab", "Hang", "Hans", "Hant", "Hrkt"], |
- "description": "The ISO 15924 script code for which the font setting should be retrieved. If omitted, the global script font setting is retrieved.", |
- "optional": true |
- }, |
- "genericFamily": { |
- "type": "string", |
- "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy"], |
- "description": "The CSS generic font family for which the font setting should be retrieved." |
- } |
- } |
- }, |
- { |
- "type": "function", |
- "name": "callback", |
- "optional": "true", |
- "parameters": [ |
- { |
- "name": "details", |
- "type": "object", |
- "properties": { |
- "fontName": { |
- "type": "string", |
- "description": "The font name." |
- } |
- } |
- } |
- ] |
- } |
- ] |
- }, |
- { |
- "name": "setFontName", |
- "type": "function", |
- "description": "Sets the font name of the current setting for a given script and generic font family.", |
- "parameters": [ |
- { |
- "name": "details", |
- "type": "object", |
- "properties": { |
- "script": { |
- "type": "string", |
- "enum": ["Arab", "Hang", "Hans", "Hant", "Hrkt"], |
- "description": "The ISO 15924 script code for which the font setting should be retrieved. If omitted, the global script font setting is retrieved.", |
- "optional": true |
- }, |
- "genericFamily": { |
- "type": "string", |
- "enum": ["standard", "sansserif", "serif", "fixed", "cursive", "fantasy"], |
- "description": "The CSS generic font family for which the font setting should be retrieved." |
- }, |
- "fontName": { |
- "type": "string", |
- "description": "The font name." |
- } |
- } |
- }, |
- { |
- "type": "function", |
- "name": "callback", |
- "optional": "true", |
- "parameters": [] |
- } |
- ] |
- }, |
- { |
- "name": "getFontList", |
- "type": "function", |
- "description": "Gets a list of fonts on the system.", |
- "parameters": [ |
- { |
- "type": "function", |
- "name": "callback", |
- "parameters": [ |
- { |
- "name": "results", |
- "type": "array", |
- "items": { "$ref": "FontName" } |
- } |
- ] |
- } |
- ] |
- } |
- ] |
- } |
-] |