| Index: components/autofill/core/browser/autofill_client.h
|
| diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
|
| index b89acc9df699e8e8ac614d24d35f2a51002d9ae4..1d37dc2c2878330e7f7a7957bf9fcd8b7ecd831a 100644
|
| --- a/components/autofill/core/browser/autofill_client.h
|
| +++ b/components/autofill/core/browser/autofill_client.h
|
| @@ -122,6 +122,15 @@ class AutofillClient {
|
| virtual void ConfirmSaveCreditCard(
|
| const base::Closure& save_card_callback) = 0;
|
|
|
| + // Causes the "Save credit card?" bubble to be shown.
|
| + virtual void ShowSaveCreditCardBubble() = 0;
|
| +
|
| + // Returns true if "Save credit card?" Omnibox icon should be visible.
|
| + virtual bool WantSaveCreditCardIconVisible() = 0;
|
| +
|
| + // Returns true if icon should be in its "toggled on" state.
|
| + virtual bool WantSaveCreditCardIconToggled() = 0;
|
| +
|
| // Returns true if both the platform and the device support scanning credit
|
| // cards. Should be called before ScanCreditCard().
|
| virtual bool HasCreditCardScanFeature() = 0;
|
|
|