Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 4a6a335d079d92cc1defef1fa19164eb1da8be79..7f8dcc5612cd80224963713f462c2b9d159bc893 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_host/chrome_render_message_filter.h" |
#include "chrome/browser/renderer_host/chrome_render_view_host_observer.h" |
+#include "chrome/browser/renderer_host/text_input_client_message_filter.h" |
#include "chrome/browser/search_engines/search_provider_install_state_message_filter.h" |
#include "chrome/browser/spellcheck_message_filter.h" |
#include "chrome/browser/ui/webui/chrome_web_ui_factory.h" |
@@ -56,6 +57,10 @@ void ChromeContentBrowserClient::BrowserRenderProcessHostCreated( |
host->channel()->AddFilter( |
new SearchProviderInstallStateMessageFilter(host->id(), host->profile())); |
host->channel()->AddFilter(new SpellCheckMessageFilter()); |
+ |
+#if defined(OS_MACOSX) |
+ host->channel()->AddFilter(new TextInputClientMessageFilter(host->id())); |
+#endif |
} |
content::WebUIFactory* ChromeContentBrowserClient::GetWebUIFactory() { |