Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Side by Side Diff: components/autofill/core/browser/form_structure.h

Issue 1671753004: [Autofill] Fill fields that have an autocomplete attributes even if not in a form. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added IPC Trait for new attribute Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CORE_BROWSER_FORM_STRUCTURE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // the real values of |has_author_specified_types_| and 294 // the real values of |has_author_specified_types_| and
295 // |has_author_specified_sections_|. 295 // |has_author_specified_sections_|.
296 bool was_parsed_for_autocomplete_attributes_; 296 bool was_parsed_for_autocomplete_attributes_;
297 297
298 // True if the form contains at least one password field. 298 // True if the form contains at least one password field.
299 bool has_password_field_; 299 bool has_password_field_;
300 300
301 // True if the form is a <form>. 301 // True if the form is a <form>.
302 bool is_form_tag_; 302 bool is_form_tag_;
303 303
304 // True if the form is made of unowned fields in a non checkout flow.
305 bool is_formless_checkout_;
306
304 DISALLOW_COPY_AND_ASSIGN(FormStructure); 307 DISALLOW_COPY_AND_ASSIGN(FormStructure);
305 }; 308 };
306 309
307 } // namespace autofill 310 } // namespace autofill
308 311
309 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ 312 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698