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

Issue 2866443002: [Web Payments] Handle "Enter" accelerator when there's a primary action (Closed)

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

Description

[Web Payments] Handle "Enter" accelerator when there's a primary action BUG=714691 Review-Url: https://codereview.chromium.org/2866443002 Cr-Commit-Position: refs/heads/master@{#469459} Committed: https://chromium.googlesource.com/chromium/src/+/f57107bd00cb3d875156103ab6447a2999b391b8

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add tests to sheets that handle the enter accelerator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -5 lines) Patch
M chrome/browser/ui/views/payments/contact_info_editor_view_controller.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc View 1 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller_browsertest.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/cvc_unmask_view_controller.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc View 1 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_sheet_controller.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_sheet_controller.cc View 1 7 chunks +52 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller_browsertest.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
anthonyvd
Hi Math, PTAL!
3 years, 7 months ago (2017-05-04 15:48:23 UTC) #4
Mathieu
Can we add a test? :D https://codereview.chromium.org/2866443002/diff/1/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc File chrome/browser/ui/views/payments/payment_request_sheet_controller.cc (right): https://codereview.chromium.org/2866443002/diff/1/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc#newcode45 chrome/browser/ui/views/payments/payment_request_sheet_controller.cc:45: confirm_accelerator_(ui::Accelerator(ui::VKEY_RETURN, ui::EF_NONE)), nit: ...
3 years, 7 months ago (2017-05-04 17:12:44 UTC) #7
anthonyvd
Comments addressed, tests added. PTAL! https://codereview.chromium.org/2866443002/diff/1/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc File chrome/browser/ui/views/payments/payment_request_sheet_controller.cc (right): https://codereview.chromium.org/2866443002/diff/1/chrome/browser/ui/views/payments/payment_request_sheet_controller.cc#newcode45 chrome/browser/ui/views/payments/payment_request_sheet_controller.cc:45: confirm_accelerator_(ui::Accelerator(ui::VKEY_RETURN, ui::EF_NONE)), On 2017/05/04 ...
3 years, 7 months ago (2017-05-04 18:56:46 UTC) #8
Mathieu
lgtm
3 years, 7 months ago (2017-05-04 19:51:37 UTC) #9
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/2866443002/20001
3 years, 7 months ago (2017-05-04 19:59:45 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 20:52:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f57107bd00cb3d875156103ab644...

Powered by Google App Engine
This is Rietveld 408576698