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

Issue 13625002: Change the behavior of the [X] Save details to Wallet checkbox notification to: (Closed)

Created:
7 years, 8 months ago by Dan Beam
Modified:
7 years, 8 months ago
Reviewers:
aruslan, sky, Evan Stade
CC:
chromium-reviews, Raman Kakilate, tfarina, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman, aruslan
Visibility:
Public.

Description

Change the interaction between the [X] Save details in Google Wallet checkbox notification and the account chooser (and rest of the dialog). Previous problems were: - the notification disappeared when the account chooser wasn't on Wallet - the account chooser didn't change to "Pay without Wallet" when unchecked - no way to tell if user is signed in when "Pay without Wallet" showing - closing a dialog changed the state of an existing dialog (no longer first run) BUG=224787 R=estade@chromium.org,aruslan@chromium.org,sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193348

Patch Set 1 #

Patch Set 2 : . #

Total comments: 17

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Total comments: 2

Patch Set 11 : . #

Patch Set 12 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -218 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/android/autofill/autofill_dialog_view_android.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 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 5 chunks +10 lines, -5 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 11 13 chunks +90 lines, -91 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +126 lines, -11 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_models.h View 1 2 3 chunks +1 line, -11 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_models.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -25 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_models_unittest.cc View 1 2 1 chunk +33 lines, -21 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_types.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_types.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_view.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Dan Beam
https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_models.cc File chrome/browser/ui/autofill/autofill_dialog_models.cc (right): https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_models.cc#newcode153 chrome/browser/ui/autofill/autofill_dialog_models.cc:153: prefs_->SetBoolean(prefs::kAutofillDialogPayWithoutWallet, should this model know about prefs? https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_models.cc#newcode180 chrome/browser/ui/autofill/autofill_dialog_models.cc:180: ...
7 years, 8 months ago (2013-04-05 02:45:57 UTC) #1
Dan Beam
some for aruslan@, some for estade@ https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (left): https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#oldcode552 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:552: if (wallet_items_.get()) { ...
7 years, 8 months ago (2013-04-05 02:50:08 UTC) #2
aruslan
I like this much more. https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (left): https://chromiumcodereview.appspot.com/13625002/diff/1001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#oldcode552 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:552: if (wallet_items_.get()) { On ...
7 years, 8 months ago (2013-04-05 03:45:35 UTC) #3
Evan Stade
https://codereview.chromium.org/13625002/diff/1001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/13625002/diff/1001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode611 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:611: checkbox->SetChecked(!controller_->GetPayWithoutWallet()); On 2013/04/05 02:45:57, Dan Beam wrote: > an ...
7 years, 8 months ago (2013-04-05 23:38:22 UTC) #4
Evan Stade
also please add tests for the set of circumstances under which this banner shows
7 years, 8 months ago (2013-04-05 23:38:45 UTC) #5
Dan Beam
will fix existing tests and create new ones on monday https://codereview.chromium.org/13625002/diff/1001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/13625002/diff/1001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode611 ...
7 years, 8 months ago (2013-04-06 04:49:50 UTC) #6
Evan Stade
https://codereview.chromium.org/13625002/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller.h File chrome/browser/ui/autofill/autofill_dialog_controller.h (right): https://codereview.chromium.org/13625002/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller.h#newcode154 chrome/browser/ui/autofill/autofill_dialog_controller.h:154: virtual void CheckboxStateChanged(DialogNotification::Type type, nit: can you call this ...
7 years, 8 months ago (2013-04-08 18:07:05 UTC) #7
Dan Beam
https://codereview.chromium.org/13625002/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller.h File chrome/browser/ui/autofill/autofill_dialog_controller.h (right): https://codereview.chromium.org/13625002/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller.h#newcode154 chrome/browser/ui/autofill/autofill_dialog_controller.h:154: virtual void CheckboxStateChanged(DialogNotification::Type type, On 2013/04/08 18:07:05, Evan Stade ...
7 years, 8 months ago (2013-04-09 01:08:07 UTC) #8
Dan Beam
writing more tests now
7 years, 8 months ago (2013-04-09 02:10:57 UTC) #9
Dan Beam
wrote tests, ptal
7 years, 8 months ago (2013-04-09 03:35:51 UTC) #10
Dan Beam
adding sky@ to the mix. to clarify reviewer responsibilities: sky@: chrome/browser/ui/views estade@: chrome/browser/ui/autofill aruslan@: chrome/android, ...
7 years, 8 months ago (2013-04-09 03:46:49 UTC) #11
aruslan
chrome/android, chrome/browser/ui/android LGTM
7 years, 8 months ago (2013-04-09 03:53:30 UTC) #12
sky
LGTM
7 years, 8 months ago (2013-04-09 14:09:40 UTC) #13
Dan Beam
ping estade@
7 years, 8 months ago (2013-04-09 21:11:45 UTC) #14
Evan Stade
lgtm https://codereview.chromium.org/13625002/diff/47001/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/13625002/diff/47001/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc#newcode707 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:707: could you add brief descriptions of what each ...
7 years, 8 months ago (2013-04-10 04:13:08 UTC) #15
Dan Beam
https://codereview.chromium.org/13625002/diff/47001/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/13625002/diff/47001/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc#newcode707 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:707: On 2013/04/10 04:13:09, Evan Stade wrote: > could you ...
7 years, 8 months ago (2013-04-10 04:51:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/13625002/64001
7 years, 8 months ago (2013-04-10 04:52:12 UTC) #17
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 08:52:30 UTC) #18
Message was sent while issue was closed.
Change committed as 193348

Powered by Google App Engine
This is Rietveld 408576698