Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 6368011: Clean up WebNavigationObserver by taking out password specific callbacks, and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 71973)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -784,9 +784,6 @@
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 @@
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 @@
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));
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698