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

Issue 660633002: Fixed IAccessibleText::TextAtOffset with IA2_TEXT_BOUNDARY_WORD to return text that spans from the … (Closed)

Created:
6 years, 2 months ago by nektarios
Modified:
5 years, 10 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, 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 IAccessibleText::TextAtOffset with IA2_TEXT_BOUNDARY_WORD to return text that spans from the start of one word to the start of the next. BUG=347852 R=dmazzoni@chromium.org Committed: https://crrev.com/6baff46f520e31ff92669890207be5708064d16e Cr-Commit-Position: refs/heads/master@{#317996}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved implementation of GetWordStartBoundary to base class and fixed one-by-off offset error when m… #

Patch Set 3 : Added browser test. #

Total comments: 7

Patch Set 4 : Added semi-automated NVDA test for word navigation and removed dependency on pywinauto. #

Total comments: 11

Patch Set 5 : Implemented testing for special offsets (cursor position and text length). Fixed memory leak when r… #

Total comments: 8

Patch Set 6 : Broke up different boundary tests in their own test cases. #

Total comments: 8

Patch Set 7 : Split single from multi line tests. #

Patch Set 8 : Moved manual test changes to another branch. #

Total comments: 5

Patch Set 9 : Removed flaky linebreak detection. #

Patch Set 10 : Single-line text fields all tests pass. #

Total comments: 3

Patch Set 11 : Fixed setting the caret and added a corresponding test (preliminary). #

Patch Set 12 : Added logging to AccessibilityWaiter. #

Patch Set 13 : Fixed SetCaret tests. #

Patch Set 14 : Limited effect of change to edit fields. #

Patch Set 15 : Fixed forward declaring enum. #

Patch Set 16 : Fixed word navigation on Windows and added browser tests. #

Total comments: 1

