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

Issue 1130733006: Adds color, font size, text direction and text styles to the accessibility tree. (Closed)

Created:
5 years, 7 months ago by nektarios
Modified:
5 years, 7 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie(Not used), jochen+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, plundblad+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial support for foreground / background color, text direction, font size, bold, italics, underline and strikethrough. Platform specific code will follow in another CL. BUG=347869 R=dmazzoni Committed: https://crrev.com/d891c769a08605f84da08c8a4d9d9602d2426c48 Cr-Commit-Position: refs/heads/master@{#329665}

Patch Set 1 #

Patch Set 2 : added bold, italic, underline and strikethrough. #

Patch Set 3 : Fixed compilation errors. #

Patch Set 4 : Fixed compilation error. #

Total comments: 3

Patch Set 5 : Fixed enum conversion from BlinkTextStyle to AX_TEXT_STYLE. #

Patch Set 6 : Fixed compiler errors. #

Patch Set 7 : Fixed another error. #

Patch Set 8 : Fixed the error properly. #

Patch Set 9 : Fixed unit test. #

Patch Set 10 : Fixed colorwells on the Mac. #

Patch Set 11 : First attempt at exposing style info to the native APIs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+454 lines, -108 lines) Patch
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +43 lines, -8 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +186 lines, -21 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_android.cc View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -7 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +7 lines, -7 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +55 lines, -14 lines 0 comments Download
M content/renderer/accessibility/blink_ax_enum_conversion.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/accessibility/blink_ax_enum_conversion.cc View 1 2 3 4 5 2 chunks +17 lines, -4 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 chunks +23 lines, -8 lines 0 comments Download
M content/shell/renderer/test_runner/web_ax_object_proxy.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/web_ax_object_proxy.cc View 1 2 3 4 3 chunks +33 lines, -4 lines 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 4 chunks +33 lines, -14 lines 0 comments Download
M ui/accessibility/ax_node_data.cc View 1 2 3 4 5 6 7 3 chunks +38 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
nektarios
5 years, 7 months ago (2015-05-06 16:55:44 UTC) #1
nektarios
5 years, 7 months ago (2015-05-07 18:36:52 UTC) #2
dmazzoni
lgtm https://codereview.chromium.org/1130733006/diff/60001/content/renderer/accessibility/blink_ax_enum_conversion.cc File content/renderer/accessibility/blink_ax_enum_conversion.cc (right): https://codereview.chromium.org/1130733006/diff/60001/content/renderer/accessibility/blink_ax_enum_conversion.cc#newcode421 content/renderer/accessibility/blink_ax_enum_conversion.cc:421: return ui::AX_TEXT_STYLE_UNDERLINE; I just realized, these shouldn't be ...
5 years, 7 months ago (2015-05-12 18:34:48 UTC) #3
chromium-reviews
In Blink it's fine. I use the "or" operator to combine a set of bit ...
5 years, 7 months ago (2015-05-12 18:37:52 UTC) #4
dmazzoni
Oh, good. lgtm. On Tue, May 12, 2015 at 11:37 AM, 'Nektarios Paisios' via Chromium-reviews ...
5 years, 7 months ago (2015-05-12 18:53:42 UTC) #5
sgurun-gerrit only
On 2015/05/12 18:34:48, dmazzoni wrote: > lgtm > > https://codereview.chromium.org/1130733006/diff/60001/content/renderer/accessibility/blink_ax_enum_conversion.cc > File content/renderer/accessibility/blink_ax_enum_conversion.cc (right): > ...
5 years, 7 months ago (2015-05-12 19:21:00 UTC) #6
sgurun-gerrit only
On 2015/05/12 19:21:00, sgurun wrote: > On 2015/05/12 18:34:48, dmazzoni wrote: > > lgtm > ...
5 years, 7 months ago (2015-05-12 20:11:35 UTC) #7
sgurun-gerrit only
2 more issues. https://codereview.chromium.org/1130733006/diff/60001/content/renderer/accessibility/blink_ax_enum_conversion.cc File content/renderer/accessibility/blink_ax_enum_conversion.cc (right): https://codereview.chromium.org/1130733006/diff/60001/content/renderer/accessibility/blink_ax_enum_conversion.cc#newcode414 content/renderer/accessibility/blink_ax_enum_conversion.cc:414: case blink::WebAXTextStyleNone: no member named 'WebAXTextDirectionUnknown' ...
5 years, 7 months ago (2015-05-12 20:11:58 UTC) #9
chromium-reviews
I know, I fixed that. Forgot to upload. Will do now. On 5/12/2015 3:21 PM, ...
5 years, 7 months ago (2015-05-12 20:34:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130733006/160001
5 years, 7 months ago (2015-05-13 04:16:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/65526)
5 years, 7 months ago (2015-05-13 04:40:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130733006/180001
5 years, 7 months ago (2015-05-13 16:23:22 UTC) #18
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 7 months ago (2015-05-13 17:28:20 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 17:29:15 UTC) #20
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d891c769a08605f84da08c8a4d9d9602d2426c48
Cr-Commit-Position: refs/heads/master@{#329665}

Powered by Google App Engine
This is Rietveld 408576698