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

Issue 2586113002: MD Settings: ignore modified key events in the profile avatar grid (Closed)

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

Description

MD Settings: ignore modified key events in the profile avatar grid It responds to left and right arrow, which can sometimes prevent browser shortcuts like Back and Forward if not done correctly. R=mahmadi@chromium.org BUG=675383 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b6daa9df237e81ebc10a0f176685582f3924cd9c Cr-Commit-Position: refs/heads/master@{#439932}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : closure #

Total comments: 8

Patch Set 4 : util.js method #

Patch Set 5 : closure, take 1 #

Patch Set 6 : closure, take 2 #

Total comments: 4

Patch Set 7 : mahmadi@ review #

Patch Set 8 : closure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -33 lines) Patch
M chrome/browser/resources/chromeos/keyboard/keyboard_utils.js View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/inspect/inspect.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_downloads/crisper.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/dot_list.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/cookies_list.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/common/overlay.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/previewarea/preview_area.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/people_page/manage_profile.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_profile_avatar_selector/compiled_resources2.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js View 1 2 chunks +13 lines, -8 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js View 1 2 3 4 5 6 2 chunks +41 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/focus_row.js View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M ui/webui/resources/js/util.js View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (28 generated)
Dan Beam
4 years ago (2016-12-19 01:11:40 UTC) #3
michaelpg
thanks for fixing, will defer to moe for whether this is the intended behavior but ...
4 years ago (2016-12-19 10:02:46 UTC) #7
Dan Beam
https://codereview.chromium.org/2586113002/diff/40001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js (right): https://codereview.chromium.org/2586113002/diff/40001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js#newcode27 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js:27: * @param {CustomEvent} event On 2016/12/19 10:02:46, michaelpg wrote: ...
4 years ago (2016-12-20 07:07:57 UTC) #9
Moe
lgtm with nits. https://codereview.chromium.org/2586113002/diff/100001/chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js File chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js (right): https://codereview.chromium.org/2586113002/diff/100001/chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js#newcode105 chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js:105: selector.ignoreModifiedKeyEvents = true; maybe set the ...
4 years ago (2016-12-20 19:07:40 UTC) #21
Moe
Also, I think it helps to expand the description of the CL why we're doing ...
4 years ago (2016-12-20 19:08:59 UTC) #22
Dan Beam
On 2016/12/20 19:08:59, moe wrote: > Also, I think it helps to expand the description ...
4 years ago (2016-12-20 19:31:15 UTC) #24
Moe
On 2016/12/20 19:31:15, Dan Beam wrote: > On 2016/12/20 19:08:59, moe wrote: > > Also, ...
4 years ago (2016-12-20 19:32:22 UTC) #26
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/2586113002/140001
4 years ago (2016-12-20 22:03:02 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-20 23:49:24 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-20 23:52:00 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b6daa9df237e81ebc10a0f176685582f3924cd9c
Cr-Commit-Position: refs/heads/master@{#439932}

Powered by Google App Engine
This is Rietveld 408576698