| Index: chrome/browser/autofill/autofill_manager.cc
|
| diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
|
| index 02f53aa847144af5426d9f9374797d36388d4378..7a56924e15e37ab4a3015a798b0d7f933cab869a 100644
|
| --- a/chrome/browser/autofill/autofill_manager.cc
|
| +++ b/chrome/browser/autofill/autofill_manager.cc
|
| @@ -42,6 +42,10 @@
|
| #include "chrome/common/autofill_messages.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| +#include "chrome/common/form_data.h"
|
| +#include "chrome/common/form_data_predictions.h"
|
| +#include "chrome/common/form_field.h"
|
| +#include "chrome/common/password_form_fill_data.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/public/browser/browser_context.h"
|
| @@ -56,18 +60,14 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/rect.h"
|
| -#include "webkit/forms/form_data.h"
|
| -#include "webkit/forms/form_data_predictions.h"
|
| -#include "webkit/forms/form_field.h"
|
| -#include "webkit/forms/password_form_dom_manager.h"
|
|
|
| using base::TimeTicks;
|
| +using chrome::FormData;
|
| +using chrome::FormDataPredictions;
|
| +using chrome::FormField;
|
| using content::BrowserThread;
|
| using content::RenderViewHost;
|
| using switches::kEnableAutofillFeedback;
|
| -using webkit::forms::FormData;
|
| -using webkit::forms::FormDataPredictions;
|
| -using webkit::forms::FormField;
|
|
|
| namespace {
|
|
|
| @@ -716,7 +716,7 @@ void AutofillManager::OnHideAutofillPopup() {
|
| void AutofillManager::OnShowPasswordGenerationPopup(
|
| const gfx::Rect& bounds,
|
| int max_length,
|
| - const webkit::forms::PasswordForm& form) {
|
| + const content::PasswordForm& form) {
|
| password_generator_.reset(new autofill::PasswordGenerator(max_length));
|
| manager_delegate_->ShowPasswordGenerationBubble(
|
| bounds, form, password_generator_.get());
|
| @@ -747,14 +747,14 @@ void AutofillManager::RemoveAutofillProfileOrCreditCard(int unique_id) {
|
| }
|
|
|
| void AutofillManager::OnAddPasswordFormMapping(
|
| - const webkit::forms::FormField& form,
|
| - const webkit::forms::PasswordFormFillData& fill_data) {
|
| + const chrome::FormField& form,
|
| + const chrome::PasswordFormFillData& fill_data) {
|
| if (external_delegate_)
|
| external_delegate_->AddPasswordFormMapping(form, fill_data);
|
| }
|
|
|
| void AutofillManager::OnShowPasswordSuggestions(
|
| - const webkit::forms::FormField& field,
|
| + const chrome::FormField& field,
|
| const gfx::Rect& bounds,
|
| const std::vector<string16>& suggestions) {
|
| if (external_delegate_)
|
|
|