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

Issue 2781613003: Added a class acting as a fake caret for accessibility. (Closed)

Created:
3 years, 9 months ago by nektarios
Modified:
3 years, 6 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, jam, jbauman+watch_chromium.org, je_julie, kalyank, nektar+watch_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, James Su, tfarina, yusukes+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added a class acting as a fake caret for accessibility. Required by some screen magnifiers and Windows built-in Magnifier. R=aleventhal@chromium.org, dmazzoni@chromium.org, ellyjones@chromium.org, ananta@chromium.org, sadrul@chromium.org TESTED=Manually Review-Url: https://codereview.chromium.org/2781613003 Cr-Commit-Position: refs/heads/master@{#471624} Committed: https://chromium.googlesource.com/chromium/src/+/3eda6b165d26b7cc5e4549575780ddfe10502d62

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fixed formatting. #

Patch Set 3 : Fixed some bugs. #

Patch Set 4 : Activate the fake caret only when Windows is focused. #

Total comments: 6

Patch Set 5 : Addressed comments. #

Patch Set 6 : y #

Patch Set 7 : Switched to Leaky lazy instance. #

Patch Set 8 : Switched to Leaky lazy instance. #

Patch Set 9 : Added lib to build file. #

Total comments: 3

Patch Set 10 : Changed ownership of AXFakeCaretWin from a lazy instance to one owned by HWND. #

Patch Set 11 : Added code that handles views. #

Total comments: 3

Patch Set 12 : Addressed comments on Views implementation. #

Patch Set 13 : Removed Views implementation. #

Patch Set 14 : Removed Views implementation. #

Total comments: 1

Patch Set 15 : Addressed final comment. #

Patch Set 16 : Addressed final comment. #

Patch Set 17 : Fixed rebase conflict. #

Total comments: 2

Patch Set 18 : Removed copyright symbol. #

Patch Set 19 : Fixed formatting. #

Patch Set 20 : Added a class acting as a fake caret for accessibility. #

