diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 04:28:34 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 04:28:34 +0000 |
commit | dbd4b1dc9829c4afa9d59a7121d8df1f57f50b98 (patch) | |
tree | 3ede245f81fe1ebbd0958f8cc47a762830412ac5 /chrome/browser/autofill/test_autofill_external_delegate.h | |
parent | c004d650005cf121332b36c4707dbe67afda53a0 (diff) | |
download | chromium_src-dbd4b1dc9829c4afa9d59a7121d8df1f57f50b98.zip chromium_src-dbd4b1dc9829c4afa9d59a7121d8df1f57f50b98.tar.gz chromium_src-dbd4b1dc9829c4afa9d59a7121d8df1f57f50b98.tar.bz2 |
Refactor AutofillPopupView and friends
Before:
AutofillPopupViewViews extends AutofillPopupView
AutofillExternalDelegateViews extends AutofillExternalDelegate, and owns AutofillPopupViewViews
After:
AutofillPopupController owns AutofillPopupViewViews which implements AutofillPopupView interface
AutofillExternalDelegate implements AutofillPopupDelegate, and creates / interacts with AutofillPopupController (no platform subclasses for AutofillExternalDelegate)
no dependency of AutofillPopupView and subclasses on content/
BUG=164966
Review URL: https://codereview.chromium.org/11446077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/test_autofill_external_delegate.h')
-rw-r--r-- | chrome/browser/autofill/test_autofill_external_delegate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/autofill/test_autofill_external_delegate.h b/chrome/browser/autofill/test_autofill_external_delegate.h index 186a30a..3a6ff22 100644 --- a/chrome/browser/autofill/test_autofill_external_delegate.h +++ b/chrome/browser/autofill/test_autofill_external_delegate.h @@ -31,10 +31,12 @@ class TestAutofillExternalDelegate : public AutofillExternalDelegate { const std::vector<string16>& autofill_icons, const std::vector<int>& autofill_unique_ids) OVERRIDE; - virtual void HideAutofillPopupInternal() OVERRIDE; + virtual void HideAutofillPopup() OVERRIDE; virtual void CreatePopupForElement(const gfx::Rect& element_bounds) OVERRIDE; + virtual void ControllerDestroyed() OVERRIDE; + private: DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate); }; |