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

Unified Diff: chrome/common/extensions/api/experimental.fontSettings.json

Issue 10108007: Font Settings Extension API: Rename get/setFontName to get/setFont. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
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 4523968c2dc6e22e6a2f1f06ba50f149d9821da9..7e71dfc1f7caa75c1593459f52a787b218c687ee 100644
--- a/chrome/common/extensions/api/experimental.fontSettings.json
+++ b/chrome/common/extensions/api/experimental.fontSettings.json
@@ -40,8 +40,8 @@
],
"functions": [
{
- "name": "getFontName",
- "description": "Gets the font name of the current setting for a given script and generic font family.",
+ "name": "getFont",
+ "description": "Gets the current font setting for a given script and generic font family.",
"parameters": [
{
"name": "details",
@@ -78,8 +78,8 @@
]
},
{
- "name": "setFontName",
- "description": "Sets the font name of the current setting for a given script and generic font family.",
+ "name": "setFont",
+ "description": "Sets the font setting for a given script and generic font family.",
"parameters": [
{
"name": "details",
@@ -281,8 +281,8 @@
],
"events": [
{
- "name": "onFontNameChanged",
- "description": "Fired when a font name preference changes.",
+ "name": "onFontChanged",
+ "description": "Fired when a font setting changes.",
"parameters": [
{
"type": "object",
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/common/extensions/docs/examples/api/fontSettings.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698