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

Issue 2745713002: WIP: Modified AXPosition to work with objects with both embedded object characters and text. (Closed)

Created:
3 years, 9 months ago by nektarios
Modified:
3 years, 6 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, 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
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WIP: Modified AXPosition to work with objects with both embedded object characters and text. On Windows, I had assumed that we would use tree positions for non text nobjects and text positions for text objects. This can work only if IA2 hypertext contains either a series of embedded object characters or text, but not both. However, the fact that we append the text of each static text object to its immediate parent for performance reasons, means that we could potentially have IA2 hypertext that contains both embedded object characters and text. BUG=700214 R=dmazzoni@chromium.org TESTED=not yet Review-Url: https://codereview.chromium.org/2745713002 Cr-Commit-Position: refs/heads/master@{#457665} Committed: https://chromium.googlesource.com/chromium/src/+/4089977fdebad10fac160d2a43d65b97f00d92ab

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added more tests. #

Patch Set 3 : Moved tests and Win changes to another patch. #

Patch Set 4 : Moved all selection logic to AXRange. #

Patch Set 5 : Simplified and cleaned up selection code in Blink > Accessibility. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -407 lines) Patch
M content/browser/accessibility/accessibility_win_browsertest.cc View 1 2 3 4 3 chunks +46 lines, -1 line 0 comments Download
M content/browser/accessibility/ax_platform_position.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 4 2 chunks +0 lines, -308 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 4 2 chunks +29 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h View 1 2 3 4 4 chunks +6 lines, -75 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp View 1 2 3 4 3 chunks +79 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/accessibility/AXRange.h View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/accessibility/AXRange.cpp View 1 2 3 1 chunk +99 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/exported/WebAXObject.cpp View 1 2 3 4 9 chunks +50 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
nektarios
3 years, 9 months ago (2017-03-10 03:10:28 UTC) #1
dmazzoni
lgtm https://codereview.chromium.org/2745713002/diff/1/content/browser/accessibility/ax_platform_position.cc File content/browser/accessibility/ax_platform_position.cc (right): https://codereview.chromium.org/2745713002/diff/1/content/browser/accessibility/ax_platform_position.cc#newcode102 content/browser/accessibility/ax_platform_position.cc:102: #if defined(OS_WIN) || \ Nit: put the #if ...
3 years, 9 months ago (2017-03-10 19:32:25 UTC) #2
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/2745713002/40001
3 years, 9 months ago (2017-03-17 01:59:16 UTC) #5
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 02:50:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4089977fdebad10fac160d2a43d6...

Powered by Google App Engine
This is Rietveld 408576698