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

Side by Side Diff: components/autofill/core/browser/form_field.cc

Issue 694073002: Autofill - fix for Lowes mobile checkout cc form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relative Created 6 years, 1 month 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
« no previous file with comments | « components/autofill/core/browser/form_field.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/autofill/core/browser/form_field.h" 5 #include "components/autofill/core/browser/form_field.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 if ((match_type & MATCH_TELEPHONE) && type == "tel") 180 if ((match_type & MATCH_TELEPHONE) && type == "tel")
181 return true; 181 return true;
182 182
183 if ((match_type & MATCH_SELECT) && type == "select-one") 183 if ((match_type & MATCH_SELECT) && type == "select-one")
184 return true; 184 return true;
185 185
186 if ((match_type & MATCH_TEXT_AREA) && type == "textarea") 186 if ((match_type & MATCH_TEXT_AREA) && type == "textarea")
187 return true; 187 return true;
188 188
189 if ((match_type & MATCH_PASSWORD) && type == "password")
190 return true;
191
189 return false; 192 return false;
190 } 193 }
191 194
192 } // namespace autofill 195 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/form_field.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698