| 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 const std::vector<base::string16>& values, | 89 const std::vector<base::string16>& values, |
| 90 const std::vector<base::string16>& labels) override; | 90 const std::vector<base::string16>& labels) override; |
| 91 void PropagateAutofillPredictions( | 91 void PropagateAutofillPredictions( |
| 92 content::RenderFrameHost* rfh, | 92 content::RenderFrameHost* rfh, |
| 93 const std::vector<FormStructure*>& forms) override; | 93 const std::vector<FormStructure*>& forms) override; |
| 94 void DidFillOrPreviewField(const base::string16& autofilled_value, | 94 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| 95 const base::string16& profile_full_name) override; | 95 const base::string16& profile_full_name) override; |
| 96 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 96 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 97 bool IsContextSecure() override; | 97 bool IsContextSecure() override; |
| 98 bool ShouldShowSigninPromo() override; | 98 bool ShouldShowSigninPromo() override; |
| 99 void StartSigninFlow() override; | |
| 100 void ShowHttpNotSecureExplanation() override; | |
| 101 bool IsAutofillSupported() override; | 99 bool IsAutofillSupported() override; |
| 100 void ExecuteCommand(int id) override; |
| 102 | 101 |
| 103 private: | 102 private: |
| 104 ios::ChromeBrowserState* browser_state_; | 103 ios::ChromeBrowserState* browser_state_; |
| 105 web::WebState* web_state_; | 104 web::WebState* web_state_; |
| 106 infobars::InfoBarManager* infobar_manager_; | 105 infobars::InfoBarManager* infobar_manager_; |
| 107 __weak id<AutofillClientIOSBridge> bridge_; | 106 __weak id<AutofillClientIOSBridge> bridge_; |
| 108 password_manager::PasswordGenerationManager* password_generation_manager_; | 107 password_manager::PasswordGenerationManager* password_generation_manager_; |
| 109 std::unique_ptr<IdentityProvider> identity_provider_; | 108 std::unique_ptr<IdentityProvider> identity_provider_; |
| 110 CardUnmaskPromptControllerImpl unmask_controller_; | 109 CardUnmaskPromptControllerImpl unmask_controller_; |
| 111 | 110 |
| 112 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 111 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // namespace autofill | 114 } // namespace autofill |
| 116 | 115 |
| 117 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 116 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| OLD | NEW |