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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const std::vector<base::string16>& labels) override; | 72 const std::vector<base::string16>& labels) override; |
73 void HideAutofillPopup() override; | 73 void HideAutofillPopup() override; |
74 bool IsAutocompleteEnabled() override; | 74 bool IsAutocompleteEnabled() override; |
75 void PropagateAutofillPredictions( | 75 void PropagateAutofillPredictions( |
76 content::RenderFrameHost* rfh, | 76 content::RenderFrameHost* rfh, |
77 const std::vector<autofill::FormStructure*>& forms) override; | 77 const std::vector<autofill::FormStructure*>& forms) override; |
78 void DidFillOrPreviewField(const base::string16& autofilled_value, | 78 void DidFillOrPreviewField(const base::string16& autofilled_value, |
79 const base::string16& profile_full_name) override; | 79 const base::string16& profile_full_name) override; |
80 void OnFirstUserGestureObserved() override; | 80 void OnFirstUserGestureObserved() override; |
81 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; | 81 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
| 82 bool IsContextSecure(const GURL& form_origin) override; |
82 | 83 |
83 // content::WebContentsObserver implementation. | 84 // content::WebContentsObserver implementation. |
84 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 85 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
85 void DidNavigateAnyFrame( | 86 void DidNavigateAnyFrame( |
86 content::RenderFrameHost* render_frame_host, | 87 content::RenderFrameHost* render_frame_host, |
87 const content::LoadCommittedDetails& details, | 88 const content::LoadCommittedDetails& details, |
88 const content::FrameNavigateParams& params) override; | 89 const content::FrameNavigateParams& params) override; |
89 void MainFrameWasResized(bool width_changed) override; | 90 void MainFrameWasResized(bool width_changed) override; |
90 void WebContentsDestroyed() override; | 91 void WebContentsDestroyed() override; |
91 | 92 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 136 |
136 // The identity provider, used for Wallet integration. | 137 // The identity provider, used for Wallet integration. |
137 scoped_ptr<IdentityProvider> identity_provider_; | 138 scoped_ptr<IdentityProvider> identity_provider_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 140 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace autofill | 143 } // namespace autofill |
143 | 144 |
144 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 145 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |