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

Issue 558066: Autofill dialog for the Mac. This is UI only at this point. The UI is not h... (Closed)

Created:
10 years, 10 months ago by dhollowa
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Autofill dialog for the Mac. This is UI only at this point. The UI is not hooked up to the back end yet. The UI demonstrates manipulation of one address and one credit card record. Eventually buttons will be added to add and remove additional records. The additions in this CL are: - Preferences dialog has a new "Change autofill settings" button that triggers an autofill settings dialog. - The autofill settings dialog now exists and allows the user to manipulate form autofill data. Specifically address information and credit card information. - Each address or credit card record is presented in a disclosure view to allow for summary or detailed views of each record. - The autofill dialog is layed out dynamically in a vertical list (ordered by y) using the VerticalLayoutView. - Sections are delimited visually with the SectionSeparatorView. There are currently two sections, one for addresses and one for credit cards. - Unit tests are present that exercise the invocation of the dialog and check basic functionality. Checks are performed to see that data is flowing from core profile and credit card data structures into Cocoa model data structures used for bindings internally by the UI. - There are three .xib files (AutoFillDialog.xib, AutoFillAddressFormView.xib, and AutoFillCreditCardFormView.xib) that partition the dialog UI into distinct views, controllers, and model objects. - Cocoa databinding is utilized to syncronize dependent parts of the UI. - All strings are stored in internationalized form in .grd files and .xib files (with one small TODO execption, see below). The things remaining to do are: - Hook the UI up to the backend model, specifically the PersonalDataManager data. - Add support for arbitrary number of address and credit card records. I.e. Add and Delete buttons. - Scroll-to-Point support for autoscrolling when tabbing between fields. - Billing and shipping address popups in the credit card section. - Any validation of input (need to circle back with UI folks on this). - Input validation unit tests. - String concatenation of the summary label needs to be internationalized. BUG=33029 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38873

Patch Set 1 #

Total comments: 87

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 131

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 27

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 18

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5782 lines, -83 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/app/nibs/AutoFillAddressFormView.xib View 1 2 3 4 5 6 7 1 chunk +1936 lines, -0 lines 0 comments Download
A chrome/app/nibs/AutoFillCreditCardFormView.xib View 1 2 3 4 5 6 7 1 chunk +1373 lines, -0 lines 0 comments Download
A chrome/app/nibs/AutoFillDialog.xib View 1 2 3 4 5 6 7 8 1 chunk +773 lines, -0 lines 0 comments Download
M chrome/app/nibs/Preferences.xib View 1 2 3 4 5 6 7 8 48 chunks +138 lines, -67 lines 0 comments Download
A chrome/browser/autofill/autofill_address_model_mac.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_address_model_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +181 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_address_view_controller_mac.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_address_view_controller_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_credit_card_model_mac.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_credit_card_model_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_credit_card_view_controller_mac.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_credit_card_view_controller_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
D chrome/browser/autofill/autofill_dialog.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -14 lines 0 comments Download
A chrome/browser/autofill/autofill_dialog_controller_mac.h View 1 2 3 4 5 6 7 8 9 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_dialog_controller_mac.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +162 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm View 1 2 3 4 5 6 7 1 chunk +205 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_dialog_mac.mm View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
A chrome/browser/cocoa/disclosure_view_controller.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/disclosure_view_controller.mm View 1 2 3 4 5 6 7 1 chunk +189 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +25 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/section_separator_view.h View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/section_separator_view.mm View 1 2 3 4 5 1 chunk +106 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/vertical_layout_view.h View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/vertical_layout_view.mm View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -1 line 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pink (ping after 24hrs)
I only looked at about half, there's a lot that needs cleanup throughout the entire ...
10 years, 10 months ago (2010-02-01 15:34:31 UTC) #1
dhollowa
Thanks for the detailed review. I think I've got all the formatting sorted out now. ...
10 years, 10 months ago (2010-02-02 00:38:59 UTC) #2
pink (ping after 24hrs)
Comments on a few comments: > http://codereview.chromium.org/558066/diff/1/11#newcode23 > chrome/browser/autofill/autofill_address_view_controller_mac.h:23: // > Exposed for unit tests. ...
10 years, 10 months ago (2010-02-02 15:24:19 UTC) #3
dhollowa
On 2010/02/02 15:24:19, pink wrote: > Comments on a few comments: > > > http://codereview.chromium.org/558066/diff/1/11#newcode23 ...
10 years, 10 months ago (2010-02-02 19:10:07 UTC) #4
dhollowa
On 2010/02/02 19:10:07, dhollowa wrote: > On 2010/02/02 15:24:19, pink wrote: > > Comments on ...
10 years, 10 months ago (2010-02-02 19:11:26 UTC) #5
dhollowa
http://codereview.chromium.org/558066/diff/1/11 File chrome/browser/autofill/autofill_address_view_controller_mac.h (right): http://codereview.chromium.org/558066/diff/1/11#newcode23 chrome/browser/autofill/autofill_address_view_controller_mac.h:23: // Exposed for unit tests. Done. Created an unnamed ...
10 years, 10 months ago (2010-02-02 19:11:43 UTC) #6
pink (ping after 24hrs)
Much easier to read now! Thanks for that first pass. More comments below. http://codereview.chromium.org/558066/diff/15036/15058 File ...
10 years, 10 months ago (2010-02-02 22:14:22 UTC) #7
dhollowa
The credit card summary code was changed in the trunk. So I've put a TODO ...
10 years, 10 months ago (2010-02-03 19:20:35 UTC) #8
dhollowa
Reworked the way model objects are handled. Changed them from being nib-based with a NSObjectController ...
10 years, 10 months ago (2010-02-05 03:49:02 UTC) #9
pink (ping after 24hrs)
Almost there. http://codereview.chromium.org/558066/diff/16003/8042 File chrome/browser/autofill/autofill_address_model_mac.h (right): http://codereview.chromium.org/558066/diff/16003/8042#newcode16 chrome/browser/autofill/autofill_address_model_mac.h:16: // It is typical to initialize newly ...
10 years, 10 months ago (2010-02-08 14:58:21 UTC) #10
dhollowa
Next round. Thanks. Hopefully this'll be it! http://codereview.chromium.org/558066/diff/16003/8042 File chrome/browser/autofill/autofill_address_model_mac.h (right): http://codereview.chromium.org/558066/diff/16003/8042#newcode16 chrome/browser/autofill/autofill_address_model_mac.h:16: // It ...
10 years, 10 months ago (2010-02-10 21:34:00 UTC) #11
pink (ping after 24hrs)
LGTM with some nit-picks. No need for re-review. http://codereview.chromium.org/558066/diff/28001/28023 File chrome/browser/autofill/autofill_address_model_mac.h (right): http://codereview.chromium.org/558066/diff/28001/28023#newcode17 chrome/browser/autofill/autofill_address_model_mac.h:17: // ...
10 years, 10 months ago (2010-02-11 17:09:16 UTC) #12
dhollowa
Awesome. Thanks for the detailed review! I have integrated these last round of changes. Now ...
10 years, 10 months ago (2010-02-11 17:32:45 UTC) #13
vandebo (ex-Chrome)
10 years, 10 months ago (2010-02-12 18:33:29 UTC) #14
This change may have caused a valgrind report.  Can you please look into it?
http://chrome-buildbot.corp.google.com:8014/builders/Chromium%20Mac%20(valgri...

Powered by Google App Engine
This is Rietveld 408576698