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

Issue 12208070: allow wallet items to appear in requestAutocomplete UI (Closed)

Created:
7 years, 10 months ago by Evan Stade
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

allow wallet items to appear in requestAutocomplete UI this CL adds a glue interface so that AutofillDialogController can be more agnostic about where its data is coming from. BUG=174937 TBR=thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182348

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : absolute #

Patch Set 4 : relative #

Total comments: 2

Patch Set 5 : confirmed with working wallet data #

Patch Set 6 : relative patchset again #

Total comments: 20

Patch Set 7 : review + sync #

Patch Set 8 : fix FIXME #

Patch Set 9 : self review #

Patch Set 10 : . #

Patch Set 11 : clang fix #

Patch Set 12 : clang fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -74 lines) Patch
M chrome/browser/autofill/wallet/wallet_address.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/autofill/wallet/wallet_address.cc View 1 2 3 4 5 6 2 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +102 lines, -70 lines 2 comments Download
M chrome/browser/ui/autofill/autofill_dialog_types.h View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/data_model_wrapper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +131 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/data_model_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +154 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Evan Stade
isherman: review dbeam, ahutter: FYI this depends on dbeam's https://codereview.chromium.org/12208070/ Thus far, I have only ...
7 years, 10 months ago (2013-02-12 02:49:43 UTC) #1
Dan Beam
On 2013/02/12 02:49:43, Evan Stade wrote: > isherman: review > dbeam, ahutter: FYI > > ...
7 years, 10 months ago (2013-02-12 03:00:52 UTC) #2
Evan Stade
should have been: https://codereview.chromium.org/12221040/
7 years, 10 months ago (2013-02-12 03:21:27 UTC) #3
ahutter
https://codereview.chromium.org/12208070/diff/4002/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12208070/diff/4002/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode399 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:399: string16 label = wrapper->GetInfo(NAME_FULL) + Are we sure this ...
7 years, 10 months ago (2013-02-12 15:46:42 UTC) #4
Evan Stade
https://codereview.chromium.org/12208070/diff/4002/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12208070/diff/4002/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode399 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:399: string16 label = wrapper->GetInfo(NAME_FULL) + On 2013/02/12 15:46:42, ahutter ...
7 years, 10 months ago (2013-02-12 18:10:22 UTC) #5
Evan Stade
although there are rough edges (e.g. lack of spinner while wallet data is loading) and ...
7 years, 10 months ago (2013-02-12 18:28:15 UTC) #6
Evan Stade
ping isherman
7 years, 10 months ago (2013-02-12 22:26:39 UTC) #7
Ilya Sherman
LGTM with nits: https://codereview.chromium.org/12208070/diff/9/chrome/browser/autofill/wallet/wallet_address.cc File chrome/browser/autofill/wallet/wallet_address.cc (right): https://codereview.chromium.org/12208070/diff/9/chrome/browser/autofill/wallet/wallet_address.cc#newcode71 chrome/browser/autofill/wallet/wallet_address.cc:71: string16 Address::GetInfo(AutofillFieldType type) const { Optional ...
7 years, 10 months ago (2013-02-12 22:50:34 UTC) #8
Evan Stade
https://codereview.chromium.org/12208070/diff/9/chrome/browser/autofill/wallet/wallet_address.cc File chrome/browser/autofill/wallet/wallet_address.cc (right): https://codereview.chromium.org/12208070/diff/9/chrome/browser/autofill/wallet/wallet_address.cc#newcode71 chrome/browser/autofill/wallet/wallet_address.cc:71: string16 Address::GetInfo(AutofillFieldType type) const { On 2013/02/12 22:50:34, Ilya ...
7 years, 10 months ago (2013-02-13 00:11:58 UTC) #9
Evan Stade
TBR'ing Lei for gypi change.
7 years, 10 months ago (2013-02-13 23:36:17 UTC) #10
Lei Zhang
.gypi lgtm
7 years, 10 months ago (2013-02-13 23:38:49 UTC) #11
Dan Beam
https://codereview.chromium.org/12208070/diff/19003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12208070/diff/19003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode397 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:397: bool success = !base::StringToInt(item_key, &index); shouldn't this be without ...
7 years, 10 months ago (2013-02-15 02:11:45 UTC) #12
Evan Stade
7 years, 10 months ago (2013-02-20 00:03:38 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/12208070/diff/19003/chrome/browser/ui/autofil...
File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right):

https://codereview.chromium.org/12208070/diff/19003/chrome/browser/ui/autofil...
chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:397: bool success
= !base::StringToInt(item_key, &index);
On 2013/02/15 02:11:45, Dan Beam wrote:
> shouldn't this be without the "!" ?

yes

Powered by Google App Engine
This is Rietveld 408576698