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

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

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing final nits Created 8 years, 9 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.h
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index b750703f3ed312fd4be5f9816ede66e6d38c0f40..f1fc688a07947d11b5fd3c29ef1aad8507ae059c 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -51,6 +51,7 @@ namespace webkit {
namespace forms {
struct FormData;
struct FormField;
+struct PasswordFormFillData;
}
}
@@ -73,6 +74,9 @@ class AutofillManager : public content::WebContentsObserver,
external_delegate_ = delegate;
}
+ // Used to say if this class has an external delegate that it is using.
+ bool HasExternalDelegate();
+
// Called from our external delegate so they cannot be private.
virtual void OnFillAutofillFormData(int query_id,
const webkit::forms::FormData& form,
@@ -166,6 +170,12 @@ class AutofillManager : public content::WebContentsObserver,
bool display_warning);
void OnDidEndTextFieldEditing();
void OnHideAutofillPopup();
+ void OnAddPasswordFormMapping(
+ const webkit::forms::FormField& form,
+ const webkit::forms::PasswordFormFillData& fill_data);
+ void OnShowPasswordSuggestions(const webkit::forms::FormField& field,
+ const gfx::Rect& bounds,
+ const std::vector<string16>& suggestions);
// Fills |host| with the RenderViewHost for this tab.
// Returns false if Autofill is disabled or if the host is unavailable.
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate_gtk.cc ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698