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

Issue 2200463002: Reorganize accessibility settings. (Closed)

Created:
4 years, 4 months ago by dmazzoni
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam, michaelpg
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org, tommycli, vitalyp+closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reorganize accessibility settings. Based on the mock in the bug, put the accessibility settings into a subpage, organize them by category, and add additional helpful links. BUG=616802 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2fa2772be4152c0291ff745f19bd3ace41bf82cd Cr-Commit-Position: refs/heads/master@{#409924}

Patch Set 1 #

Total comments: 48

Patch Set 2 : Address feedback #

Patch Set 3 : Finish i18n #

Total comments: 10

Patch Set 4 : Address feedback #

Total comments: 13

Patch Set 5 : ExtensionRegistry #

Total comments: 5

Patch Set 6 : Fix final nits #

Total comments: 11

Patch Set 7 : Address some feedback #

Total comments: 10

Patch Set 8 : Address last feedback from dbeam #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -131 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +54 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/a11y_page/a11y_page.html View 1 2 3 4 5 1 chunk +34 lines, -74 lines 0 comments Download
M chrome/browser/resources/settings/a11y_page/a11y_page.js View 1 2 3 4 5 1 chunk +16 lines, -39 lines 0 comments Download
M chrome/browser/resources/settings/a11y_page/compiled_resources2.gyp View 1 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/a11y_page/manage_a11y_page.html View 1 2 3 4 5 6 7 1 chunk +162 lines, -0 lines 0 comments Download
A + chrome/browser/resources/settings/a11y_page/manage_a11y_page.js View 1 2 3 4 5 6 7 3 chunks +29 lines, -13 lines 0 comments Download
M chrome/browser/resources/settings/advanced_page/advanced_page.html View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/icons.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/chromeos/accessibility_handler.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/chromeos/accessibility_handler.cc View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 1 chunk +35 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (9 generated)
dmazzoni
Could I get an initial review? I think the layout is done, it matches the ...
4 years, 4 months ago (2016-07-29 20:55:00 UTC) #3
michaelpg
On 2016/07/29 20:55:00, dmazzoni wrote: > Could I get an initial review? > > I ...
4 years, 4 months ago (2016-07-29 21:35:56 UTC) #4
michaelpg
On 2016/07/29 21:35:56, michaelpg wrote: > On 2016/07/29 20:55:00, dmazzoni wrote: > > Could I ...
4 years, 4 months ago (2016-07-29 21:46:45 UTC) #5
dmazzoni
Aha, perfect! Please take a look for any other potential issues, otherwise I'll fix that ...
4 years, 4 months ago (2016-07-29 21:51:13 UTC) #6
michaelpg
https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/a11y_page.html File chrome/browser/resources/settings/a11y_page/a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/a11y_page.html#newcode4 chrome/browser/resources/settings/a11y_page/a11y_page.html:4: <if expr="chromeos"> this <if> should be below the rest ...
4 years, 4 months ago (2016-07-29 22:14:21 UTC) #7
dmazzoni
Feedback addressed and i18n done https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/a11y_page.html File chrome/browser/resources/settings/a11y_page/a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/a11y_page.html#newcode4 chrome/browser/resources/settings/a11y_page/a11y_page.html:4: <if expr="chromeos"> On 2016/07/29 ...
4 years, 4 months ago (2016-08-01 18:45:24 UTC) #8
Dan Beam
can you run this somewhere other than ChromeOS to check that it works? https://codereview.chromium.org/2200463002/diff/40001/chrome/browser/resources/settings/a11y_page/a11y_page.html File ...
4 years, 4 months ago (2016-08-01 20:37:04 UTC) #9
dmazzoni
Thanks! Tested on Linux with chromeos=0 also. I had to change the code that opens ...
4 years, 4 months ago (2016-08-02 03:07:02 UTC) #10
Dan Beam
https://codereview.chromium.org/2200463002/diff/60001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html File chrome/browser/resources/settings/a11y_page/manage_a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/60001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html#newcode40 chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:40: label="$i18n{chromeVoxLabel}"> nit: 4\s for HTML continuations https://codereview.chromium.org/2200463002/diff/60001/chrome/browser/ui/webui/settings/chromeos/accessibility_handler.cc File chrome/browser/ui/webui/settings/chromeos/accessibility_handler.cc ...
4 years, 4 months ago (2016-08-02 05:18:48 UTC) #11
dmazzoni
https://codereview.chromium.org/2200463002/diff/60001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html File chrome/browser/resources/settings/a11y_page/manage_a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/60001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html#newcode40 chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:40: label="$i18n{chromeVoxLabel}"> On 2016/08/02 at 05:18:47, Dan Beam wrote: > ...
4 years, 4 months ago (2016-08-02 17:14:52 UTC) #13
michaelpg
On 2016/08/02 03:07:02, dmazzoni wrote: > Thanks! > > Tested on Linux with chromeos=0 also. ...
4 years, 4 months ago (2016-08-02 17:30:11 UTC) #14
michaelpg
lgtm https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html File chrome/browser/resources/settings/a11y_page/manage_a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/1/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html#newcode112 chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:112: <select value="{{prefs.settings.a11y.autoclick_delay_ms::change}}"> On 2016/08/01 18:45:23, dmazzoni wrote: > ...
4 years, 4 months ago (2016-08-02 17:38:29 UTC) #15
dmazzoni
https://codereview.chromium.org/2200463002/diff/40001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2200463002/diff/40001/chrome/app/chromeos_strings.grdp#newcode2539 chrome/app/chromeos_strings.grdp:2539: <message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_MOUSE_AND_TOUCHPAD_HEADING" desc="In the settings tab, the heading for ...
4 years, 4 months ago (2016-08-02 17:47:11 UTC) #16
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/2200463002/100001
4 years, 4 months ago (2016-08-02 17:47:54 UTC) #19
Dan Beam
https://codereview.chromium.org/2200463002/diff/100001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2200463002/diff/100001/chrome/app/chromeos_strings.grdp#newcode2503 chrome/app/chromeos_strings.grdp:2503: <message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SELECT_TO_SPEAK_DESCRIPTION" desc="In the settings tab, the description of ...
4 years, 4 months ago (2016-08-02 18:43:03 UTC) #20
michaelpg
On 2016/08/02 18:46:32, michaelpg wrote: > The CQ bit was unchecked by mailto:michaelpg@chromium.org cancelled CQ ...
4 years, 4 months ago (2016-08-02 18:46:57 UTC) #22
dmazzoni
Wasn't sure about the strings file, see below. https://codereview.chromium.org/2200463002/diff/100001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2200463002/diff/100001/chrome/app/chromeos_strings.grdp#newcode2503 chrome/app/chromeos_strings.grdp:2503: <message ...
4 years, 4 months ago (2016-08-03 19:21:48 UTC) #23
Dan Beam
https://codereview.chromium.org/2200463002/diff/100001/chrome/browser/resources/settings/settings_resources.grd File chrome/browser/resources/settings/settings_resources.grd (right): https://codereview.chromium.org/2200463002/diff/100001/chrome/browser/resources/settings/settings_resources.grd#newcode32 chrome/browser/resources/settings/settings_resources.grd:32: flattenhtml="true" On 2016/08/03 19:21:48, dmazzoni wrote: > On 2016/08/02 ...
4 years, 4 months ago (2016-08-03 21:19:46 UTC) #24
dmazzoni
On 2016/08/03 at 21:19:46, dbeam wrote: > a11y_page.html has <if> nodes, therefore it needs one ...
4 years, 4 months ago (2016-08-04 17:12:14 UTC) #25
Dan Beam
lgtm w/nits https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html File chrome/browser/resources/settings/a11y_page/manage_a11y_page.html (right): https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html#newcode47 chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:47: <div class="settings-box first indented"> i don't think ...
4 years, 4 months ago (2016-08-04 17:57:05 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/2200463002/140001
4 years, 4 months ago (2016-08-04 21:46:38 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-04 22:57:13 UTC) #30
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/2fa2772be4152c0291ff745f19bd3ace41bf82cd Cr-Commit-Position: refs/heads/master@{#409924}
4 years, 4 months ago (2016-08-04 23:00:52 UTC) #32
dmazzoni
4 years, 4 months ago (2016-08-05 06:48:57 UTC) #33
Message was sent while issue was closed.
https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/a11y_page/manage_a11y_page.html (right):

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:47: <div
class="settings-box first indented">
On 2016/08/04 at 17:57:05, Dan Beam wrote:
> i don't think this should be a "first" class

Switched to a new class no-top-border instead

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/a11y_page/manage_a11y_page.html:145:
label="$i18n{monoAudioLabel}">
On 2016/08/04 at 17:57:05, Dan Beam wrote:
> wrong indent

Done

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/a11y_page/manage_a11y_page.js (right):

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/a11y_page/manage_a11y_page.js:26:
showExperimentalFeatures_: {
On 2016/08/04 at 17:57:05, Dan Beam wrote:
> why did you move this above autoClickDelayOptions_?

No reason. Moved it back for a shorter diff.

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/settings_resources.grd (right):

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/settings_resources.grd:31:
allowexternalscript="true" />
On 2016/08/04 at 17:57:05, Dan Beam wrote:
> nit: I don't think you need allowexternalscript="true" either

Done

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/ui/webu...
File chrome/browser/ui/webui/settings/chromeos/accessibility_handler.cc (right):

https://codereview.chromium.org/2200463002/diff/120001/chrome/browser/ui/webu...
chrome/browser/ui/webui/settings/chromeos/accessibility_handler.cc:7: #include
"base/bind.h"
On 2016/08/04 at 17:57:05, Dan Beam wrote:
> nit: #include "base/bind_helpers.h"
> 
> for base::Unretained()

Done

Powered by Google App Engine
This is Rietveld 408576698