| Index: chrome/common/extensions/api/experimental.fontSettings.json
|
| diff --git a/chrome/common/extensions/api/experimental.fontSettings.json b/chrome/common/extensions/api/experimental.fontSettings.json
|
| index a84b8c64a245b57fe451864aa961423e450b9359..297c5724bcb37c7eb2439635b42fe89e1f0be7f2 100644
|
| --- a/chrome/common/extensions/api/experimental.fontSettings.json
|
| +++ b/chrome/common/extensions/api/experimental.fontSettings.json
|
| @@ -53,7 +53,7 @@
|
| {
|
| "type": "function",
|
| "name": "callback",
|
| - "optional": "true",
|
| + "optional": true,
|
| "parameters": [
|
| {
|
| "name": "details",
|
| @@ -103,7 +103,7 @@
|
| {
|
| "type": "function",
|
| "name": "callback",
|
| - "optional": "true",
|
| + "optional": true,
|
| "parameters": []
|
| }
|
| ]
|
| @@ -134,12 +134,13 @@
|
| {
|
| "name": "details",
|
| "type": "object",
|
| + "optional": true,
|
| "description": "This parameter is currently unused."
|
| },
|
| {
|
| "name": "callback",
|
| "type": "function",
|
| - "optional": "true",
|
| + "optional": true,
|
| "parameters": [
|
| {
|
| "name": "details",
|
| @@ -173,7 +174,113 @@
|
| {
|
| "type": "function",
|
| "name": "callback",
|
| - "optional": "true",
|
| + "optional": true,
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getDefaultFixedFontSize",
|
| + "type": "function",
|
| + "description": "Gets the default size for fixed width fonts.",
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "optional": true,
|
| + "description": "This parameter is currently unused."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "properties": {
|
| + "pixelSize": {
|
| + "type": "integer",
|
| + "description": "The font size in pixels."
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "setDefaultFixedFontSize",
|
| + "type": "function",
|
| + "description": "Sets the default size for fixed width fonts.",
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "properties": {
|
| + "pixelSize": {
|
| + "type": "integer",
|
| + "description": "The font size in pixels."
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getMinimumFontSize",
|
| + "type": "function",
|
| + "description": "Gets the minimum font size.",
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "optional": true,
|
| + "description": "This parameter is currently unused."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "properties": {
|
| + "pixelSize": {
|
| + "type": "integer",
|
| + "description": "The font size in pixels."
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "setMinimumFontSize",
|
| + "type": "function",
|
| + "description": "Sets the minimum font size.",
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "properties": {
|
| + "pixelSize": {
|
| + "type": "integer",
|
| + "description": "The font size in pixels."
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| "parameters": []
|
| }
|
| ]
|
|
|