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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 virtual void DidFillOrPreviewField( | 166 virtual void DidFillOrPreviewField( |
167 const base::string16& autofilled_value, | 167 const base::string16& autofilled_value, |
168 const base::string16& profile_full_name) = 0; | 168 const base::string16& profile_full_name) = 0; |
169 | 169 |
170 // Informs the client that a user gesture has been observed. | 170 // Informs the client that a user gesture has been observed. |
171 virtual void OnFirstUserGestureObserved() = 0; | 171 virtual void OnFirstUserGestureObserved() = 0; |
172 | 172 |
173 // Opens |url| with the supplied |disposition|. | 173 // Opens |url| with the supplied |disposition|. |
174 virtual void LinkClicked(const GURL& url, | 174 virtual void LinkClicked(const GURL& url, |
175 WindowOpenDisposition disposition) = 0; | 175 WindowOpenDisposition disposition) = 0; |
| 176 |
| 177 // If the context is secure (secure https, no mixed content) |
| 178 virtual bool IsContextSecure() = 0; |
176 }; | 179 }; |
177 | 180 |
178 } // namespace autofill | 181 } // namespace autofill |
179 | 182 |
180 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 183 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
OLD | NEW |