diff options
author | twiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 17:56:11 +0000 |
---|---|---|
committer | twiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 17:56:11 +0000 |
commit | e8af70c334b4dc4186e26eb54559e9f5384e3d0a (patch) | |
tree | e8606ec6aefc556596cc189a0066213f780945da /chrome/browser/autofill/autofill_manager.h | |
parent | 80f037afb3a22b81dacf80611f5409b7cf0fc07a (diff) | |
download | chromium_src-e8af70c334b4dc4186e26eb54559e9f5384e3d0a.zip chromium_src-e8af70c334b4dc4186e26eb54559e9f5384e3d0a.tar.gz chromium_src-e8af70c334b4dc4186e26eb54559e9f5384e3d0a.tar.bz2 |
Change removing method, GetBrowser from TabContentsDelegate, as this was breaking an abstraction layer. This routine was originally added in CL 434046, which required the Browser* to construct extension popup views from within Chrome-Frame instances.
I changed all accesses to Browser instances from usage of the above method, to either iterating the BrowserList using the situation-specific profile as a search key, or modifying the appropriate delegate interfaces to provide the functionality that was previously used directly via the Browser.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/2941001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager.h')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h index 964b8bc..4858a5e 100644 --- a/chrome/browser/autofill/autofill_manager.h +++ b/chrome/browser/autofill/autofill_manager.h @@ -45,6 +45,9 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill, // 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); |