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

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)

Created:
3 years, 7 months ago by nektarios
Modified:
3 years, 5 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, je_julie, nektar+watch_chromium.org, nona+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 system caret used for accessibility on Windows. Screen magnifiers need to know where the caret is located so that they can show a magnified caret allowing the user to more easily track it. Existing screen magnifiers, such as the built-in Windows Magnifier, require a system caret to be present in order to track it. However, Chrome doesn't use the system caret. This is an object that implements the same accessibility interface that would have been returned by the system if the system caret had been used. R=dmazzoni@chromium.org, shuchen@chromium.org, ellyjones@chromium.org, ananta@chromium.org, sky@chromium.org, sadrul@chromium.org Review-Url: https://codereview.chromium.org/2852763002 Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#483558} Committed: https://chromium.googlesource.com/chromium/src/+/3fc0df1e01ab7e17318ce50724890f939bc00fa4 Review-Url: https://codereview.chromium.org/2852763002 Cr-Original-Original-Commit-Position: refs/heads/master@{#483825} Committed: https://chromium.googlesource.com/chromium/src/+/99936ad737f80a465b479d6bc0abacd22767deaf Review-Url: https://codereview.chromium.org/2852763002 Cr-Original-Commit-Position: refs/heads/master@{#484167} Committed: https://chromium.googlesource.com/chromium/src/+/300ba535f4b2e5c8fa8953eacbace7f2e19c9082 Review-Url: https://codereview.chromium.org/2852763002 Cr-Commit-Position: refs/heads/master@{#484603} Committed: https://chromium.googlesource.com/chromium/src/+/ce13d454d8dc34121c9f93b776d010a9180a8399

Patch Set 1 #

Patch Set 2 : Added views implementation. #

Patch Set 3 : Fixed formatting. #

Total comments: 2

Patch Set 4 : Removed content. #

Patch Set 5 : Removed content. #

Total comments: 2

Patch Set 6 : Addressed comments. #

Total comments: 1

Patch Set 7 : Fixed how I find if Window is focused. #

Total comments: 6

Patch Set 8 : Added a fake caret for accessibility. #

Patch Set 9 : Added a fake caret for accessibility. #

Total comments: 3

Patch Set 10 : Added a fake caret for accessibility. #

Patch Set 11 : Added a fake caret for accessibility. #

Total comments: 7

Patch Set 12 : Added a fake caret for accessibility. #

Patch Set 13 : Added a system caret for accessibility on Windows. #

Patch Set 14 : Added a system caret for accessibility on Windows. #

Patch Set 15 : Added a system caret for accessibility on Windows. #

Patch Set 16 : Added a system caret for accessibility on Windows. #

Total comments: 2

Patch Set 17 : Added a system caret for accessibility on Windows. #

Patch Set 18 : Added a system caret for accessibility on Windows. #

Patch Set 19 : Added a system caret for accessibility on Windows. #

Patch Set 20 : Added a system caret for accessibility on Windows. #

Patch Set 21 : Added a system caret for accessibility on Windows. #

Total comments: 1

Patch Set 22 : Added a system caret for accessibility on Windows. #

Patch Set 23 : Added a system caret for accessibility on Windows. #

Patch Set 24 : Added a system caret for accessibility on Windows. #

Patch Set 25 : Added a system caret for accessibility on Windows. #

Patch Set 26 : Added a system caret for accessibility on Windows. #

Patch Set 27 : Added a system caret for accessibility on Windows. #

Patch Set 28 : Added a system caret for accessibility on Windows. #

Patch Set 29 : Added a system caret for accessibility on Windows. #

Patch Set 30 : Added a test for maximizing the window. #

Patch Set 31 : Disabled flaky test. #

