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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 const std::vector<base::string16>& values, | 85 const std::vector<base::string16>& values, |
86 const std::vector<base::string16>& labels) override; | 86 const std::vector<base::string16>& labels) override; |
87 void PropagateAutofillPredictions( | 87 void PropagateAutofillPredictions( |
88 content::RenderFrameHost* rfh, | 88 content::RenderFrameHost* rfh, |
89 const std::vector<FormStructure*>& forms) override; | 89 const std::vector<FormStructure*>& forms) override; |
90 void DidFillOrPreviewField(const base::string16& autofilled_value, | 90 void DidFillOrPreviewField(const base::string16& autofilled_value, |
91 const base::string16& profile_full_name) override; | 91 const base::string16& profile_full_name) override; |
92 void OnFirstUserGestureObserved() override; | 92 void OnFirstUserGestureObserved() override; |
93 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 93 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
94 bool IsContextSecure(const GURL& form_origin) override; | 94 bool IsContextSecure(const GURL& form_origin) override; |
| 95 const std::string& GetApplicationLocale() override; |
95 | 96 |
96 private: | 97 private: |
97 ios::ChromeBrowserState* browser_state_; | 98 ios::ChromeBrowserState* browser_state_; |
98 infobars::InfoBarManager* infobar_manager_; | 99 infobars::InfoBarManager* infobar_manager_; |
99 id<AutofillClientIOSBridge> bridge_; // Weak | 100 id<AutofillClientIOSBridge> bridge_; // Weak |
100 password_manager::PasswordGenerationManager* password_generation_manager_; | 101 password_manager::PasswordGenerationManager* password_generation_manager_; |
101 scoped_ptr<IdentityProvider> identity_provider_; | 102 scoped_ptr<IdentityProvider> identity_provider_; |
102 CardUnmaskPromptControllerImpl unmask_controller_; | 103 CardUnmaskPromptControllerImpl unmask_controller_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 105 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace autofill | 108 } // namespace autofill |
108 | 109 |
109 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 110 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |