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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Sylvain's review comments. Created 6 years 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/ui/autofill/chrome_autofill_client.h
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
index c0a3be3f55870f58e6b0729f1b185b123a2cf95a..c147253fd96aa05f62ebacc711aef12b380f39fe 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
@@ -23,6 +23,10 @@ struct LoadCommittedDetails;
class WebContents;
}
+namespace infobars {
+class InfoBarManager;
+}
Peter Kasting 2014/12/23 21:20:34 Again, I think we shouldn't need this forward decl
Pritam Nikam 2014/12/24 11:16:57 Done.
+
namespace autofill {
class AutofillDialogController;
@@ -51,7 +55,6 @@ class ChromeAutofillClient
void HideRequestAutocompleteDialog() override;
void ShowAutofillSettings() override;
void ShowUnmaskPrompt() override;
- void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override;
bool HasCreditCardScanFeature() override;
void ScanCreditCard(const CreditCardScanCallback& callback) override;
void ShowRequestAutocompleteDialog(const FormData& form,
@@ -73,6 +76,7 @@ class ChromeAutofillClient
void DidFillOrPreviewField(const base::string16& autofilled_value,
const base::string16& profile_full_name) override;
void OnFirstUserGestureObserved() override;
+ infobars::InfoBarManager* GetInfoBarManager() override;
// content::WebContentsObserver implementation.
void WebContentsDestroyed() override;

Powered by Google App Engine
This is Rietveld 408576698