diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 21:27:02 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 21:27:02 +0000 |
commit | c47cfd6f1fc260b3bf5601994ac196571163e30b (patch) | |
tree | 8e6029904b6a9f94a581c8d3dfe255b718651a6e /chrome/browser/spellcheck_host.h | |
parent | 20e3f034488762cf4438e73867911754adb6634a (diff) | |
download | chromium_src-c47cfd6f1fc260b3bf5601994ac196571163e30b.zip chromium_src-c47cfd6f1fc260b3bf5601994ac196571163e30b.tar.gz chromium_src-c47cfd6f1fc260b3bf5601994ac196571163e30b.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/spellcheck_host.h')
-rw-r--r-- | chrome/browser/spellcheck_host.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |