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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2792233003: Split SpellCheckPanel off SpellCheckProvider (Closed)
Patch Set: Tue Apr 4 15:05:22 PDT 2017 Created 3 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/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 78652124c990f33b9655cd79a2a1da0cb2812b08..22109ac3124f5372c09d7615ec299c9f8e3b5418 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -161,6 +161,7 @@
#if BUILDFLAG(ENABLE_SPELLCHECK)
#include "components/spellcheck/renderer/spellcheck.h"
#include "components/spellcheck/renderer/spellcheck_provider.h"
+#include "components/spellcheck/renderer/spellcheck_panel.h"
#endif
#if BUILDFLAG(ENABLE_WEBRTC)
@@ -573,6 +574,7 @@ void ChromeContentRendererClient::RenderViewCreated(
#endif
#if BUILDFLAG(ENABLE_SPELLCHECK)
new SpellCheckProvider(render_view, spellcheck_.get());
+ new SpellCheckPanel(render_view);
#endif
new prerender::PrerendererClient(render_view);
« no previous file with comments | « no previous file | components/spellcheck/renderer/BUILD.gn » ('j') | components/spellcheck/renderer/spellcheck_panel.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698