Index: chrome/browser/spellcheck_host.h |
=================================================================== |
--- chrome/browser/spellcheck_host.h (revision 83517) |
+++ chrome/browser/spellcheck_host.h (working copy) |
@@ -14,6 +14,7 @@ |
#include "content/browser/browser_thread.h" |
class Profile; |
+class RenderProcessHost; |
class SpellCheckHostObserver; |
namespace net { |
@@ -57,6 +58,10 @@ |
// 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; |