| 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_;
|
|
|