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

Issue 2589353002: MD Settings: Display > Overscan: Update text and fix focus (Closed)

Created:
4 years ago by stevenjb
Modified:
3 years, 11 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Display > Overscan: Update text and fix focus While updating the text I discovered that changing the focus (e.g. by calling blur() on the focused button, or simply clicking or tabbing away from the dialog) would cause the keyboard event to not get triggered. This change was introduced in https://codereview.chromium.org/2180823004. The simple fix is to call window.addEventListener instead of this.addEventListener. BUG=660597 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/857d7966566652606eebaf44e27db67f36d3d0dc Cr-Commit-Position: refs/heads/master@{#440910}

Patch Set 1 #

Patch Set 2 : Fix keyboard focus #

Total comments: 6

Patch Set 3 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -17 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/device_page/display_overscan_dialog.html View 3 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/device_page/display_overscan_dialog.js View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
stevenjb
4 years ago (2016-12-20 22:20:13 UTC) #3
michaelpg
https://codereview.chromium.org/2589353002/diff/20001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2589353002/diff/20001/chrome/app/settings_strings.grdp#newcode2664 chrome/app/settings_strings.grdp:2664: <message name="IDS_SETTINGS_DISPLAY_OVERSCAN_SUBTITLE" desc="Subtitle for the display overscan settings subpate."> ...
4 years ago (2016-12-22 07:02:26 UTC) #5
stevenjb
https://codereview.chromium.org/2589353002/diff/20001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2589353002/diff/20001/chrome/app/settings_strings.grdp#newcode2664 chrome/app/settings_strings.grdp:2664: <message name="IDS_SETTINGS_DISPLAY_OVERSCAN_SUBTITLE" desc="Subtitle for the display overscan settings subpate."> ...
4 years ago (2016-12-22 20:54:14 UTC) #6
michaelpg
lgtm
3 years, 11 months ago (2016-12-28 22:27:48 UTC) #7
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/2589353002/40001
3 years, 11 months ago (2016-12-28 23:26:20 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2016-12-29 00:21:20 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:50:55 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/857d7966566652606eebaf44e27db67f36d3d0dc
Cr-Commit-Position: refs/heads/master@{#440910}

Powered by Google App Engine
This is Rietveld 408576698