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

Issue 1801002: AutoFill: Notify the renderer when the page has finished translating. Extract (Closed)

Created:
10 years, 8 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, jam+cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, ben+cc_chromium.org
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

AutoFill: Notify the renderer when the page has finished translating. Extract the forms once translation has occurred. This change also includes another variaton of the Name field, with tests. In addition, this change fixes parsing labels whose text element is not the first child of the label element. BUG=41694 TEST=FormManagerTest.LabelsWithSpans,NameFieldTest.FirstLast Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45719

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fix extra separator. #

Patch Set 3 : Update comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -15 lines) Patch
M chrome/browser/autofill/name_field.cc View 1 2 chunks +9 lines, -11 lines 0 comments Download
M chrome/browser/autofill/name_field_unittest.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/renderer/form_manager.cc View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/renderer/form_manager_unittest.cc View 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/renderer/translate_helper.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
James Hawkins
10 years, 8 months ago (2010-04-26 23:40:48 UTC) #1
dhollowa
http://codereview.chromium.org/1801002/diff/1/2 File chrome/browser/autofill/name_field.cc (right): http://codereview.chromium.org/1801002/diff/1/2#newcode78 chrome/browser/autofill/name_field.cc:78: ASCIIToUTF16("first name||first_name|firstname|initials|fname|.*first$"); Two bars will match empty string. I'm ...
10 years, 8 months ago (2010-04-27 00:02:48 UTC) #2
James Hawkins
http://codereview.chromium.org/1801002/diff/1/2 File chrome/browser/autofill/name_field.cc (right): http://codereview.chromium.org/1801002/diff/1/2#newcode78 chrome/browser/autofill/name_field.cc:78: ASCIIToUTF16("first name||first_name|firstname|initials|fname|.*first$"); On 2010/04/27 00:02:48, dhollowa wrote: > Two ...
10 years, 8 months ago (2010-04-27 00:10:33 UTC) #3
dhollowa
Thoughts on the additional NameFieldTest unit test? http://codereview.chromium.org/1801002/diff/1/4 File chrome/renderer/form_manager.cc (right): http://codereview.chromium.org/1801002/diff/1/4#newcode55 chrome/renderer/form_manager.cc:55: while (!child.isNull() ...
10 years, 8 months ago (2010-04-27 00:21:00 UTC) #4
James Hawkins
http://codereview.chromium.org/1801002/diff/1/3 File chrome/browser/autofill/name_field_unittest.cc (right): http://codereview.chromium.org/1801002/diff/1/3#newcode149 chrome/browser/autofill/name_field_unittest.cc:149: On 2010/04/27 00:02:48, dhollowa wrote: > Might be worth ...
10 years, 8 months ago (2010-04-27 00:25:49 UTC) #5
dhollowa
LGTM.
10 years, 8 months ago (2010-04-27 00:33:52 UTC) #6
dhollowa
10 years, 8 months ago (2010-04-27 00:48:50 UTC) #7
On 2010/04/27 00:33:52, dhollowa wrote:
> LGTM.

Note: this change may impact performance.  LGTM pending no perf regression.

Powered by Google App Engine
This is Rietveld 408576698