Chromium Code Reviews
Help | Chromium Project | Sign in
(18)

Issue 3039014: AutoFill Profiles dialog handles multi-select and delete on Mac (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 10 months ago by dhollowa
Modified:
4 years ago
Reviewers:
John Grabowski, Nico
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

AutoFill Profiles dialog handles multi-select and delete on Mac Changes the AutoFill dialog on Mac to support multi-select and delete of items in the address and credit card table. The "Edit..." button disables when multiple items are selected. Nib changes in AutoFillDialog.xib: (1) Enables multi-select for the table view, (2) binds the enabled state of the "Edit..." button to the new |multipleSelected| property, (3) connects edit button to outlet. BUG=49344, 46075 TEST=AutoFillDialogControllerTest.DeleteMultiple. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52989

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing review comments. #

Patch Set 3 : Merge with trunk. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -67 lines) Patch
M chrome/app/nibs/AutoFillDialog.xib View 1 6 chunks +58 lines, -26 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac.h View 1 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac.mm View 1 2 4 chunks +58 lines, -35 lines 1 comment Download
M chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm View 1 2 7 chunks +54 lines, -6 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 4 (0 generated)
dhollowa
4 years, 10 months ago (2010-07-20 00:05:58 UTC) #1
John Grabowski
LGTM http://codereview.chromium.org/3039014/diff/1/4 File chrome/browser/autofill/autofill_dialog_controller_mac.mm (right): http://codereview.chromium.org/3039014/diff/1/4#newcode341 chrome/browser/autofill/autofill_dialog_controller_mac.mm:341: // Deletes selected items, either addresses, credit cards, ...
4 years, 10 months ago (2010-07-20 00:10:23 UTC) #2
dhollowa
http://codereview.chromium.org/3039014/diff/1/4 File chrome/browser/autofill/autofill_dialog_controller_mac.mm (right): http://codereview.chromium.org/3039014/diff/1/4#newcode341 chrome/browser/autofill/autofill_dialog_controller_mac.mm:341: // Deletes selected items, either addresses, credit cards, or ...
4 years, 10 months ago (2010-07-20 00:31:35 UTC) #3
Nico
4 years, 10 months ago (2010-07-20 03:18:20 UTC) #4
http://codereview.chromium.org/3039014/diff/13001/14003
File chrome/browser/autofill/autofill_dialog_controller_mac.mm (right):

http://codereview.chromium.org/3039014/diff/13001/14003#newcode368
chrome/browser/autofill/autofill_dialog_controller_mac.mm:368: for (NSInteger i
= rowCount-1; i>=0; --i) {
You want:

    for (NSUInteger i = [selection lastIndex];
       i != NSNotFound;
       i = [selection indexLessThanIndex:i]) {
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be