Chromium Code Reviews| Index: chrome/browser/autofill/autofill_manager_delegate.h |
| diff --git a/chrome/browser/autofill/autofill_manager_delegate.h b/chrome/browser/autofill/autofill_manager_delegate.h |
| index f90835283a13cb8a5a6fcd9b0144f615f4a8f037..d45697c48f7b3f5cc0b9d0f1f97b7e46db4b4917 100644 |
| --- a/chrome/browser/autofill/autofill_manager_delegate.h |
| +++ b/chrome/browser/autofill/autofill_manager_delegate.h |
| @@ -8,6 +8,7 @@ |
| #include <vector> |
| #include "base/callback_forward.h" |
| +#include "base/memory/scoped_ptr.h" |
| #include "base/string16.h" |
| #include "ui/gfx/native_widget_types.h" |
| @@ -38,6 +39,8 @@ struct FormData; |
| namespace autofill { |
| +class AutofillCCImportConfirmationDelegate; |
| + |
| enum DialogType { |
| // Autofill dialog for the Autocheckout feature. |
| DIALOG_TYPE_AUTOCHECKOUT, |
| @@ -57,9 +60,6 @@ class AutofillManagerDelegate { |
| public: |
| virtual ~AutofillManagerDelegate() {} |
| - // Gets the infobar service associated with the delegate. |
| - virtual InfoBarService* GetInfoBarService() = 0; |
| - |
| // Gets the PersonalDataManager instance associated with the delegate. |
| virtual PersonalDataManager* GetPersonalDataManager() = 0; |
| @@ -84,6 +84,12 @@ class AutofillManagerDelegate { |
| // Causes the Autofill settings UI to be shown. |
| virtual void ShowAutofillSettings() = 0; |
| + // Shows the confirmation UI asking user whether the credit card information |
| + // should be imported (in the form of a confirmation dialog, a chrome |
| + // inforbar, etc...). |
|
Ilya Sherman
2013/03/04 21:07:34
nit: "inforbar" -> "infobar"
kaiwang
2013/03/05 01:48:56
Done.
|
| + virtual void ShowAutofillCCImportConfirmation( |
| + scoped_ptr<AutofillCCImportConfirmationDelegate> delegate) = 0; |
|
Jói
2013/03/02 16:21:04
Perhaps add something like this to the documentati
kaiwang
2013/03/05 01:48:56
Done.
|
| + |
| // Causes the password generation bubble UI to be shown using the |
| // specified form with the given bounds. |
| virtual void ShowPasswordGenerationBubble( |