Patch Set 21 : Fixed compilation error due to rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -20 lines) Patch
M chrome/common/extensions/api/automation.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/legacy_render_widget_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/legacy_render_widget_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +38 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +19 lines, -3 lines 0 comments Download
M ui/accessibility/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
A ui/accessibility/platform/ax_fake_caret_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +57 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_fake_caret_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +102 lines, -0 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 96 (57 generated)
nektarios
3 years, 9 months ago (2017-03-28 01:57:18 UTC) #3
dougt
drive by review. https://codereview.chromium.org/2781613003/diff/1/content/browser/accessibility/browser_accessibility_manager_win.cc File content/browser/accessibility/browser_accessibility_manager_win.cc (right): https://codereview.chromium.org/2781613003/diff/1/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode208 content/browser/accessibility/browser_accessibility_manager_win.cc:208: // We also need to fire ...
3 years, 8 months ago (2017-03-28 15:23:44 UTC) #4
dmazzoni
We may need to not return it when the LegacyWin doesn't have focus, not sure. ...
3 years, 8 months ago (2017-03-28 15:41:21 UTC) #5
dmazzoni
Another thought: rather than another class that inherits from IAccessible, would it be possible to ...
3 years, 8 months ago (2017-03-28 15:50:24 UTC) #6
chromium-reviews
On 3/28/2017 11:23 AM, dougt@chromium.org wrote: > drive by review. > > Thanks for the ...
3 years, 8 months ago (2017-04-12 20:51:25 UTC) #7
chromium-reviews
Converted to using AXPlatformNodeDelegate. Still looking into how to ensure that this works only when ...
3 years, 8 months ago (2017-04-13 18:58:46 UTC) #8
nektarios
3 years, 8 months ago (2017-04-13 19:05:39 UTC) #10
dmazzoni
https://codereview.chromium.org/2781613003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc File content/browser/accessibility/browser_accessibility_manager_win.cc (right): https://codereview.chromium.org/2781613003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode209 content/browser/accessibility/browser_accessibility_manager_win.cc:209: ::NotifyWinEvent(EVENT_OBJECT_LOCATIONCHANGE, hwnd, OBJID_CARET, child_id); I don't think we want ...
3 years, 8 months ago (2017-04-17 05:07:35 UTC) #11
chromium-reviews
On 4/17/2017 1:07 AM, dmazzoni@chromium.org wrote: > > https://codereview.chromium.org/2781613003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc > File content/browser/accessibility/browser_accessibility_manager_win.cc > (right): > ...
3 years, 8 months ago (2017-04-19 22:06:18 UTC) #12
dmazzoni
I just patched this in and confirmed that it works correctly with Windows Magnifier! Nice ...
3 years, 8 months ago (2017-04-21 20:56:35 UTC) #31
dmazzoni
Getting really close, and I don't want to hold this up a lot, but a ...
3 years, 8 months ago (2017-04-21 21:06:30 UTC) #32
chromium-reviews
https://codereview.chromium.org/2781613003/diff/160001/content/browser/accessibility/browser_accessibility_manager_win.cc > File content/browser/accessibility/browser_accessibility_manager_win.cc > (right): > > https://codereview.chromium.org/2781613003/diff/160001/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode209 > content/browser/accessibility/browser_accessibility_manager_win.cc:209: > ::NotifyWinEvent(EVENT_OBJECT_LOCATIONCHANGE, hwnd, OBJID_CARET, ...
3 years, 8 months ago (2017-04-23 19:08:39 UTC) #33
dmazzoni
Tracking the caret in views looks on the right track, but how about just landing ...
3 years, 7 months ago (2017-04-27 05:07:32 UTC) #34
chromium-reviews
Comments addressed. I prefer not to spend time splitting this, especially since there will be ...
3 years, 7 months ago (2017-04-28 17:23:18 UTC) #35
nektarios
@ananta @sadrul Please review changes to content/browser/render_host/.... This is a fake caret that is tracking ...
3 years, 7 months ago (2017-04-28 17:50:53 UTC) #39
nektarios
3 years, 7 months ago (2017-04-28 17:51:27 UTC) #41
chromium-reviews
I changed my mind after looking at the list of owners. Followup patch at: https://codereview.chromium.org/2852763002 ...
3 years, 7 months ago (2017-04-28 17:56:13 UTC) #42
dmazzoni
lgtm +ananta for legacy_render_widget_host_win https://codereview.chromium.org/2781613003/diff/250001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2781613003/diff/250001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2361 content/browser/renderer_host/render_widget_host_view_aura.cc:2361: // #endif defined(USE_X11) && !defined(OS_CHROMEOS) ...
3 years, 7 months ago (2017-05-01 16:21:21 UTC) #44
nektarios
@ananta Please review changes to content/browser/renderer_host/...
3 years, 7 months ago (2017-05-05 01:26:53 UTC) #49
ananta
legacy_render_widget_host_view_win.cc/.h lgtm
3 years, 7 months ago (2017-05-10 18:45:20 UTC) #50
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/2781613003/270001
3 years, 7 months ago (2017-05-10 18:57:39 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/265140) android_cronet on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-10 19:05:51 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/423541)
3 years, 7 months ago (2017-05-11 00:45:27 UTC) #61
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/2781613003/310001
3 years, 7 months ago (2017-05-11 01:17:49 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/433431)
3 years, 7 months ago (2017-05-11 01:34:46 UTC) #66
nektarios
@sadrul Please review changes to content/browser/renderer_host/render_widget_host_view_aura.cc
3 years, 7 months ago (2017-05-11 16:07:48 UTC) #67
nektarios
@sadrul Please review changes to content/browser/renderer_host/render_widget_host_view_aura.cc
3 years, 7 months ago (2017-05-11 16:09:42 UTC) #69
sadrul
lgtm Is it possible to write tests for this change? https://codereview.chromium.org/2781613003/diff/310001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2781613003/diff/310001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2370 ...
3 years, 7 months ago (2017-05-11 17:46:35 UTC) #70
chromium-reviews
Is it possible to write tests for this change? I am not sure, but can ...
3 years, 7 months ago (2017-05-12 02:08:53 UTC) #71
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/2781613003/330001
3 years, 7 months ago (2017-05-12 02:40:05 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/266455) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-12 02:43:55 UTC) #76
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/2781613003/350001
3 years, 7 months ago (2017-05-12 02:57:18 UTC) #79
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/417098) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-12 03:02:28 UTC) #81
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/2781613003/370001
3 years, 7 months ago (2017-05-12 03:14:03 UTC) #84
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/442735) win_clang on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 7 months ago (2017-05-12 03:57:04 UTC) #86
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/2781613003/390001
3 years, 7 months ago (2017-05-12 18:13:53 UTC) #89
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/292876)
3 years, 7 months ago (2017-05-12 22:08:19 UTC) #91
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/2781613003/390001
3 years, 7 months ago (2017-05-14 02:14:48 UTC) #93
commit-bot: I haz the power
3 years, 7 months ago (2017-05-14 08:24:54 UTC) #96
Message was sent while issue was closed.
Committed patchset #21 (id:390001) as
https://chromium.googlesource.com/chromium/src/+/3eda6b165d26b7cc5e4549575780...

Powered by Google App Engine
This is Rietveld 408576698