| Index: chrome/browser/autofill/autofill_manager.cc
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_manager.cc (revision 71973)
|
| +++ chrome/browser/autofill/autofill_manager.cc (working copy)
|
| @@ -171,6 +171,19 @@
|
| kAutoFillNegativeUploadRateDefaultValue);
|
| }
|
|
|
| +void AutoFillManager::DidNavigateMainFramePostCommit(
|
| + const NavigationController::LoadCommittedDetails& details,
|
| + const ViewHostMsg_FrameNavigate_Params& params) {
|
| + Reset();
|
| +}
|
| +
|
| +void AutoFillManager::TranslateStarted() {
|
| + // Ideally we'd have a better way to uniquely identify form control elements,
|
| + // but we don't have that yet. So before start translation, we clear the
|
| + // current form and re-parse it first to get the new labels.
|
| + Reset();
|
| +}
|
| +
|
| bool AutoFillManager::OnMessageReceived(const IPC::Message& message) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(AutoFillManager, message)
|
|
|