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

Issue 1598583002: Fixed algorithms that compute bounding rectangles and word start offsets to take into account IA2 h… (Closed)

Created:
4 years, 11 months ago by nektarios
Modified:
4 years, 11 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed algorithms that compute bounding rectangles and word start offsets to take into account IA2 hypertext and i18n. 1. std::string was being used instead of base::string16. 2. Start offset and len did not take into account embedded objects in IA2 hypertext and existing functions worked on the assumption that object hierarchy had been flattened. BUG=578341 R=dmazzoni@chromium.org TESTED=NVDA console, browser tests Committed: https://crrev.com/31a53111bcf69efa7ff1481a0efd19b89a3b7cad Cr-Commit-Position: refs/heads/master@{#370788}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Adds a quick fix for simple text controls. #

Patch Set 3 : Addressed comments by reviewer. #

Total comments: 1

Patch Set 4 : Fixed all unit tests. #

Patch Set 5 : Made passing start and len arguments that are outside the text illegal. #

Patch Set 6 : Fixed another unit test. #

Patch Set 7 : Added test with embedded image. #

Patch Set 8 : Fixed Android manager. #

Patch Set 9 : Rebased with master to fix an Android compilation error. #

Patch Set 10 : Added a TODO to investigate test failure on Linux. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -148 lines) Patch
M content/browser/accessibility/accessibility_win_browsertest.cc View 1 2 3 12 chunks +189 lines, -28 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 11 chunks +65 lines, -44 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_android.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 8 chunks +21 lines, -20 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 37 chunks +50 lines, -46 lines 0 comments Download

Messages

Total messages: 39 (21 generated)
nektarios
4 years, 11 months ago (2016-01-16 02:02:22 UTC) #1
dmazzoni
lgtm https://codereview.chromium.org/1598583002/diff/1/content/browser/accessibility/accessibility_win_browsertest.cc File content/browser/accessibility/accessibility_win_browsertest.cc (right): https://codereview.chromium.org/1598583002/diff/1/content/browser/accessibility/accessibility_win_browsertest.cc#newcode1043 content/browser/accessibility/accessibility_win_browsertest.cc:1043: for (int test_case = 0; test_case < 1; ...
4 years, 11 months ago (2016-01-20 01:10:43 UTC) #2
chromium-reviews
Also added special handling for standard text fields. > https://codereview.chromium.org/1598583002/diff/1/content/browser/accessibility/accessibility_win_browsertest.cc > > File content/browser/accessibility/accessibility_win_browsertest.cc > ...
4 years, 11 months ago (2016-01-20 18:02:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/40001
4 years, 11 months ago (2016-01-20 18:44:26 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/10466) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, ...
4 years, 11 months ago (2016-01-20 18:46:46 UTC) #8
dmazzoni
https://codereview.chromium.org/1598583002/diff/40001/content/browser/accessibility/accessibility_win_browsertest.cc File content/browser/accessibility/accessibility_win_browsertest.cc (right): https://codereview.chromium.org/1598583002/diff/40001/content/browser/accessibility/accessibility_win_browsertest.cc#newcode1040 content/browser/accessibility/accessibility_win_browsertest.cc:1040: for (int i = IA2_COORDTYPE_SCREEN_RELATIVE; i < IA2_COORDTYPE_PARENT_RELATIVE; This ...
4 years, 11 months ago (2016-01-20 19:44:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/60001
4 years, 11 months ago (2016-01-20 23:57:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/80001
4 years, 11 months ago (2016-01-21 00:29:21 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/113912)
4 years, 11 months ago (2016-01-21 00:56:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/100001
4 years, 11 months ago (2016-01-21 01:15:32 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/104866)
4 years, 11 months ago (2016-01-21 02:08:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/120001
4 years, 11 months ago (2016-01-21 18:02:55 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/11124)
4 years, 11 months ago (2016-01-21 18:15:09 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/140001
4 years, 11 months ago (2016-01-21 18:59:46 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/11223)
4 years, 11 months ago (2016-01-21 19:22:14 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598583002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598583002/180001
4 years, 11 months ago (2016-01-21 20:21:10 UTC) #36
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 11 months ago (2016-01-21 21:24:32 UTC) #37
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 21:25:37 UTC) #39
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/31a53111bcf69efa7ff1481a0efd19b89a3b7cad
Cr-Commit-Position: refs/heads/master@{#370788}

Powered by Google App Engine
This is Rietveld 408576698