Chromium Code Reviews| 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 bc08bb988cf064e5d01640f45a09a3133d2a1ad6..a84b8c64a245b57fe451864aa961423e450b9359 100644 |
| --- a/chrome/common/extensions/api/experimental.fontSettings.json |
| +++ b/chrome/common/extensions/api/experimental.fontSettings.json |
| @@ -125,6 +125,58 @@ |
| ] |
| } |
| ] |
| + }, |
| + { |
| + "name": "getDefaultFontSize", |
| + "type": "function", |
| + "description": "Gets the default font size.", |
| + "parameters": [ |
| + { |
| + "name": "details", |
| + "type": "object", |
| + "description": "This parameter is currently unused." |
|
Matt Perry
2012/03/23 18:32:53
Just remove this param if its not used. Do you hav
falken
2012/03/24 04:27:13
Yes, I think eventually we want the font size pref
Matt Perry
2012/03/26 18:31:18
OK, makes sense. Do you foresee it being optional?
falken
2012/03/27 02:04:11
OK, I'll make it optional in the next patch (http:
|
| + }, |
| + { |
| + "name": "callback", |
| + "type": "function", |
| + "optional": "true", |
| + "parameters": [ |
| + { |
| + "name": "details", |
| + "type": "object", |
| + "properties": { |
| + "pixelSize": { |
| + "type": "integer", |
| + "description": "The font size in pixels." |
| + } |
| + } |
| + } |
| + ] |
| + } |
| + ] |
| + }, |
| + { |
| + "name": "setDefaultFontSize", |
| + "type": "function", |
| + "description": "Sets the default font size.", |
| + "parameters": [ |
| + { |
| + "name": "details", |
| + "type": "object", |
| + "properties": { |
| + "pixelSize": { |
| + "type": "integer", |
| + "description": "The font size in pixels." |
| + } |
| + } |
| + }, |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "optional": "true", |
| + "parameters": [] |
| + } |
| + ] |
| } |
| ] |
| } |