Print Preview: Apply advanced settings on enter key
Apply the advanced settings when the enter key is pressed, unless: - Focus is on the search box, where enter normally means "search" - Focus is on a select, where enter selects an item in the dropdown - Focus is on a cr-button (e.g. cancel or apply), where enter activates the button. This matches the behavior to the behavior on the main Print Preview UI, where enter is equivalent to clicking Print unless a control that normally handles the key event is focused. Bug: 974161 Change-Id: I4818996fb960bfc0c6ee3e92d2c132fc7f8dd466 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661302 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:Esmael El-Moslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#669831}
Showing
Please register or sign in to comment