diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 17:38:31 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 17:38:31 +0000 |
commit | 61899d3915693df7dbc8c5bdaa6e8ae4ba3931d0 (patch) | |
tree | fead65e8733d8eff08cccb9ca2d45079fd632691 /chrome/browser/renderer_host | |
parent | b8e58b6d17f0ceb74f5ec6b6bcfc0b3e863599cc (diff) | |
download | chromium_src-61899d3915693df7dbc8c5bdaa6e8ae4ba3931d0.zip chromium_src-61899d3915693df7dbc8c5bdaa6e8ae4ba3931d0.tar.gz chromium_src-61899d3915693df7dbc8c5bdaa6e8ae4ba3931d0.tar.bz2 |
Reverting 8722,8721.
Review URL: http://codereview.chromium.org/19024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index c8b8e6e..823a063 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -27,22 +27,12 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/cache_manager_host.h" #include "chrome/browser/extensions/user_script_master.h" -#if defined(OS_WIN) #include "chrome/browser/history/history.h" -#else -// TODO(port): remove scaffolding, use history.h for both POSIX and WIN. -#include "chrome/common/temp_scaffolding_stubs.h" -#endif // !defined(OS_WIN) - #include "chrome/browser/plugin_service.h" #include "chrome/browser/renderer_host/render_widget_helper.h" #include "chrome/browser/renderer_host/renderer_security_policy.h" #include "chrome/browser/resource_message_filter.h" -#if defined(OS_MACOSX) -// TODO(port): Enable when we finish porting spellchecker to os x. -#else #include "chrome/browser/spellchecker.h" -#endif // !defined(OS_WIN) #include "chrome/browser/visitedlink_master.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" @@ -480,17 +470,11 @@ void BrowserRenderProcessHost::WidgetHidden() { } void BrowserRenderProcessHost::AddWord(const std::wstring& word) { -#if defined(OS_MACOSX) - // TODO(port): reimplement when we get the spell checker up and running on - // OS X. - NOTIMPLEMENTED(); -#else base::Thread* io_thread = g_browser_process->io_thread(); if (profile()->GetSpellChecker()) { io_thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod( profile()->GetSpellChecker(), &SpellChecker::AddWord, word)); } -#endif // !defined(OS_MACOSX) } base::ProcessHandle BrowserRenderProcessHost::GetRendererProcessHandle() { |