Index: chrome/browser/autofill/autofill_external_delegate.h |
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h |
index b3413045783364221bb638a2667de391959e6d68..816011f0e3c056ec42bf7c232aaaf53bafd75c9b 100644 |
--- a/chrome/browser/autofill/autofill_external_delegate.h |
+++ b/chrome/browser/autofill/autofill_external_delegate.h |
@@ -10,8 +10,10 @@ |
#include "base/compiler_specific.h" |
#include "base/string16.h" |
+#include "chrome/browser/autofill/password_autofill_manager.h" |
#include "webkit/forms/form_data.h" |
#include "webkit/forms/form_field.h" |
+#include "webkit/forms/password_form_dom_manager.h" |
class AutofillManager; |
class TabContentsWrapper; |
@@ -72,6 +74,14 @@ class AutofillExternalDelegate { |
// Hide the Autofill poup. |
virtual void HideAutofillPopup(); |
+ // Inform the Password Manager of a closing frame. |
+ void FrameClosing(int frame_id); |
Ilya Sherman
2012/03/08 23:22:14
nit: int -> long long?
csharp
2012/03/09 16:20:19
Removed.
|
+ |
+ // Inform the Password Manager of a filled form. |
+ void FillPasswordForm(const webkit::forms::FormField& form, |
+ const webkit::forms::PasswordFormFillData& fill_data, |
+ int frame_id); |
Ilya Sherman
2012/03/08 23:22:14
nit: int -> long long?
csharp
2012/03/09 16:20:19
Removed.
|
+ |
// Platforms that wish to implement an external Autofill delegate |
// MUST implement this. The 1st arg is the tab contents that owns |
// this delegate; the second is the Autofill manager owned by the |
@@ -111,6 +121,9 @@ class AutofillExternalDelegate { |
TabContentsWrapper* tab_contents_wrapper_; // weak; owns me. |
AutofillManager* autofill_manager_; // weak. |
+ // Password Autofill manager, handles all password related Autofilling. |
+ PasswordAutofillManager password_autofill_manager_; |
+ |
// The ID of the last request sent for form field Autofill. Used to ignore |
// out of date responses. |
int autofill_query_id_; |
@@ -132,6 +145,9 @@ class AutofillExternalDelegate { |
// The menu index of the "Autofill options..." menu item. |
int suggestions_options_index_; |
+ // This indicates that the renderer has already been told to hide it popups. |
+ bool renderer_hiding_popup_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
}; |