summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r--chrome/renderer/render_thread.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index 44dc6ab..305607a 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -124,11 +124,9 @@ class RenderThread : public RenderThreadBase,
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 @@ class RenderThread : public RenderThreadBase,
// 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 @@ class RenderThread : public RenderThreadBase,
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 @@ class RenderThread : public RenderThreadBase,
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_;