Index: chrome/browser/extensions/extension_function_registry.cc |
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc |
index 5f879fc30ce09eaeb954e9081c5ab8b51bf504d8..df1d6ae43d847be521de93e56386c2024f43b1bd 100644 |
--- a/chrome/browser/extensions/extension_function_registry.cc |
+++ b/chrome/browser/extensions/extension_function_registry.cc |
@@ -245,12 +245,14 @@ void ExtensionFunctionRegistry::ResetFunctions() { |
RegisterFunction<SetAccessibilityEnabledFunction>(); |
RegisterFunction<GetAlertsForTabFunction>(); |
+#if defined(ENABLE_INPUT_SPEECH) |
Satish
2012/05/20 22:57:46
the TTS extension api doesn't use the same ENABLE
Primiano Tucci (use gerrit)
2012/05/21 10:33:55
+dmazzoni@ regarding this: deassertion of ENABLE_I
|
// Text-to-speech. |
RegisterFunction<ExtensionTtsEngineSendTtsEventFunction>(); |
RegisterFunction<ExtensionTtsGetVoicesFunction>(); |
RegisterFunction<ExtensionTtsIsSpeakingFunction>(); |
RegisterFunction<ExtensionTtsSpeakFunction>(); |
RegisterFunction<ExtensionTtsStopSpeakingFunction>(); |
+#endif |
// Context Menus. |
RegisterFunction<extensions::CreateContextMenuFunction>(); |
@@ -262,10 +264,12 @@ void ExtensionFunctionRegistry::ResetFunctions() { |
RegisterFunction<extensions::OmniboxSendSuggestionsFunction>(); |
RegisterFunction<extensions::OmniboxSetDefaultSuggestionFunction>(); |
+#if defined(ENABLE_INPUT_SPEECH) |
// Speech input. |
RegisterFunction<StartSpeechInputFunction>(); |
RegisterFunction<StopSpeechInputFunction>(); |
RegisterFunction<IsRecordingSpeechInputFunction>(); |
+#endif |
#if defined(TOOLKIT_VIEWS) |
// Input. |