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

Issue 668171: AutoFill Mac preference for enabling Address Book "me" card usage.... (Closed)

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

Description

AutoFill Mac preference for enabling Address Book "me" card usage. Adds a boolean preference to specify whether to use the Mac user's Address Book "me" card as a source of information for AutoFill addresses. This CL adds the Mac UI and the preference setup only. It does not cover the functionality for fetching the actual Address Book data. The changes to AutoFillDialog.xib add the checkbox UI and bind the checkbox to the |auxiliaryEnabled| property in the controller class. The |addressSection_| outlet is set to the spacer following the new checkbox. Unit tests are included for the addition of the preference at the mac dialog controller level. BUG=36496 TEST=PersonalDataManagerTest, AutoFillDialogControllerTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40803

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Total comments: 17

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -64 lines) Patch
M chrome/app/generated_resources.grd View 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/nibs/AutoFillDialog.xib View 1 2 3 12 chunks +139 lines, -28 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac.h View 1 2 4 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac.mm View 1 2 3 6 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm View 1 3 chunks +46 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_gtk.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_dialog_mac.mm View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/autofill/personal_data_manager.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 6 chunks +20 lines, -11 lines 0 comments Download
M chrome/browser/cocoa/vertical_layout_view.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/options/content_page_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/autofill_profiles_view_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/options/content_page_view.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dhollowa
10 years, 9 months ago (2010-03-05 18:36:28 UTC) #1
James Hawkins
http://codereview.chromium.org/668171/diff/1/10 File chrome/browser/autofill/autofill_dialog.h (right): http://codereview.chromium.org/668171/diff/1/10#newcode23 chrome/browser/autofill/autofill_dialog.h:23: // Returns the boolean preference value regarding whether to ...
10 years, 9 months ago (2010-03-05 18:41:39 UTC) #2
dhollowa
http://codereview.chromium.org/668171/diff/1/10 File chrome/browser/autofill/autofill_dialog.h (right): http://codereview.chromium.org/668171/diff/1/10#newcode23 chrome/browser/autofill/autofill_dialog.h:23: // Returns the boolean preference value regarding whether to ...
10 years, 9 months ago (2010-03-05 22:04:57 UTC) #3
James Hawkins
http://codereview.chromium.org/668171/diff/1004/43 File chrome/browser/autofill/personal_data_manager.h (right): http://codereview.chromium.org/668171/diff/1004/43#newcode48 chrome/browser/autofill/personal_data_manager.h:48: // AutoFillDialogObserver implementation. s/./:/ http://codereview.chromium.org/668171/diff/1004/41 File chrome/browser/autofill/personal_data_manager_unittest.cc (right): http://codereview.chromium.org/668171/diff/1004/41#newcode245 ...
10 years, 9 months ago (2010-03-05 22:17:48 UTC) #4
dhollowa
http://codereview.chromium.org/668171/diff/1004/43 File chrome/browser/autofill/personal_data_manager.h (right): http://codereview.chromium.org/668171/diff/1004/43#newcode48 chrome/browser/autofill/personal_data_manager.h:48: // AutoFillDialogObserver implementation. On 2010/03/05 22:17:48, James Hawkins wrote: ...
10 years, 9 months ago (2010-03-05 22:27:32 UTC) #5
James Hawkins
LGTM. Rubber-stamp on the mac UI changes.
10 years, 9 months ago (2010-03-05 22:33:54 UTC) #6
dhollowa
On 2010/03/05 22:33:54, James Hawkins wrote: > LGTM. Rubber-stamp on the mac UI changes. Will ...
10 years, 9 months ago (2010-03-05 22:35:37 UTC) #7
Nico
Basically LG. A couple style nits, one renaming suggestion, and one somewhat serious question below. ...
10 years, 9 months ago (2010-03-05 22:45:53 UTC) #8
dhollowa
Added .grd change for resource string that somehow got reverted. http://codereview.chromium.org/668171/diff/1021/62 File chrome/browser/autofill/autofill_dialog_controller_mac.h (right): http://codereview.chromium.org/668171/diff/1021/62#newcode51 ...
10 years, 9 months ago (2010-03-05 23:20:13 UTC) #9
Nico
10 years, 9 months ago (2010-03-05 23:25:34 UTC) #10
SLG. Thanks for the changes.

Powered by Google App Engine
This is Rietveld 408576698