Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: chrome/browser/autofill/autofill_manager_delegate.h

Issue 12378055: Make autofill stop depending on InfoBarService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698