Chromium Code Reviews

Issue 3302015: AutoFill Mac dialog should be non-modal (Closed)

Created:
10 years, 3 months ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
pink (ping after 24hrs), James Hawkins
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr., ben+cc_chromium.org, James Hawkins, dhollowa
Visibility:
Public.

Description

AutoFill Mac dialog should be non-modal Changes the AutoFill dialog on Mac to be modeless. Changes to preferences and AutoFill profile and credit card information is now saved immediately. Nib changes: Removes Save and Cancel buttons, activates Close and Minimize controls, and compacts dialog to account for new vertical space. BUG=49935 TEST=AutoFillDialogControllerTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58869

Patch Set 1 #

Patch Set 2 : Comment tweaks. #

Total comments: 20

Patch Set 3 : 80 cols. #

Patch Set 4 : Addressing comments. #

Total comments: 2

Patch Set 5 : Indent. #

Unified diffs Side-by-side diffs Stats (+300 lines, -473 lines)
M chrome/app/nibs/AutoFillDialog.xib View 22 chunks +16 lines, -144 lines 0 comments
M chrome/browser/autofill/autofill_dialog_controller_mac.h View 8 chunks +18 lines, -37 lines 0 comments
M chrome/browser/autofill/autofill_dialog_controller_mac.mm View 21 chunks +175 lines, -119 lines 0 comments
M chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm View 26 chunks +90 lines, -169 lines 0 comments
M chrome/browser/autofill/autofill_dialog_mac.mm View 1 chunk +1 line, -4 lines 0 comments

Messages

Total messages: 9 (0 generated)
dhollowa
10 years, 3 months ago (2010-09-08 18:52:35 UTC) #1
dhollowa
jhawkins for AutoFill logic. pinkerton for Mac specifics.
10 years, 3 months ago (2010-09-08 18:53:55 UTC) #2
James Hawkins
Mostly rubber-stamp LGTM beside 80 col nit, on account of me not being up to ...
10 years, 3 months ago (2010-09-08 18:57:30 UTC) #3
James Hawkins
http://codereview.chromium.org/3302015/diff/2001/3002 File chrome/browser/autofill/autofill_dialog_controller_mac.h (right): http://codereview.chromium.org/3302015/diff/2001/3002#newcode127 chrome/browser/autofill/autofill_dialog_controller_mac.h:127: // modeless dialog. The controller autoreleases itself when the ...
10 years, 3 months ago (2010-09-08 18:58:30 UTC) #4
dhollowa
http://codereview.chromium.org/3302015/diff/2001/3002 File chrome/browser/autofill/autofill_dialog_controller_mac.h (right): http://codereview.chromium.org/3302015/diff/2001/3002#newcode127 chrome/browser/autofill/autofill_dialog_controller_mac.h:127: // modeless dialog. The controller autoreleases itself when the ...
10 years, 3 months ago (2010-09-08 19:02:29 UTC) #5
pink (ping after 24hrs)
Some minor questions. http://codereview.chromium.org/3302015/diff/2001/3002 File chrome/browser/autofill/autofill_dialog_controller_mac.h (right): http://codereview.chromium.org/3302015/diff/2001/3002#newcode136 chrome/browser/autofill/autofill_dialog_controller_mac.h:136: profile:(Profile*)profile; line up the colons http://codereview.chromium.org/3302015/diff/2001/3003 ...
10 years, 3 months ago (2010-09-08 19:22:27 UTC) #6
dhollowa
http://codereview.chromium.org/3302015/diff/2001/3002 File chrome/browser/autofill/autofill_dialog_controller_mac.h (right): http://codereview.chromium.org/3302015/diff/2001/3002#newcode136 chrome/browser/autofill/autofill_dialog_controller_mac.h:136: profile:(Profile*)profile; On 2010/09/08 19:22:27, pink wrote: > line up ...
10 years, 3 months ago (2010-09-08 19:59:03 UTC) #7
pink (ping after 24hrs)
lgtm. http://codereview.chromium.org/3302015/diff/12001/13003 File chrome/browser/autofill/autofill_dialog_controller_mac.mm (right): http://codereview.chromium.org/3302015/diff/12001/13003#newcode675 chrome/browser/autofill/autofill_dialog_controller_mac.mm:675: (AutoFillDialogObserver*)observer This might flow better as: + (AutoFillDialogController*) ...
10 years, 3 months ago (2010-09-08 20:07:36 UTC) #8
dhollowa
10 years, 3 months ago (2010-09-08 20:12:30 UTC) #9
http://codereview.chromium.org/3302015/diff/12001/13003
File chrome/browser/autofill/autofill_dialog_controller_mac.mm (right):

http://codereview.chromium.org/3302015/diff/12001/13003#newcode675
chrome/browser/autofill/autofill_dialog_controller_mac.mm:675:
(AutoFillDialogObserver*)observer
On 2010/09/08 20:07:36, pink wrote:
> This might flow better as:
> 
> + (AutoFillDialogController*)
>     controllerWithObserver:(AutoFillDialogObserver*)observer
>                    profile:(Profile*)profile {
> 
> A little easier to read, i think.

Ah yes.  Better.  Thanks.

Powered by Google App Engine