| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 PasswordValueGatekeeper gatekeeper_; | 265 PasswordValueGatekeeper gatekeeper_; |
| 266 | 266 |
| 267 // True indicates that user debug information should be logged. | 267 // True indicates that user debug information should be logged. |
| 268 bool logging_state_active_; | 268 bool logging_state_active_; |
| 269 | 269 |
| 270 // True indicates that the username field was autofilled, false otherwise. | 270 // True indicates that the username field was autofilled, false otherwise. |
| 271 bool was_username_autofilled_; | 271 bool was_username_autofilled_; |
| 272 // True indicates that the password field was autofilled, false otherwise. | 272 // True indicates that the password field was autofilled, false otherwise. |
| 273 bool was_password_autofilled_; | 273 bool was_password_autofilled_; |
| 274 | 274 |
| 275 // Records original starting point of username element's selection range | 275 // Records the username typed before suggestions preview. |
| 276 // before preview. | 276 base::string16 username_query_prefix_; |
| 277 int username_selection_start_; | |
| 278 | 277 |
| 279 // True indicates that all frames in a page have been rendered. | 278 // True indicates that all frames in a page have been rendered. |
| 280 bool did_stop_loading_; | 279 bool did_stop_loading_; |
| 281 | 280 |
| 282 // Contains server predictions for username, password and/or new password | 281 // Contains server predictions for username, password and/or new password |
| 283 // fields for individual forms. | 282 // fields for individual forms. |
| 284 FormsPredictionsMap form_predictions_; | 283 FormsPredictionsMap form_predictions_; |
| 285 | 284 |
| 286 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; | 285 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; |
| 287 | 286 |
| 288 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 287 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
| 289 }; | 288 }; |
| 290 | 289 |
| 291 } // namespace autofill | 290 } // namespace autofill |
| 292 | 291 |
| 293 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 292 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| OLD | NEW |