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

Issue 3226001: Detecting form locale (Closed)

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

Description

Detecting form locale Just an intermediate checkpoint to make sure the code doesn't vanish :) BUG=none TEST=unit_tests --gtest_filter=AutoFillLocaleModelTest.*

Patch Set 1 #

Patch Set 2 : Proof of concept, messy #

Total comments: 3

Patch Set 3 : Cleaned up renderer code #

Patch Set 4 : Updated for landing of WebKit patch #

Patch Set 5 : Fix dependencies... #

Patch Set 6 : Properly ready for review #

Patch Set 7 : Don't fail tests. #

Total comments: 36

Patch Set 8 : Adresses review comments #

Patch Set 9 : Clean up some DCHECKs #

Total comments: 45

Patch Set 10 : Addressing review comments, switching to ICU locale parsing #

Patch Set 11 : Cleaned up #

Total comments: 28

Patch Set 12 : Addressing review comments #

Patch Set 13 : Compile. #

Patch Set 14 : Unit test for top websites #

Unified diffs Side-by-side diffs Delta from patch set Stats (+940 lines, -227 lines) Patch
A chrome/browser/autofill/autofill_locale_model.h View 6 7 8 9 10 11 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_locale_model.cc View 6 7 8 9 10 11 12 13 1 chunk +245 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_locale_model_unittest.cc View 6 7 8 9 10 11 12 13 1 chunk +288 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +40 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 10 11 12 13 3 chunks +70 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.h View 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.cc View 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure_unittest.cc View 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/language_state.h View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/form_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/form_manager_browsertest.cc View 2 3 4 5 6 7 8 9 10 25 chunks +161 lines, -218 lines 0 comments Download
M webkit/glue/dom_operations.cc View 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/form_data.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M webkit/glue/form_data.cc View 2 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Ilya Sherman
10 years, 3 months ago (2010-08-31 21:30:01 UTC) #1
dhollowa
http://codereview.chromium.org/3226001/diff/2001/3012 File chrome/renderer/form_manager.cc (right): http://codereview.chromium.org/3226001/diff/2001/3012#newcode335 chrome/renderer/form_manager.cc:335: form->locale = UTF16ToASCII(element.getLangAttribute()); Let's land the renderer-side changes separately ...
10 years, 3 months ago (2010-08-31 22:18:35 UTC) #2
Ilya Sherman
WebKit patch landed; the renderer part of the patch is functionally ready to go.
10 years, 3 months ago (2010-09-02 23:04:30 UTC) #3
dhollowa
http://codereview.chromium.org/3226001/diff/22001/23001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/22001/23001#newcode17 chrome/browser/autofill/autofill_locale_model.cc:17: // TODO(isherman): Should these structs and arrays be declared ...
10 years, 3 months ago (2010-09-03 18:44:24 UTC) #4
Ilya Sherman
A few quick responses -- will post an updated patch addressing the remaining comments in ...
10 years, 3 months ago (2010-09-03 21:49:04 UTC) #5
Ilya Sherman
New patch up addressing most of the review comments; follow-up comments/questions from me for the ...
10 years, 3 months ago (2010-09-03 23:35:57 UTC) #6
dhollowa
http://codereview.chromium.org/3226001/diff/22001/23001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/22001/23001#newcode35 chrome/browser/autofill/autofill_locale_model.cc:35: // TODO(isherman): Expand this list, make sure that it ...
10 years, 3 months ago (2010-09-04 00:38:16 UTC) #7
James Hawkins
http://codereview.chromium.org/3226001/diff/37001/38001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/37001/38001#newcode7 chrome/browser/autofill/autofill_locale_model.cc:7: #include <string> These are already included in autofill_locale_model.h, please ...
10 years, 3 months ago (2010-09-07 20:54:21 UTC) #8
Ilya Sherman
New patch up :) http://codereview.chromium.org/3226001/diff/22001/23001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/22001/23001#newcode35 chrome/browser/autofill/autofill_locale_model.cc:35: // TODO(isherman): Expand this list, ...
10 years, 3 months ago (2010-09-08 10:03:15 UTC) #9
Ilya Sherman
Oops, a bunch of those comments are from before I switched over to the ICU ...
10 years, 3 months ago (2010-09-08 10:06:37 UTC) #10
Ilya Sherman
New patch up. I'd especially appreciate feedback on the API changes in this patch -- ...
10 years, 3 months ago (2010-09-09 01:33:12 UTC) #11
James Hawkins
Please respond to fixed review comments by pressing the 'Done' button. Otherwise it's much harder ...
10 years, 3 months ago (2010-09-10 19:18:46 UTC) #12
James Hawkins
http://codereview.chromium.org/3226001/diff/37001/38001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/37001/38001#newcode121 chrome/browser/autofill/autofill_locale_model.cc:121: bool AutoFillLocaleModel::IsLanguageSubtag(const std::string& tag) { On 2010/09/08 10:03:16, Ilya ...
10 years, 3 months ago (2010-09-10 19:21:49 UTC) #13
Ilya Sherman
"Done." =) http://codereview.chromium.org/3226001/diff/37001/38001 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/37001/38001#newcode7 chrome/browser/autofill/autofill_locale_model.cc:7: #include <string> On 2010/09/07 20:54:22, James Hawkins ...
10 years, 3 months ago (2010-09-10 22:56:16 UTC) #14
James Hawkins
Can I see a design doc that details how this is going to be used? ...
10 years, 3 months ago (2010-09-13 17:16:56 UTC) #15
dhollowa
On 2010/09/13 17:16:56, James Hawkins wrote: > Can I see a design doc that details ...
10 years, 3 months ago (2010-09-13 17:23:41 UTC) #16
Ilya Sherman
Updated patch up http://codereview.chromium.org/3226001/diff/17002/32002 File chrome/browser/autofill/autofill_locale_model.cc (right): http://codereview.chromium.org/3226001/diff/17002/32002#newcode16 chrome/browser/autofill/autofill_locale_model.cc:16: namespace { On 2010/09/13 17:16:56, James ...
10 years, 3 months ago (2010-09-13 19:00:02 UTC) #17
dhollowa
On 2010/09/13 17:23:41, dhollowa wrote: > On 2010/09/13 17:16:56, James Hawkins wrote: > > Can ...
10 years, 3 months ago (2010-09-16 20:06:20 UTC) #18
Ilya Sherman
> We have some investigation to do with respect to the efficacy of the CLD ...
10 years, 3 months ago (2010-09-16 23:26:48 UTC) #19
James Hawkins
On 2010/09/16 23:26:48, Ilya Sherman wrote: > > We have some investigation to do with ...
10 years, 3 months ago (2010-09-18 22:36:40 UTC) #20
Ilya Sherman
10 years, 3 months ago (2010-09-20 19:31:58 UTC) #21
On 2010/09/18 22:36:40, James Hawkins wrote:
> Will you be closing this CL and re-opening a copy at a later date or are you
> going to keep this one open?

I guess I can close this and reopen a copy later.

Powered by Google App Engine
This is Rietveld 408576698