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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 395007: Move Mac to using renderer spellchecker. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: ui test fix Created 11 years, 1 month 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
Index: chrome/browser/renderer_host/resource_message_filter.h
===================================================================
--- chrome/browser/renderer_host/resource_message_filter.h (revision 32394)
+++ chrome/browser/renderer_host/resource_message_filter.h (working copy)
@@ -87,7 +87,6 @@
printing::PrintJobManager* print_job_manager,
Profile* profile,
RenderWidgetHelper* render_widget_helper,
- SpellChecker* spellchecker,
URLRequestContextGetter* request_context);
// IPC::ChannelProxy::MessageFilter methods:
@@ -104,7 +103,6 @@
uint32 request_id,
const ViewHostMsg_Resource_Request& request_data);
- SpellChecker* spellchecker() { return spellchecker_.get(); }
ResourceDispatcherHost* resource_dispatcher_host() {
return resource_dispatcher_host_;
}
@@ -185,11 +183,11 @@
void OnDownloadUrl(const IPC::Message& message,
const GURL& url,
const GURL& referrer);
- void OnSpellCheck(const string16& word, int tag, IPC::Message* reply_msg);
+ void OnPlatformCheckSpelling(const string16& word, int tag, bool* correct);
+ void OnPlatformFillSuggestionList(const string16& word,
+ std::vector<string16>* suggestions);
void OnGetDocumentTag(IPC::Message* reply_msg);
void OnDocumentWithTagClosed(int tag);
- void OnGetAutoCorrectWord(const string16& word, int tag,
- IPC::Message* reply_msg);
void OnShowSpellingPanel(bool show);
void OnUpdateSpellingPanelWithMisspelledWord(const string16& word);
void OnDnsPrefetch(const std::vector<std::string>& hostnames);
@@ -349,9 +347,6 @@
// before this object, we only hold an ID for lookup.
int child_id_;
- // Our spellchecker object.
- scoped_refptr<SpellChecker> spellchecker_;
-
// Helper class for handling PluginProcessHost_ResolveProxy messages (manages
// the requests to the proxy service).
ResolveProxyMsgHelper resolve_proxy_msg_helper_;
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698