| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // AutofillClient: | 45 // AutofillClient: |
| 46 PersonalDataManager* GetPersonalDataManager() override; | 46 PersonalDataManager* GetPersonalDataManager() override; |
| 47 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 47 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 48 PrefService* GetPrefs() override; | 48 PrefService* GetPrefs() override; |
| 49 IdentityProvider* GetIdentityProvider() override; | 49 IdentityProvider* GetIdentityProvider() override; |
| 50 void HideRequestAutocompleteDialog() override; | 50 void HideRequestAutocompleteDialog() override; |
| 51 void ShowAutofillSettings() override; | 51 void ShowAutofillSettings() override; |
| 52 void ShowUnmaskPrompt(const CreditCard& card, | 52 void ShowUnmaskPrompt(const CreditCard& card, |
| 53 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 53 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
| 54 void OnUnmaskVerificationResult(bool success) override; | 54 void OnUnmaskVerificationResult(GetRealPanResult result) override; |
| 55 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; | 55 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
| 56 bool HasCreditCardScanFeature() override; | 56 bool HasCreditCardScanFeature() override; |
| 57 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 57 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 58 void ShowRequestAutocompleteDialog( | 58 void ShowRequestAutocompleteDialog( |
| 59 const FormData& form, | 59 const FormData& form, |
| 60 content::RenderFrameHost* render_frame_host, | 60 content::RenderFrameHost* render_frame_host, |
| 61 const ResultCallback& callback) override; | 61 const ResultCallback& callback) override; |
| 62 void ShowAutofillPopup( | 62 void ShowAutofillPopup( |
| 63 const gfx::RectF& element_bounds, | 63 const gfx::RectF& element_bounds, |
| 64 base::i18n::TextDirection text_direction, | 64 base::i18n::TextDirection text_direction, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // The identity provider, used for Wallet integration. | 133 // The identity provider, used for Wallet integration. |
| 134 scoped_ptr<IdentityProvider> identity_provider_; | 134 scoped_ptr<IdentityProvider> identity_provider_; |
| 135 | 135 |
| 136 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 136 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace autofill | 139 } // namespace autofill |
| 140 | 140 |
| 141 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 141 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |