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

Unified Diff: chrome/browser/autofill/autofill_manager.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mostly cosmetic fixup Created 8 years, 3 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/autofill/autofill_manager.cc
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index ba46c7b77f27bfe87067eef437d35dd54819783b..8233f1ad4da1fe700b3d1cf8ae41ea8a3998db3f 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -50,24 +50,24 @@
#include "content/public/browser/notification_source.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/form_data.h"
+#include "content/public/common/form_data_predictions.h"
+#include "content/public/common/form_field.h"
+#include "content/public/common/password_form_fill_data.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "ipc/ipc_message_macros.h"
#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 content::BrowserThread;
+using content::FormData;
+using content::FormDataPredictions;
+using content::FormField;
using content::RenderViewHost;
using switches::kEnableAutofillFeedback;
-using webkit::forms::FormData;
-using webkit::forms::FormDataPredictions;
-using webkit::forms::FormField;
namespace {
@@ -715,7 +715,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());
@@ -746,14 +746,14 @@ void AutofillManager::RemoveAutofillProfileOrCreditCard(int unique_id) {
}
void AutofillManager::OnAddPasswordFormMapping(
- const webkit::forms::FormField& form,
- const webkit::forms::PasswordFormFillData& fill_data) {
+ const content::FormField& form,
+ const content::PasswordFormFillData& fill_data) {
if (external_delegate_)
external_delegate_->AddPasswordFormMapping(form, fill_data);
}
void AutofillManager::OnShowPasswordSuggestions(
- const webkit::forms::FormField& field,
+ const content::FormField& field,
const gfx::Rect& bounds,
const std::vector<string16>& suggestions) {
if (external_delegate_)

Powered by Google App Engine
This is Rietveld 408576698