Index: chrome/browser/autofill/autofill_manager.h |
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h |
index 2217dc9ce52d2bc080d8534075a25c71b28a8911..1777e1c3d9866574daf7513fe5d0434a7c9a90b0 100644 |
--- a/chrome/browser/autofill/autofill_manager.h |
+++ b/chrome/browser/autofill/autofill_manager.h |
@@ -68,6 +68,14 @@ class AutofillManager : public TabContentsObserver, |
external_delegate_ = delegate; |
} |
+ // Called from our external delegate so they cannot be private. |
+ void OnFillAutofillFormData(int query_id, |
+ const webkit_glue::FormData& form, |
+ const webkit_glue::FormField& field, |
+ int unique_id); |
+ void OnDidShowAutofillSuggestions(bool is_new_popup); |
+ void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); |
+ |
protected: |
// Only test code should subclass AutofillManager. |
friend class base::RefCounted<AutofillManager>; |
@@ -114,12 +122,6 @@ class AutofillManager : public TabContentsObserver, |
ScopedVector<FormStructure>* form_structures() { return &form_structures_; } |
- // Called from our external delegate so it cannot be private. |
- void OnFillAutoFillFormData(int query_id, |
- const webkit_glue::FormData& form, |
- const webkit_glue::FormField& field, |
- int unique_id); |
- |
// Exposed for testing. |
AutofillExternalDelegate* external_delegate() { |
return external_delegate_; |
@@ -152,15 +154,11 @@ class AutofillManager : public TabContentsObserver, |
void OnQueryFormFieldAutofill(int query_id, |
const webkit_glue::FormData& form, |
const webkit_glue::FormField& field, |
- const gfx::Rect& bounding_box); |
- void OnFillAutofillFormData(int query_id, |
- const webkit_glue::FormData& form, |
- const webkit_glue::FormField& field, |
- int unique_id); |
+ const gfx::Rect& bounding_box, |
+ bool display_warning); |
void OnShowAutofillDialog(); |
void OnDidPreviewAutofillFormData(); |
- void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); |
- void OnDidShowAutofillSuggestions(bool is_new_popup); |
+ void OnDidEndTextFieldEditing(); |
void OnHideAutofillPopup(); |
// Fills |host| with the RenderViewHost for this tab. |