From c47cfd6f1fc260b3bf5601994ac196571163e30b Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Fri, 29 Apr 2011 21:27:02 +0000 Subject: Move code that talks to spellchecking out of content. Review URL: http://codereview.chromium.org/6880320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83598 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/spellcheck_host.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/browser/spellcheck_host.h') diff --git a/chrome/browser/spellcheck_host.h b/chrome/browser/spellcheck_host.h index d77226b..b09deff 100644 --- a/chrome/browser/spellcheck_host.h +++ b/chrome/browser/spellcheck_host.h @@ -14,6 +14,7 @@ #include "content/browser/browser_thread.h" class Profile; +class RenderProcessHost; class SpellCheckHostObserver; namespace net { @@ -57,6 +58,10 @@ class SpellCheckHost // Used to prevent calling back to a deleted object. virtual void UnsetObserver() = 0; + // Pass the renderer some basic intialization information. Note that the + // renderer will not load Hunspell until it needs to. + virtual void InitForRenderer(RenderProcessHost* process) = 0; + // Adds the given word to the custom words list and inform renderer of the // update. virtual void AddWord(const std::string& word) = 0; -- cgit v1.1