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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const std::vector<base::string16>& values, | 72 const std::vector<base::string16>& values, |
73 const std::vector<base::string16>& labels) override; | 73 const std::vector<base::string16>& labels) override; |
74 void PropagateAutofillPredictions( | 74 void PropagateAutofillPredictions( |
75 content::RenderFrameHost* rfh, | 75 content::RenderFrameHost* rfh, |
76 const std::vector<FormStructure*>& forms) override; | 76 const std::vector<FormStructure*>& forms) override; |
77 void DidFillOrPreviewField(const base::string16& autofilled_value, | 77 void DidFillOrPreviewField(const base::string16& autofilled_value, |
78 const base::string16& profile_full_name) override; | 78 const base::string16& profile_full_name) override; |
79 void OnFirstUserGestureObserved() override; | 79 void OnFirstUserGestureObserved() override; |
80 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; | 80 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
81 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 81 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 82 bool IsContextSecure(const GURL& form_origin) override; |
82 | 83 |
83 private: | 84 private: |
84 ios::ChromeBrowserState* browser_state_; | 85 ios::ChromeBrowserState* browser_state_; |
85 infobars::InfoBarManager* infobar_manager_; | 86 infobars::InfoBarManager* infobar_manager_; |
86 id<AutofillClientIOSBridge> bridge_; // Weak | 87 id<AutofillClientIOSBridge> bridge_; // Weak |
87 password_manager::PasswordGenerationManager* password_generation_manager_; | 88 password_manager::PasswordGenerationManager* password_generation_manager_; |
88 scoped_ptr<IdentityProvider> identity_provider_; | 89 scoped_ptr<IdentityProvider> identity_provider_; |
89 CardUnmaskPromptControllerImpl unmask_controller_; | 90 CardUnmaskPromptControllerImpl unmask_controller_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 92 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace autofill | 95 } // namespace autofill |
95 | 96 |
96 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 97 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |