diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 18:23:10 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 18:23:10 +0000 |
commit | 0f180ee1eb306cd48f211b5e6eb97338f28c5650 (patch) | |
tree | 0f2bb082cf8582b5d8ad2fd6b53b9e590735b37d /chrome/browser/renderer_host/render_view_host.h | |
parent | c1834a9a03e51712914cd564d1e27d946dd913b3 (diff) | |
download | chromium_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.h')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 5278eff..69579d5 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -474,18 +474,6 @@ class RenderViewHost : public RenderWidgetHost { // Tells the render view that a custom context action has been selected. void PerformCustomContextMenuAction(unsigned action); - // Tells the renderer to translate the current page from one language to - // another. If the current page id is not |page_id|, the request is ignored. - // |translate_script| is the script that should be injected in the page to - // perform the translation. - void TranslatePage(int page_id, - const std::string& translate_script, - const std::string& source_lang, - const std::string& target_lang); - - // Reverts the text of current page to its original (non-translated) contents. - void RevertTranslation(int page_id); - // Informs renderer of updated content settings. void SendContentSettings(const GURL& url, const ContentSettings& settings); @@ -621,10 +609,6 @@ class RenderViewHost : public RenderWidgetHost { void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, const std::string& json_arguments, IPC::Message* reply_msg); - void OnMsgPasswordFormsFound( - const std::vector<webkit_glue::PasswordForm>& forms); - void OnMsgPasswordFormsVisible( - const std::vector<webkit_glue::PasswordForm>& visible_forms); void OnMsgStartDragging(const WebDropData& drop_data, WebKit::WebDragOperationsMask operations_allowed, const SkBitmap& image, |