forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ui_controlsui_controls::internal::SendMouseMoveImpl on HiDPI.
Windows needs the location in screen coordinates rather than DIP. Also: - Added a timeout to ui_controls::internal::SendMouseMoveImpl so that an error message is logged and the callback is run after TestTimeout::action_timeout(). This helps protect against cases where another window is on top of the test window, or the mouse is moved into la la land where Windows doesn't call the test's hook proc. - New logging in the guts of ui_controls_internal_win.cc will emit error messages when the mouse ends up in the wrong place following a call to ui_controls::internal::SendMouseMoveImpl. - SendMouseMoveUITest.Probe has been added to interactive_ui_tests to verify some simple calls to controls::SendMouseMoveNotifyWhenDone. BUG=764415 R=sky@chromium.org Change-Id: I27d6ffad59635913b28ae41e1410f4d6461d3355 Reviewed-on: https://chromium-review.googlesource.com/753905 Commit-Queue: Greg Thompson <grt@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#515015}
- Loading branch information
Showing
4 changed files
with
250 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.