summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 18:23:10 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 18:23:10 +0000
commit0f180ee1eb306cd48f211b5e6eb97338f28c5650 (patch)
tree0f2bb082cf8582b5d8ad2fd6b53b9e590735b37d /chrome/browser/renderer_host/render_view_host.cc
parentc1834a9a03e51712914cd564d1e27d946dd913b3 (diff)
downloadchromium_src-0f180ee1eb306cd48f211b5e6eb97338f28c5650.zip
chromium_src-0f180ee1eb306cd48f211b5e6eb97338f28c5650.tar.gz
chromium_src-0f180ee1eb306cd48f211b5e6eb97338f28c5650.tar.bz2
Clean up WebNavigationObserver by taking out password specific callbacks, and make PasswordManager just dispatch the IPC message directly to achieve this. I've also combined WebNavigationObserver with IPC message filtering (I hadn't seen the former when I added it). This allows a little more cleanup in AutoFillManager.
Review URL: http://codereview.chromium.org/6368011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index c4f3ba6..5c5e9b3 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -784,9 +784,6 @@ bool RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
OnMsgRunBeforeUnloadConfirm)
IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ShowModalHTMLDialog,
OnMsgShowModalHTMLDialog)
- IPC_MESSAGE_HANDLER(ViewHostMsg_PasswordFormsFound, OnMsgPasswordFormsFound)
- IPC_MESSAGE_HANDLER(ViewHostMsg_PasswordFormsVisible,
- OnMsgPasswordFormsVisible)
IPC_MESSAGE_HANDLER(ViewHostMsg_StartDragging, OnMsgStartDragging)
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateDragCursor, OnUpdateDragCursor)
IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
@@ -1361,16 +1358,6 @@ void RenderViewHost::PrintNodeUnderContextMenu() {
Send(new ViewMsg_PrintNodeUnderContextMenu(routing_id()));
}
-void RenderViewHost::OnMsgPasswordFormsFound(
- const std::vector<PasswordForm>& forms) {
- delegate_->PasswordFormsFound(forms);
-}
-
-void RenderViewHost::OnMsgPasswordFormsVisible(
- const std::vector<PasswordForm>& visible_forms) {
- delegate_->PasswordFormsVisible(visible_forms);
-}
-
void RenderViewHost::OnMsgStartDragging(
const WebDropData& drop_data,
WebDragOperationsMask drag_operations_mask,
@@ -1729,18 +1716,6 @@ void RenderViewHost::PerformCustomContextMenuAction(unsigned action) {
Send(new ViewMsg_CustomContextMenuAction(routing_id(), action));
}
-void RenderViewHost::TranslatePage(int page_id,
- const std::string& translate_script,
- const std::string& source_lang,
- const std::string& target_lang) {
- Send(new ViewMsg_TranslatePage(routing_id(), page_id, translate_script,
- source_lang, target_lang));
-}
-
-void RenderViewHost::RevertTranslation(int page_id) {
- Send(new ViewMsg_RevertTranslation(routing_id(), page_id));
-}
-
void RenderViewHost::SendContentSettings(const GURL& url,
const ContentSettings& settings) {
Send(new ViewMsg_SetContentSettingsForCurrentURL(url, settings));