Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 4b4f974e125b56c6ebf54b31789fa4814e9dc89b..6afaf0fcf8617b3f603b2d59ddbc2b8c3e4bc463 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -54,6 +54,7 @@ |
#include "chrome/renderer/searchbox_extension.h" |
#include "chrome/renderer/spellchecker/spellcheck.h" |
#include "chrome/renderer/spellchecker/spellcheck_provider.h" |
+#include "chrome/renderer/text_input_client_observer.h" |
#include "chrome/renderer/translate_helper.h" |
#include "chrome/renderer/visitedlink_slave.h" |
#include "content/common/view_messages.h" |
@@ -192,6 +193,10 @@ void ChromeContentRendererClient::RenderViewCreated(RenderView* render_view) { |
new SpellCheckProvider(render_view, spellcheck_.get()); |
new safe_browsing::MalwareDOMDetails(render_view); |
+#if defined(OS_MACOSX) |
+ new TextInputClientObserver(render_view); |
+#endif // defined(OS_MACOSX) |
+ |
PasswordAutofillManager* password_autofill_manager = |
new PasswordAutofillManager(render_view); |
AutofillAgent* autofill_agent = new AutofillAgent(render_view, |