| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 password_manager::PasswordGenerationManager* password_generation_manager, | 48 password_manager::PasswordGenerationManager* password_generation_manager, |
| 49 std::unique_ptr<IdentityProvider> identity_provider); | 49 std::unique_ptr<IdentityProvider> identity_provider); |
| 50 ~AutofillClientIOS() override; | 50 ~AutofillClientIOS() override; |
| 51 | 51 |
| 52 // AutofillClient implementation. | 52 // AutofillClient implementation. |
| 53 PersonalDataManager* GetPersonalDataManager() override; | 53 PersonalDataManager* GetPersonalDataManager() override; |
| 54 PrefService* GetPrefs() override; | 54 PrefService* GetPrefs() override; |
| 55 sync_driver::SyncService* GetSyncService() override; | 55 sync_driver::SyncService* GetSyncService() override; |
| 56 IdentityProvider* GetIdentityProvider() override; | 56 IdentityProvider* GetIdentityProvider() override; |
| 57 rappor::RapporService* GetRapporService() override; | 57 rappor::RapporService* GetRapporService() override; |
| 58 void HideRequestAutocompleteDialog() override; | |
| 59 void ShowAutofillSettings() override; | 58 void ShowAutofillSettings() override; |
| 60 void ShowUnmaskPrompt(const CreditCard& card, | 59 void ShowUnmaskPrompt(const CreditCard& card, |
| 61 UnmaskCardReason reason, | 60 UnmaskCardReason reason, |
| 62 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 61 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
| 63 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 62 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 64 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 63 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
| 65 const base::Closure& callback) override; | 64 const base::Closure& callback) override; |
| 66 void ConfirmSaveCreditCardToCloud( | 65 void ConfirmSaveCreditCardToCloud( |
| 67 const CreditCard& card, | 66 const CreditCard& card, |
| 68 std::unique_ptr<base::DictionaryValue> legal_message, | 67 std::unique_ptr<base::DictionaryValue> legal_message, |
| 69 const base::Closure& callback) override; | 68 const base::Closure& callback) override; |
| 70 void LoadRiskData( | 69 void LoadRiskData( |
| 71 const base::Callback<void(const std::string&)>& callback) override; | 70 const base::Callback<void(const std::string&)>& callback) override; |
| 72 bool HasCreditCardScanFeature() override; | 71 bool HasCreditCardScanFeature() override; |
| 73 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 72 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 74 void ShowRequestAutocompleteDialog( | |
| 75 const FormData& form, | |
| 76 content::RenderFrameHost* render_frame_host, | |
| 77 const ResultCallback& callback) override; | |
| 78 void ShowAutofillPopup( | 73 void ShowAutofillPopup( |
| 79 const gfx::RectF& element_bounds, | 74 const gfx::RectF& element_bounds, |
| 80 base::i18n::TextDirection text_direction, | 75 base::i18n::TextDirection text_direction, |
| 81 const std::vector<Suggestion>& suggestions, | 76 const std::vector<Suggestion>& suggestions, |
| 82 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 77 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
| 83 void HideAutofillPopup() override; | 78 void HideAutofillPopup() override; |
| 84 bool IsAutocompleteEnabled() override; | 79 bool IsAutocompleteEnabled() override; |
| 85 void UpdateAutofillPopupDataListValues( | 80 void UpdateAutofillPopupDataListValues( |
| 86 const std::vector<base::string16>& values, | 81 const std::vector<base::string16>& values, |
| 87 const std::vector<base::string16>& labels) override; | 82 const std::vector<base::string16>& labels) override; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 101 password_manager::PasswordGenerationManager* password_generation_manager_; | 96 password_manager::PasswordGenerationManager* password_generation_manager_; |
| 102 std::unique_ptr<IdentityProvider> identity_provider_; | 97 std::unique_ptr<IdentityProvider> identity_provider_; |
| 103 CardUnmaskPromptControllerImpl unmask_controller_; | 98 CardUnmaskPromptControllerImpl unmask_controller_; |
| 104 | 99 |
| 105 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 100 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
| 106 }; | 101 }; |
| 107 | 102 |
| 108 } // namespace autofill | 103 } // namespace autofill |
| 109 | 104 |
| 110 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 105 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| OLD | NEW |