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

Unified Diff: chrome/browser/spellcheck_host.h

Issue 6880320: Move code that talks to spellchecking out of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/spellcheck_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/spellcheck_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698