summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 16:49:54 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 16:49:54 +0000
commit86231c664472d3f0c04481df03bdd16b04c3dff2 (patch)
treec6dfc49edc3bdbde3ed312900280321eba055684
parentb41eb73528870ee445e18924cac4597a70ae7cea (diff)
downloadchromium_src-86231c664472d3f0c04481df03bdd16b04c3dff2.zip
chromium_src-86231c664472d3f0c04481df03bdd16b04c3dff2.tar.gz
chromium_src-86231c664472d3f0c04481df03bdd16b04c3dff2.tar.bz2
Remove some unused code.
R=pinkerton BUG=none TEST=none Review URL: http://codereview.chromium.org/256005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27615 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.cc5
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.h1
-rw-r--r--chrome/common/render_messages_internal.h4
3 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index a7d9360..af469bd 100644
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -310,7 +310,6 @@ bool ResourceMessageFilter::OnMessageReceived(const IPC::Message& msg) {
OnDocumentWithTagClosed)
IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_GetAutoCorrectWord,
OnGetAutoCorrectWord)
- IPC_MESSAGE_HANDLER(ViewHostMsg_ShowSpellingPanel, OnShowSpellingPanel)
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateSpellingPanelWithMisspelledWord,
OnUpdateSpellingPanelWithMisspelledWord)
IPC_MESSAGE_HANDLER(ViewHostMsg_DnsPrefetch, OnDnsPrefetch)
@@ -925,10 +924,6 @@ void ResourceMessageFilter::OnGetAutoCorrectWord(const std::wstring& word,
return;
}
-void ResourceMessageFilter::OnShowSpellingPanel(bool show) {
- SpellCheckerPlatform::ShowSpellingPanel(show);
-}
-
void ResourceMessageFilter::OnUpdateSpellingPanelWithMisspelledWord(
const std::wstring& word) {
SpellCheckerPlatform::UpdateSpellingPanelWithMisspelledWord(word);
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h
index 97b3eb7..4ccae0d 100644
--- a/chrome/browser/renderer_host/resource_message_filter.h
+++ b/chrome/browser/renderer_host/resource_message_filter.h
@@ -169,7 +169,6 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter,
void OnDocumentWithTagClosed(int tag);
void OnGetAutoCorrectWord(const std::wstring& word, int tag,
IPC::Message* reply_msg);
- void OnShowSpellingPanel(bool show);
void OnUpdateSpellingPanelWithMisspelledWord(const std::wstring& word);
void OnDnsPrefetch(const std::vector<std::string>& hostnames);
void OnRendererHistograms(int sequence_number,
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index d590294..008ba88 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -1012,10 +1012,6 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentWithTagClosed,
int /* the tag */)
- // Tells the browser to display or not display the SpellingPanel
- IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowSpellingPanel,
- bool /* if true, then show it, otherwise hide it*/)
-
// Tells the browser to update the spelling panel with the given word.
IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateSpellingPanelWithMisspelledWord,
std::wstring /* the word to update the panel with */)