Index: chrome/browser/extensions/extension_font_settings_api.cc |
diff --git a/chrome/browser/extensions/extension_font_settings_api.cc b/chrome/browser/extensions/extension_font_settings_api.cc |
index 8ef7ba149224075c515e830c85b89843a4f4fb5a..87ea3b95e52bde107f3bfc759cbad36019fcb4c3 100644 |
--- a/chrome/browser/extensions/extension_font_settings_api.cc |
+++ b/chrome/browser/extensions/extension_font_settings_api.cc |
@@ -34,8 +34,7 @@ const char kLocalizedNameKey[] = "localizedName"; |
const char kPixelSizeKey[] = "pixelSize"; |
const char kScriptKey[] = "script"; |
-const char kOnFontNameChanged[] = |
- "experimental.fontSettings.onFontNameChanged"; |
+const char kOnFontChanged[] = "experimental.fontSettings.onFontChanged"; |
// Format for per-script font preference keys. |
// E.g., "webkit.webprefs.fonts.standard.Hrkt" |
@@ -196,14 +195,14 @@ void ExtensionFontSettingsEventRouter::Observe( |
extension_preference_helpers::DispatchEventToExtensions( |
profile_, |
- kOnFontNameChanged, |
+ kOnFontChanged, |
&args, |
ExtensionAPIPermission::kExperimental, |
incognito, |
*pref_key); |
} |
-bool GetFontNameFunction::RunImpl() { |
+bool GetFontFunction::RunImpl() { |
DictionaryValue* details = NULL; |
EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); |
@@ -225,7 +224,7 @@ bool GetFontNameFunction::RunImpl() { |
return true; |
} |
-bool SetFontNameFunction::RunImpl() { |
+bool SetFontFunction::RunImpl() { |
DictionaryValue* details = NULL; |
EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); |