Index: chrome/browser/autofill/autofill_manager.h |
=================================================================== |
--- chrome/browser/autofill/autofill_manager.h (revision 55729) |
+++ chrome/browser/autofill/autofill_manager.h (working copy) |
@@ -45,6 +45,9 @@ |
// Registers our Enable/Disable AutoFill pref. |
static void RegisterUserPrefs(PrefService* prefs); |
+ // Returns the TabContents hosting this AutoFillManager. |
+ TabContents* tab_contents() const { return tab_contents_; } |
+ |
// RenderViewHostDelegate::AutoFill implementation: |
virtual void FormSubmitted(const webkit_glue::FormData& form); |
virtual void FormsSeen(const std::vector<webkit_glue::FormData>& forms); |