diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 22:49:17 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 22:49:17 +0000 |
commit | c45ee2b6b443ea522136dd8711a0b406c69e0469 (patch) | |
tree | 58872ce6abda8dc0a6444520a1536393ddc48971 /chrome/renderer/autofill | |
parent | e5bc930c3e26323906553e3fc93330d14a45b744 (diff) | |
download | chromium_src-c45ee2b6b443ea522136dd8711a0b406c69e0469.zip chromium_src-c45ee2b6b443ea522136dd8711a0b406c69e0469.tar.gz chromium_src-c45ee2b6b443ea522136dd8711a0b406c69e0469.tar.bz2 |
Remove unnecessary dependencies on Autofill.
The Autofill cache is now smart enough to update itself after the page is translated.
BUG=none
TEST=Autofill should still work after Translating web sites
Review URL: http://codereview.chromium.org/8382028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/autofill')
-rw-r--r-- | chrome/renderer/autofill/autofill_agent.cc | 5 | ||||
-rw-r--r-- | chrome/renderer/autofill/autofill_agent.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc index c85f6e4..cd94919 100644 --- a/chrome/renderer/autofill/autofill_agent.cc +++ b/chrome/renderer/autofill/autofill_agent.cc @@ -112,11 +112,6 @@ void AutofillAgent::WillSubmitForm(WebFrame* frame, } } -void AutofillAgent::FrameTranslated(WebFrame* frame) { - // The page is translated, so try to extract the form data again. - DidFinishDocumentLoad(frame); -} - bool AutofillAgent::InputElementClicked(const WebInputElement& element, bool was_focused, bool is_focused) { diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h index a5e8462..0fa29dd 100644 --- a/chrome/renderer/autofill/autofill_agent.h +++ b/chrome/renderer/autofill/autofill_agent.h @@ -49,10 +49,6 @@ class AutofillAgent : public content::RenderViewObserver, PasswordAutofillManager* password_autofill_manager); virtual ~AutofillAgent(); - // Called when the translate helper has finished translating the page. We - // use this signal to re-scan the page for forms. - void FrameTranslated(WebKit::WebFrame* frame); - private: enum AutofillAction { AUTOFILL_NONE, // No state set. |