Patch Set 32 : Disabled all tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -219 lines) Patch
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +4 lines, -0 lines 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 3 chunks +3 lines, -3 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 4 chunks +10 lines, -10 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 16 17 18 19 20 21 5 chunks +5 lines, -2 lines 0 comments Download
D 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 18 19 20 21 22 23 24 25 1 chunk +0 lines, -60 lines 0 comments Download
D 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 21 22 23 24 25 1 chunk +0 lines, -111 lines 0 comments Download
A + ui/accessibility/platform/ax_system_caret_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +7 lines, -7 lines 0 comments Download
A + ui/accessibility/platform/ax_system_caret_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +23 lines, -19 lines 0 comments Download
M ui/base/ime/input_method_observer.h View 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/ime/input_method_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/accessibility/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +6 lines, -0 lines 0 comments Download
A ui/views/accessibility/ax_system_caret_win_interactive_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +186 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +24 lines, -3 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 8 chunks +62 lines, -2 lines 0 comments Download
M ui/views/win/hwnd_message_handler_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 159 (81 generated)
nektarios
@shuchen Please review the small change I made to ui/base/ime/.... @sky and @sadrul Please review ...
3 years, 7 months ago (2017-04-28 19:31:38 UTC) #3
dmazzoni
I'm confused about the relationship between this change and https://codereview.chromium.org/2781613003/ because this change seems to ...
3 years, 7 months ago (2017-04-28 21:28:07 UTC) #4
chromium-reviews
The only same code I can see is the AXFakeCaret class. I kept this in ...
3 years, 7 months ago (2017-05-01 15:52:44 UTC) #5
dmazzoni
Can you revert all of the changes to content/ from this patch? This patch should ...
3 years, 7 months ago (2017-05-01 16:00:35 UTC) #6
dmazzoni
Actually looks like the views code got deleted somehow
3 years, 7 months ago (2017-05-01 16:01:06 UTC) #7
chromium-reviews
I am really confused now. It took a long time to revert all the content ...
3 years, 7 months ago (2017-05-01 18:14:04 UTC) #8
dmazzoni
If you don't want to deal with this, just land your first patch and then ...
3 years, 7 months ago (2017-05-01 18:17:10 UTC) #9
chromium-reviews
On 5/1/2017 2:16 PM, Dominic Mazzoni wrote: > If you don't want to deal with ...
3 years, 7 months ago (2017-05-01 18:26:22 UTC) #10
dmazzoni
To find a git commit that you made locally but then accidentally lost due to ...
3 years, 7 months ago (2017-05-01 18:51:30 UTC) #11
nektarios
FYI, the diff on my local computer looked fine but the diff on the codereview ...
3 years, 7 months ago (2017-05-01 18:52:58 UTC) #12
dmazzoni
Setting the upstream assumes the branches share the same ancestry. It sounds like the branches ...
3 years, 7 months ago (2017-05-01 19:50:34 UTC) #13
dmazzoni
Looks ready to review now, thanks
3 years, 7 months ago (2017-05-01 19:50:38 UTC) #14
dmazzoni
Looks good now On Mon, May 1, 2017 at 12:50 PM Dominic Mazzoni <dmazzoni@chromium.org> wrote: ...
3 years, 7 months ago (2017-05-01 19:50:41 UTC) #15
dmazzoni
https://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc#newcode973 ui/views/win/hwnd_message_handler.cc:973: delegate_->RemoveInputMethodObserver(*this); I don't think this is right. This will ...
3 years, 7 months ago (2017-05-01 19:54:20 UTC) #16
chromium-reviews
ttps://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc#newcode1562 <https://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc#newcode1562> > ui/views/win/hwnd_message_handler.cc:1562: > base::win::ScopedComPtr<IAccessible> fake_caret_accessible = > I think you should only do ...
3 years, 7 months ago (2017-05-01 20:07:43 UTC) #17
dmazzoni
Yes, the caret disappears from a window when that window loses focus. Just like only ...
3 years, 7 months ago (2017-05-01 20:12:35 UTC) #18
chromium-reviews
https://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc > File ui/views/win/hwnd_message_handler.cc (right): > > https://codereview.chromium.org/2852763002/diff/80001/ui/views/win/hwnd_message_handler.cc#newcode973 > ui/views/win/hwnd_message_handler.cc:973: > delegate_->RemoveInputMethodObserver(*this); > I don't ...
3 years, 7 months ago (2017-05-01 23:39:45 UTC) #19
dmazzoni
lgtm with just one last issue https://codereview.chromium.org/2852763002/diff/100001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2852763002/diff/100001/ui/views/win/hwnd_message_handler.cc#newcode1560 ui/views/win/hwnd_message_handler.cc:1560: } else if ...
3 years, 7 months ago (2017-05-02 06:55:23 UTC) #20
chromium-reviews
https://codereview.chromium.org/2852763002/diff/100001/ui/views/win/hwnd_message_handler.cc > File ui/views/win/hwnd_message_handler.cc (right): > > https://codereview.chromium.org/2852763002/diff/100001/ui/views/win/hwnd_message_handler.cc#newcode1560 > ui/views/win/hwnd_message_handler.cc:1560: } else if (IsActive() && ...
3 years, 7 months ago (2017-05-02 20:42:34 UTC) #21
sky
Please update the description to indicate what a 'fake caret' is. Also, please add test ...
3 years, 7 months ago (2017-05-03 03:34:50 UTC) #22
dmazzoni
Test code looks pretty good, just a couple of thoughts https://codereview.chromium.org/2852763002/diff/160001/ui/accessibility/platform/ax_fake_caret_win_interactive_uitest.cc File ui/accessibility/platform/ax_fake_caret_win_interactive_uitest.cc (right): https://codereview.chromium.org/2852763002/diff/160001/ui/accessibility/platform/ax_fake_caret_win_interactive_uitest.cc#newcode35 ...
3 years, 6 months ago (2017-06-15 06:00:28 UTC) #23
nektarios
On 2017/06/15 at 06:00:28, dmazzoni wrote: > Test code looks pretty good, just a couple ...
3 years, 6 months ago (2017-06-16 16:22:39 UTC) #25
chromium-reviews
Please update the description to indicate what a 'fake caret' is. Also, please > add ...
3 years, 6 months ago (2017-06-16 16:30:09 UTC) #26
dmazzoni
lgtm I see now. The stuff in SetUp is normally done for all browser tests ...
3 years, 6 months ago (2017-06-16 16:30:42 UTC) #27
chromium-reviews
@sky I apologize for the extremely long delay in updating this patch. Please have another ...
3 years, 6 months ago (2017-06-16 16:31:16 UTC) #28
Shu Chen
lgtm for ui/base/ime/...
3 years, 6 months ago (2017-06-17 09:02:58 UTC) #29
sky
Thanks for updating the description to indicate what a 'fake care' is. The name FakeCaret ...
3 years, 6 months ago (2017-06-19 15:00:15 UTC) #30
chromium-reviews
On 6/19/2017 11:00 AM, sky@chromium.org wrote: > Thanks for updating the description to indicate what ...
3 years, 6 months ago (2017-06-19 16:04:55 UTC) #31
dmazzoni
On 2017/06/19 16:04:55, chromium-reviews wrote: > On 6/19/2017 11:00 AM, mailto:sky@chromium.org wrote: > > Thanks ...
3 years, 6 months ago (2017-06-19 19:37:24 UTC) #32
chromium-reviews
Sure. I can use AXSystemCaretWin. I'll wait to see if Scott agrees with the name ...
3 years, 6 months ago (2017-06-19 19:45:45 UTC) #33
sky
That names SGTM. On Mon, Jun 19, 2017 at 12:45 PM, Nektarios Paisios <nektar@google.com> wrote: ...
3 years, 6 months ago (2017-06-19 21:10:08 UTC) #34
nektarios
I used AXSystemCaretWin all throughout and modified the description to include the new name.
3 years, 6 months ago (2017-06-20 15:01:12 UTC) #36
nektarios
@ananta Please approve a small change to legacy_render_widget_host_win, renaming AXFakeCaretWin to AXSystemCaretWin.
3 years, 6 months ago (2017-06-20 15:03:51 UTC) #39
sky
Thanks for the improved names. Only one question. https://codereview.chromium.org/2852763002/diff/300001/ui/accessibility/platform/ax_system_caret_win.h File ui/accessibility/platform/ax_system_caret_win.h (right): https://codereview.chromium.org/2852763002/diff/300001/ui/accessibility/platform/ax_system_caret_win.h#newcode29 ui/accessibility/platform/ax_system_caret_win.h:29: AXSystemCaretWin(gfx::AcceleratedWidget ...
3 years, 6 months ago (2017-06-20 18:28:40 UTC) #40
chromium-reviews
https://codereview.chromium.org/2852763002/diff/300001/ui/accessibility/platform/ax_system_caret_win.h > File ui/accessibility/platform/ax_system_caret_win.h (right): > > https://codereview.chromium.org/2852763002/diff/300001/ui/accessibility/platform/ax_system_caret_win.h#newcode29 > ui/accessibility/platform/ax_system_caret_win.h:29: > AXSystemCaretWin(gfx::AcceleratedWidget event_target); > explicit ...
3 years, 6 months ago (2017-06-20 23:15:21 UTC) #41
sky
LGTM
3 years, 6 months ago (2017-06-21 00:42:12 UTC) #46
ananta
lgtm
3 years, 5 months ago (2017-06-26 17:52:06 UTC) #47
nektarios
@dominic and @sky I am sorry but the tests I wrote started failing. It seems ...
3 years, 5 months ago (2017-06-27 01:12:42 UTC) #48
sky
On 2017/06/27 01:12:42, nektarios wrote: > @dominic and @sky > I am sorry but the ...
3 years, 5 months ago (2017-06-27 03:35:13 UTC) #63
chromium-reviews
Do the accessibility unit tests run serially on bots that are logged on? I > ...
3 years, 5 months ago (2017-06-27 15:14:59 UTC) #66
dmazzoni
A new test target seems overkill. The interactive_ui_tests are different in that the bots run ...
3 years, 5 months ago (2017-06-27 15:27:25 UTC) #67
dmazzoni
https://codereview.chromium.org/2852763002/diff/400001/ui/accessibility/BUILD.gn File ui/accessibility/BUILD.gn (right): https://codereview.chromium.org/2852763002/diff/400001/ui/accessibility/BUILD.gn#newcode160 ui/accessibility/BUILD.gn:160: test("accessibility_interactive_ui_tests") { This would require extra work because it ...
3 years, 5 months ago (2017-06-27 15:28:42 UTC) #68
chromium-reviews
I added the tests to the build rule under chrome/test/build.gn:interactive_ui_tests and moved the test file ...
3 years, 5 months ago (2017-06-27 16:58:30 UTC) #69
dmazzoni
Can you pinpoint where GL is needed, like a stack tracek when the GL is ...
3 years, 5 months ago (2017-06-27 17:06:55 UTC) #72
chromium-reviews
On 6/27/2017 1:06 PM, Dominic Mazzoni wrote: > Can you pinpoint where GL is needed, ...
3 years, 5 months ago (2017-06-27 17:24:07 UTC) #73
sky
It's not just a new test target, it's a new test target would need to ...
3 years, 5 months ago (2017-06-27 21:29: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/2852763002/460001
3 years, 5 months ago (2017-06-28 01:33:30 UTC) #87
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/259470)
3 years, 5 months ago (2017-06-28 02:29:22 UTC) #89
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/2852763002/480001
3 years, 5 months ago (2017-06-28 03:14:00 UTC) #92
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/487776)
3 years, 5 months ago (2017-06-28 03:38:44 UTC) #94
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/2852763002/480001
3 years, 5 months ago (2017-06-28 15:14:11 UTC) #96
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/459532)
3 years, 5 months ago (2017-06-28 15:59:14 UTC) #98
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/2852763002/500001
3 years, 5 months ago (2017-06-28 19:50:42 UTC) #101
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/2852763002/520001
3 years, 5 months ago (2017-06-28 20:00:30 UTC) #105
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/459881)
3 years, 5 months ago (2017-06-28 21:30:30 UTC) #107
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/2852763002/520001
3 years, 5 months ago (2017-06-28 22:05:27 UTC) #109
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/460033)
3 years, 5 months ago (2017-06-29 01:06:23 UTC) #111
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/2852763002/520001
3 years, 5 months ago (2017-06-29 18:21:59 UTC) #113
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/460843)
3 years, 5 months ago (2017-06-29 21:09:28 UTC) #115
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/2852763002/540001
3 years, 5 months ago (2017-06-29 22:59:43 UTC) #118
commit-bot: I haz the power
Committed patchset #28 (id:540001) as https://chromium.googlesource.com/chromium/src/+/3fc0df1e01ab7e17318ce50724890f939bc00fa4
3 years, 5 months ago (2017-06-30 00:17:45 UTC) #121
Timothy Loh
A revert of this CL (patchset #28 id:540001) has been created in https://codereview.chromium.org/2962273002/ by timloh@chromium.org. ...
3 years, 5 months ago (2017-06-30 03:08:24 UTC) #122
nektarios
Reland: Interactive test that moved the window using mouse and then tested that AXSystemCaretWin got ...
3 years, 5 months ago (2017-06-30 16:44:23 UTC) #125
dmazzoni
Can you clarify what code in HWNDMessageHandler was covered by the test before that's not ...
3 years, 5 months ago (2017-06-30 16:56:46 UTC) #126
chromium-reviews
On 6/30/2017 12:56 PM, dmazzoni@chromium.org wrote: > Can you clarify what code in HWNDMessageHandler was ...
3 years, 5 months ago (2017-06-30 19:31:17 UTC) #129
dmazzoni
I guess I'm wondering if that's really the right place to be watching for those ...
3 years, 5 months ago (2017-06-30 19:57:29 UTC) #132
chromium-reviews
I'd say that in terms of priorities, those are less important because for sure the ...
3 years, 5 months ago (2017-06-30 20:05:03 UTC) #133
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/2852763002/580001
3 years, 5 months ago (2017-06-30 21:01:58 UTC) #138
commit-bot: I haz the power
Committed patchset #30 (id:580001) as https://chromium.googlesource.com/chromium/src/+/99936ad737f80a465b479d6bc0abacd22767deaf
3 years, 5 months ago (2017-06-30 21:23:10 UTC) #142
foolip
A revert of this CL (patchset #30 id:580001) has been created in https://codereview.chromium.org/2965933002/ by foolip@chromium.org. ...
3 years, 5 months ago (2017-07-03 08:33:15 UTC) #143
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/2852763002/600001
3 years, 5 months ago (2017-07-04 22:43:08 UTC) #146
nektarios
I am disabling the test and re-landing. The functionality implemented by this patch is somewhat ...
3 years, 5 months ago (2017-07-04 22:46:14 UTC) #147
nektarios
I am disabling the test and re-landing. The functionality implemented by this patch is somewhat ...
3 years, 5 months ago (2017-07-04 22:46:19 UTC) #148
commit-bot: I haz the power
Committed patchset #31 (id:600001) as https://chromium.googlesource.com/chromium/src/+/300ba535f4b2e5c8fa8953eacbace7f2e19c9082
3 years, 5 months ago (2017-07-04 23:58:05 UTC) #151
Elly Fong-Jones
A revert of this CL (patchset #31 id:600001) has been created in https://codereview.chromium.org/2967373003/ by ellyjones@chromium.org. ...
3 years, 5 months ago (2017-07-06 12:39:49 UTC) #152
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/2852763002/620001
3 years, 5 months ago (2017-07-06 14:19:37 UTC) #155
commit-bot: I haz the power
Committed patchset #32 (id:620001) as https://chromium.googlesource.com/chromium/src/+/ce13d454d8dc34121c9f93b776d010a9180a8399
3 years, 5 months ago (2017-07-06 15:29:36 UTC) #158
sky
3 years, 5 months ago (2017-07-11 19:19:18 UTC) #159
Message was sent while issue was closed.
On 2017/06/30 16:44:23, nektarios wrote:
> Reland:
> Interactive test that moved the window using mouse and then tested that
> AXSystemCaretWin got invalidated was intermiddently failing on bots.
> I don't know how to reliably simulate moving a window using the mouse.
> Internally, moving the window happens by sending a WM_MOVE message via
> SendMessage system API call.
> This API is blocking, so there is no runloop to wait on.
> Perhaps base::GetCurrentLoop().WaitUntilIdle() or something similar would have
> done the trict but to be on the safe side I decided to simply resize the
window
> using
> Widget::SetBounds(...)
> I know that this doesn't test all the code added to HWNDMessageHandler.cc but
it
> might suffice?

See
https://chromium.googlesource.com/chromium/src/+/master/chrome/test/base/inte...
for functions that can be used to move the move the mouse and wait for it to
take.

Powered by Google App Engine
This is Rietveld 408576698