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

Unified Diff: chrome/renderer/render_thread.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
« no previous file with comments | « chrome/common/spellcheck_common.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.h
===================================================================
--- chrome/renderer/render_thread.h (revision 32394)
+++ chrome/renderer/render_thread.h (working copy)
@@ -124,11 +124,9 @@
return socket_stream_dispatcher_.get();
}
-#if defined(SPELLCHECKER_IN_RENDERER)
SpellCheck* spellchecker() const {
return spellchecker_.get();
}
-#endif
bool plugin_refresh_allowed() const { return plugin_refresh_allowed_; }
@@ -148,11 +146,6 @@
// Sends a message to the browser to enable or disable the disk cache.
void SetCacheMode(bool enabled);
-#if defined(SPELLCHECKER_IN_RENDERER)
- // Send a message to the browser to request a spellcheck dictionary.
- void RequestSpellCheckDictionary();
-#endif
-
private:
virtual void OnControlMessageReceived(const IPC::Message& msg);
@@ -200,14 +193,12 @@
void OnPurgeMemory();
void OnPurgePluginListCache(bool reload_pages);
-#if defined(SPELLCHECKER_IN_RENDERER)
void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file,
const std::vector<std::string>& custom_words,
const std::string& language,
bool auto_spell_correct);
void OnSpellCheckWordAdded(const std::string& word);
void OnSpellCheckEnableAutoSpellCorrect(bool enable);
-#endif
// Gather usage statistics from the in-memory cache and inform our host.
// These functions should be call periodically so that the host can make
@@ -232,9 +223,7 @@
scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
scoped_ptr<SocketStreamDispatcher> socket_stream_dispatcher_;
scoped_ptr<RendererWebDatabaseObserver> renderer_web_database_observer_;
-#if defined(SPELLCHECKER_IN_RENDERER)
scoped_ptr<SpellCheck> spellchecker_;
-#endif
// Used on the renderer and IPC threads.
scoped_refptr<DBMessageFilter> db_message_filter_;
« no previous file with comments | « chrome/common/spellcheck_common.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698