| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| index 776918961a539a10f5348b2035648f35b21009c8..6b2c53ecbbc10b70351bc530c91027d61bb8c4fd 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/ui/autofill/account_chooser_model.h"
|
| #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
|
| #include "chrome/browser/ui/autofill/autofill_dialog_models.h"
|
| +#include "chrome/browser/ui/autofill/autofill_dialog_tab_manager_delegate.h"
|
| #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
|
| #include "chrome/browser/ui/autofill/autofill_popup_controller_impl.h"
|
| #include "chrome/browser/ui/autofill/country_combobox_model.h"
|
| @@ -68,6 +69,7 @@ class WalletSigninHelper;
|
| // This class drives the dialog that appears when a site uses the imperative
|
| // autocomplete API to fill out a form.
|
| class AutofillDialogControllerImpl : public AutofillDialogController,
|
| + public AutofillDialogTabManagerDelegate,
|
| public AutofillPopupDelegate,
|
| public content::NotificationObserver,
|
| public content::WebContentsObserver,
|
| @@ -79,7 +81,7 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| public:
|
| virtual ~AutofillDialogControllerImpl();
|
|
|
| - static base::WeakPtr<AutofillDialogControllerImpl> Create(
|
| + static base::WeakPtr<AutofillDialogTabManagerDelegate> Create(
|
| content::WebContents* contents,
|
| const FormData& form_structure,
|
| const GURL& source_url,
|
| @@ -89,25 +91,26 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
|
|
| static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
|
|
| - void Show();
|
| - void Hide();
|
| + virtual void Show() OVERRIDE;
|
| + virtual void Hide() OVERRIDE;
|
|
|
| // Called when the tab hosting this dialog is activated by a user gesture.
|
| // Used to trigger a refresh of the user's Wallet data.
|
| - void TabActivated();
|
| + virtual void TabActivated() OVERRIDE;
|
|
|
| // Adds a step in the flow to the Autocheckout UI.
|
| - void AddAutocheckoutStep(AutocheckoutStepType step_type);
|
| + virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) OVERRIDE;
|
|
|
| // Updates the status of a step in the Autocheckout UI.
|
| - void UpdateAutocheckoutStep(AutocheckoutStepType step_type,
|
| - AutocheckoutStepStatus step_status);
|
| + virtual void UpdateAutocheckoutStep(
|
| + AutocheckoutStepType step_type,
|
| + AutocheckoutStepStatus step_status) OVERRIDE;
|
|
|
| // Called when there is an error in an active Autocheckout flow.
|
| - void OnAutocheckoutError();
|
| + virtual void OnAutocheckoutError() OVERRIDE;
|
|
|
| // Called when an Autocheckout flow completes successfully.
|
| - void OnAutocheckoutSuccess();
|
| + virtual void OnAutocheckoutSuccess() OVERRIDE;
|
|
|
| // Returns |view_| as a testable version of itself (if |view_| exists and
|
| // actually implements |AutofillDialogView::GetTestableView()|).
|
|
|