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

Issue 1720533002: Settings People Revamp: Change Picture: Add accessibility-key usage. (Closed)

Created:
4 years, 10 months ago by tommycli
Modified:
4 years, 9 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@0095-settings-change-picture-announce-messags-old-image-alt-text
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings People Revamp: Change Picture: Add accessibility-key usage. When the grid area is focused, arrow keys navigate between icons. Space and Enter can be used to take pictures, discard pictures, and select a new file. (Flipping photos requires tabbing to the flip button). This behavior was pretty easy to implement, but has a caveat compared to the old more advanced behavior. The caveat is described in a mega-comment inside change_picture.js BUG=563721 Committed: https://crrev.com/e2d58400ee8fcfd27b5927e0d00031ccb24df6ba Cr-Commit-Position: refs/heads/master@{#378278}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Update people to compiled_resources2 to allow passing of closure #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -114 lines) Patch
M chrome/browser/resources/settings/compiled_resources.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/compiled_resources2.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/camera.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/camera.js View 1 2 chunks +25 lines, -25 lines 0 comments Download
M chrome/browser/resources/settings/people_page/change_picture.html View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/people_page/change_picture.js View 1 2 3 4 5 4 chunks +61 lines, -5 lines 2 comments Download
D chrome/browser/resources/settings/people_page/compiled_resources.gyp View 1 2 3 4 5 1 chunk +0 lines, -80 lines 0 comments Download
A chrome/browser/resources/settings/people_page/compiled_resources2.gyp View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
tommycli
dbeam: PTAL, this makes the it possible to navigate among choices in the image grid ...
4 years, 10 months ago (2016-02-19 23:59:01 UTC) #2
Dan Beam
lgtm https://codereview.chromium.org/1720533002/diff/1/chrome/browser/resources/settings/people_page/change_picture.js File chrome/browser/resources/settings/people_page/change_picture.js (right): https://codereview.chromium.org/1720533002/diff/1/chrome/browser/resources/settings/people_page/change_picture.js#newcode226 chrome/browser/resources/settings/people_page/change_picture.js:226: if (this.selectedItem_ == undefined) nit: just if (!this.selectedItem_) ...
4 years, 10 months ago (2016-02-22 20:41:31 UTC) #3
tommycli
dbeam: Thanks! https://codereview.chromium.org/1720533002/diff/1/chrome/browser/resources/settings/people_page/change_picture.js File chrome/browser/resources/settings/people_page/change_picture.js (right): https://codereview.chromium.org/1720533002/diff/1/chrome/browser/resources/settings/people_page/change_picture.js#newcode226 chrome/browser/resources/settings/people_page/change_picture.js:226: if (this.selectedItem_ == undefined) On 2016/02/22 20:41:31, ...
4 years, 9 months ago (2016-02-29 19:18:33 UTC) #4
Dan Beam
just fyi, still lgtm https://codereview.chromium.org/1720533002/diff/80001/chrome/browser/resources/settings/people_page/camera.js File chrome/browser/resources/settings/people_page/camera.js (right): https://codereview.chromium.org/1720533002/diff/80001/chrome/browser/resources/settings/people_page/camera.js#newcode78 chrome/browser/resources/settings/people_page/camera.js:78: /** @type {HTMLCanvasElement} */ (document.createElement('canvas')); ...
4 years, 9 months ago (2016-02-29 19:26:01 UTC) #8
tommycli
dbeam: thanks. I also had to update to compiled_resources2 and import a polymer element to ...
4 years, 9 months ago (2016-02-29 20:28:25 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1720533002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1720533002/100001
4 years, 9 months ago (2016-02-29 20:28:50 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-29 21:09:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1720533002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1720533002/100001
4 years, 9 months ago (2016-02-29 21:25:37 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-02-29 21:38:33 UTC) #17
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e2d58400ee8fcfd27b5927e0d00031ccb24df6ba Cr-Commit-Position: refs/heads/master@{#378278}
4 years, 9 months ago (2016-02-29 21:40:17 UTC) #19
Dan Beam
https://codereview.chromium.org/1720533002/diff/100001/chrome/browser/resources/settings/people_page/change_picture.js File chrome/browser/resources/settings/people_page/change_picture.js (right): https://codereview.chromium.org/1720533002/diff/100001/chrome/browser/resources/settings/people_page/change_picture.js#newcode275 chrome/browser/resources/settings/people_page/change_picture.js:275: } we should probably test this as well, btw
4 years, 9 months ago (2016-03-01 22:58:24 UTC) #20
tommycli
4 years, 9 months ago (2016-03-01 23:10:37 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/1720533002/diff/100001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/change_picture.js (right):

https://codereview.chromium.org/1720533002/diff/100001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/change_picture.js:275: }
On 2016/03/01 22:58:24, Dan Beam wrote:
> we should probably test this as well, btw

I'm down with that. I'll add that in a follow up CL.

Powered by Google App Engine
This is Rietveld 408576698