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

Issue 7038003: Refactor autofill form fields. (Closed)

Created:
9 years, 7 months ago by honten.org
Modified:
9 years, 6 months ago
Reviewers:
Ilya Sherman, dhollowa
CC:
chromium-reviews, GeorgeY, darin-cc_chromium.org, brettw-cc_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Refactor autofill form fields. 1, Add FormField::MatchType and ParseText() use to match the input. 2, Erase some unndeeded function in FormField. 3, Make new MatchWithType() function. 4, Added FormField::is_text_input to drag the info to check the matching. BUG= TEST=

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -74 lines) Patch
M chrome/browser/autofill/address_field.cc View 9 chunks +33 lines, -15 lines 0 comments Download
M chrome/browser/autofill/credit_card_field.cc View 7 chunks +20 lines, -7 lines 0 comments Download
M chrome/browser/autofill/email_field.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autofill/form_field.h View 3 chunks +16 lines, -12 lines 0 comments Download
M chrome/browser/autofill/form_field.cc View 4 chunks +34 lines, -29 lines 0 comments Download
M chrome/browser/autofill/name_field.cc View 5 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/autofill/phone_field.cc View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/common/autofill_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/autofill/form_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/form_field.h View 1 chunk +1 line, -0 lines 1 comment Download
M webkit/glue/form_field.cc View 4 chunks +11 lines, -3 lines 3 comments Download

Messages

Total messages: 10 (0 generated)
honten.org
Please review. http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc File webkit/glue/form_field.cc (right): http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc#newcode78 webkit/glue/form_field.cc:78: } It's not clean ;-( But lots ...
9 years, 7 months ago (2011-05-17 04:41:18 UTC) #1
dhollowa
http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc File webkit/glue/form_field.cc (right): http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc#newcode78 webkit/glue/form_field.cc:78: } We should simply have a helper function that ...
9 years, 7 months ago (2011-05-17 16:47:20 UTC) #2
honten.org
http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc File webkit/glue/form_field.cc (right): http://codereview.chromium.org/7038003/diff/1/webkit/glue/form_field.cc#newcode78 webkit/glue/form_field.cc:78: } Actually, I wanted to find the function in ...
9 years, 7 months ago (2011-05-17 18:45:22 UTC) #3
honten.org
Is this better? What do you think?
9 years, 7 months ago (2011-05-18 03:34:14 UTC) #4
dhollowa
You'll need to *create* the function, not find it. On 2011/05/18 03:34:14, honten wrote: > ...
9 years, 7 months ago (2011-05-18 14:35:54 UTC) #5
honten.org
Oops, Last night upload didn't succeed in some way. I'll update again tonight... On 2011/05/18 ...
9 years, 7 months ago (2011-05-18 19:42:21 UTC) #6
dhollowa
Takano-san, after looking at form_field.h a little more closely, I'm going to do some refactoring ...
9 years, 7 months ago (2011-05-18 19:54:34 UTC) #7
takano.naoki_gmail.com
Ok, I wait for a while. If you have any other bug or refinement to ...
9 years, 7 months ago (2011-05-18 19:56:20 UTC) #8
dhollowa
http://crbug.com/55786 might be interesting to you... On 2011/05/18 19:56:20, takano.naoki_gmail.com wrote: > Ok, > > ...
9 years, 7 months ago (2011-05-18 20:14:44 UTC) #9
Ilya Sherman
9 years, 6 months ago (2011-06-04 01:56:50 UTC) #10
Closing, as I think these changes have all been incorporated into other CLs.

Powered by Google App Engine
This is Rietveld 408576698