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 COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
280 PasswordValueGatekeeper gatekeeper_; | 280 PasswordValueGatekeeper gatekeeper_; |
281 | 281 |
282 // True indicates that user debug information should be logged. | 282 // True indicates that user debug information should be logged. |
283 bool logging_state_active_; | 283 bool logging_state_active_; |
284 | 284 |
285 // True indicates that the username field was autofilled, false otherwise. | 285 // True indicates that the username field was autofilled, false otherwise. |
286 bool was_username_autofilled_; | 286 bool was_username_autofilled_; |
287 // True indicates that the password field was autofilled, false otherwise. | 287 // True indicates that the password field was autofilled, false otherwise. |
288 bool was_password_autofilled_; | 288 bool was_password_autofilled_; |
289 | 289 |
290 // Records original starting point of username element's selection range | 290 // Records the username typed before preview the suggestions. |
vabr (Chromium)
2015/07/09 06:17:51
nit: preview the suggestions -> suggestions previe
Pritam Nikam
2015/07/10 16:58:46
Done.
| |
291 // before preview. | 291 base::string16 username_query_prefix_; |
292 int username_selection_start_; | |
293 | 292 |
294 // True indicates that all frames in a page have been rendered. | 293 // True indicates that all frames in a page have been rendered. |
295 bool did_stop_loading_; | 294 bool did_stop_loading_; |
296 | 295 |
297 // Contains server predictions for username, password and/or new password | 296 // Contains server predictions for username, password and/or new password |
298 // fields for individual forms. | 297 // fields for individual forms. |
299 FormsPredictionsMap form_predictions_; | 298 FormsPredictionsMap form_predictions_; |
300 | 299 |
301 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; | 300 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; |
302 | 301 |
303 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 302 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
304 }; | 303 }; |
305 | 304 |
306 } // namespace autofill | 305 } // namespace autofill |
307 | 306 |
308 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 307 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
OLD | NEW |