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

Issue 2810193003: [Payments] Change how the dialog gets destroyed. (Closed)

Created:
3 years, 8 months ago by Mathieu
Modified:
3 years, 8 months ago
Reviewers:
anthonyvd
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Change how the dialog gets destroyed. The views need to go first, then the controllers. This is because some views may have pointers/delegates back to their controllers. BUG=710127 TEST=a few more browser_tests Review-Url: https://codereview.chromium.org/2810193003 Cr-Commit-Position: refs/heads/master@{#464026} Committed: https://chromium.googlesource.com/chromium/src/+/457dcdd09c5fe44b8eb75bcdb0b7b8beab158b49

Patch Set 1 #

Total comments: 3

Patch Set 2 : added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -49 lines) Patch
M chrome/browser/ui/views/payments/credit_card_editor_view_controller_browsertest.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.cc View 9 chunks +50 lines, -45 lines 0 comments Download
M chrome/browser/ui/views/payments/view_stack.h View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Mathieu
Anthony, PTAL! https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h File chrome/browser/ui/views/payments/view_stack.h (right): https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h#newcode65 chrome/browser/ui/views/payments/view_stack.h:65: std::vector<std::unique_ptr<views::View>> stack_; The order is important here, ...
3 years, 8 months ago (2017-04-12 13:29:02 UTC) #2
anthonyvd
lgtm % 1 comment. Does this fix your editor issue? https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h File chrome/browser/ui/views/payments/view_stack.h (right): https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h#newcode65 ...
3 years, 8 months ago (2017-04-12 14:19:36 UTC) #7
Mathieu
https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h File chrome/browser/ui/views/payments/view_stack.h (right): https://codereview.chromium.org/2810193003/diff/1/chrome/browser/ui/views/payments/view_stack.h#newcode65 chrome/browser/ui/views/payments/view_stack.h:65: std::vector<std::unique_ptr<views::View>> stack_; On 2017/04/12 14:19:36, anthonyvd wrote: > On ...
3 years, 8 months ago (2017-04-12 14:24:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2810193003/20001
3 years, 8 months ago (2017-04-12 14:24:43 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 15:15:54 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/457dcdd09c5fe44b8eb75bcdb0b7...

Powered by Google App Engine
This is Rietveld 408576698