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

Unified Diff: chrome/browser/spellcheck_message_filter.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/spellcheck_host_impl.cc ('k') | chrome/browser/spellcheck_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellcheck_message_filter.h
===================================================================
--- chrome/browser/spellcheck_message_filter.h (revision 83517)
+++ chrome/browser/spellcheck_message_filter.h (working copy)
@@ -11,10 +11,12 @@
// the platform spell checker requests from SpellCheckProvider.
class SpellCheckMessageFilter : public BrowserMessageFilter {
public:
- SpellCheckMessageFilter();
+ explicit SpellCheckMessageFilter(int render_process_id);
~SpellCheckMessageFilter();
// BrowserMessageFilter implementation.
+ virtual void OverrideThreadForMessage(const IPC::Message& message,
+ BrowserThread::ID* thread);
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok);
@@ -30,6 +32,9 @@
int identifier,
int document_tag,
const string16& text);
+ void OnSpellCheckerRequestDictionary();
+
+ int render_process_id_;
};
#endif // CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
« no previous file with comments | « chrome/browser/spellcheck_host_impl.cc ('k') | chrome/browser/spellcheck_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698