diff options
-rw-r--r-- | chrome/browser/renderer_host/resource_message_filter.cc | 5 | ||||
-rw-r--r-- | chrome/browser/renderer_host/resource_message_filter.h | 1 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 4 |
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 */) |