Patch Set 17 : Disabled mltiline unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+937 lines, -116 lines) Patch
M content/browser/accessibility/accessibility_win_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 20 chunks +818 lines, -105 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +72 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 11 12 13 3 chunks +22 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +16 lines, -7 lines 0 comments Download
M content/browser/accessibility/cross_platform_accessibility_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (5 generated)
nektarios
6 years, 2 months ago (2014-10-15 21:43:36 UTC) #1
dmazzoni
Cool, looks like this is on the right track https://codereview.chromium.org/660633002/diff/1/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): https://codereview.chromium.org/660633002/diff/1/content/browser/accessibility/browser_accessibility_win.cc#newcode3312 content/browser/accessibility/browser_accessibility_win.cc:3312: ...
6 years, 2 months ago (2014-10-15 22:03:10 UTC) #2
dmazzoni
Looking really good! The test seems like a great example of what we want to ...
6 years, 1 month ago (2014-10-29 21:49:44 UTC) #3
chromium-reviews
https://codereview.chromium.org/660633002/diff/40001/content/browser/accessibility/browser_accessibility.cc#newcode358 > content/browser/accessibility/browser_accessibility.cc:358: return > word_start; > Perhaps the return value should vary based on ...
6 years, 1 month ago (2014-10-30 18:56:56 UTC) #4
dmazzoni
On Thu, Oct 30, 2014 at 11:56 AM, Nektarios Paisios <nektar@google.com> wrote: > https://codereview.chromium.org/660633002/diff/40001/ > ...
6 years, 1 month ago (2014-10-30 19:58:29 UTC) #5
dmazzoni
https://codereview.chromium.org/660633002/diff/60001/tools/accessibility/nvda/nvda_chrome_tests.py File tools/accessibility/nvda/nvda_chrome_tests.py (right): https://codereview.chromium.org/660633002/diff/60001/tools/accessibility/nvda/nvda_chrome_tests.py#newcode34 tools/accessibility/nvda/nvda_chrome_tests.py:34: import winapi I can't find the winapi module. Did ...
6 years, 1 month ago (2014-11-01 06:45:13 UTC) #6
chromium-reviews
On 11/1/2014 2:45 AM, dmazzoni@chromium.org wrote: > > https://codereview.chromium.org/660633002/diff/60001/tools/accessibility/nvda/nvda_chrome_tests.py > > File tools/accessibility/nvda/nvda_chrome_tests.py (right): > ...
6 years, 1 month ago (2014-11-03 15:16:28 UTC) #7
dmazzoni
On 2014/11/03 15:16:28, chromium-reviews wrote: > > tools/accessibility/nvda/nvda_chrome_tests.py:34: import winapi > > I can't find ...
6 years, 1 month ago (2014-11-03 16:08:39 UTC) #8
chromium-reviews
On 11/3/2014 11:08 AM, dmazzoni@chromium.org wrote: > On 2014/11/03 15:16:28, chromium-reviews wrote: >> > tools/accessibility/nvda/nvda_chrome_tests.py:34: ...
6 years, 1 month ago (2014-11-03 16:24:13 UTC) #9
dmazzoni
https://codereview.chromium.org/660633002/diff/60001/content/browser/accessibility/accessibility_win_browsertest.cc File content/browser/accessibility/accessibility_win_browsertest.cc (right): https://codereview.chromium.org/660633002/diff/60001/content/browser/accessibility/accessibility_win_browsertest.cc#newcode49 content/browser/accessibility/accessibility_win_browsertest.cc:49: static HRESULT QueryIAccessible2(IAccessible* accessible, IAccessible2** accessible2); nit: wrap to ...
6 years, 1 month ago (2014-11-03 16:26:50 UTC) #10
chromium-reviews
Removed memory leak when retrieving accessible children. Implemented special offsets (cursor and text length). Nothing ...
6 years, 1 month ago (2014-11-06 01:16:41 UTC) #11
dmazzoni
A few formatting nits. I'll take a final pass when the test passes. https://codereview.chromium.org/660633002/diff/80001/content/browser/accessibility/accessibility_win_browsertest.cc File ...
6 years, 1 month ago (2014-11-06 06:53:31 UTC) #12
chromium-reviews
> https://codereview.chromium.org/660633002/diff/60001/content/browser/accessibility/browser_accessibility.cc#newcode378 > > content/browser/accessibility/browser_accessibility.cc:378: > ui::AX_ATTR_WORD_STARTS); > Interesting, did WORD_ENDS end up being useless? ...
6 years, 1 month ago (2014-11-07 17:06:16 UTC) #13
chromium-reviews
Updated by breaking up the large test into multiple ones. To unsubscribe from this group ...
6 years, 1 month ago (2014-11-17 18:18:43 UTC) #14
dmazzoni
This is pretty close, please address the formatting issues and other nits below, and let's ...
6 years, 1 month ago (2014-11-17 19:06:47 UTC) #15
dmazzoni
Are you still working on this change?
5 years, 10 months ago (2015-02-02 17:50:37 UTC) #16
dmazzoni
This looks pretty close once you remove the last of the line break stuff for ...
5 years, 10 months ago (2015-02-20 18:16:21 UTC) #17
chromium-reviews
Keep trying to fix failing tests but comments addressed. https://codereview.chromium.org/660633002/diff/140001/content/browser/accessibility/browser_accessibility.cc > File content/browser/accessibility/browser_accessibility.cc (right): > ...
5 years, 10 months ago (2015-02-20 20:34:44 UTC) #18
dmazzoni
Should be fine with async issue fixed https://codereview.chromium.org/660633002/diff/180001/content/browser/accessibility/accessibility_win_browsertest.cc File content/browser/accessibility/accessibility_win_browsertest.cc (right): https://codereview.chromium.org/660633002/diff/180001/content/browser/accessibility/accessibility_win_browsertest.cc#newcode109 content/browser/accessibility/accessibility_win_browsertest.cc:109: AccessibilityTreeFormatter* atf ...
5 years, 10 months ago (2015-02-20 22:43:06 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660633002/300001
5 years, 10 months ago (2015-02-25 00:24:06 UTC) #21
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 10 months ago (2015-02-25 00:24:10 UTC) #23
chromium-reviews
I think I fixed all the issues. Could you please LGTM? To unsubscribe from this ...
5 years, 10 months ago (2015-02-25 00:27:40 UTC) #24
dmazzoni
lgtm https://codereview.chromium.org/660633002/diff/300001/content/browser/accessibility/accessibility_win_browsertest.cc File content/browser/accessibility/accessibility_win_browsertest.cc (right): https://codereview.chromium.org/660633002/diff/300001/content/browser/accessibility/accessibility_win_browsertest.cc#newcode983 content/browser/accessibility/accessibility_win_browsertest.cc:983: LONG caret_offset = 0; nit: indentation is wrong ...
5 years, 10 months ago (2015-02-25 00:34:49 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660633002/300001
5 years, 10 months ago (2015-02-25 00:39:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660633002/320001
5 years, 10 months ago (2015-02-25 04:48:17 UTC) #30
commit-bot: I haz the power
Committed patchset #17 (id:320001)
5 years, 10 months ago (2015-02-25 06:22:43 UTC) #31
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 06:23:28 UTC) #32
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/6baff46f520e31ff92669890207be5708064d16e
Cr-Commit-Position: refs/heads/master@{#317996}

Powered by Google App Engine
This is Rietveld 408576698