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

Issue 971753008: Do not show the mouse cursor when the display is rotated in TouchView (Closed)

Created:
5 years, 9 months ago by pkotwicz
Modified:
5 years, 9 months ago
Reviewers:
oshima, sadrul
CC:
chromium-reviews, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@rotate_display
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not show the mouse cursor when the display is rotated in TouchView BUG=462883 TEST=Manual, see bug Committed: https://crrev.com/3aa7a6eab4d102ae3bb54c943dca7fb546dfdd98 Cr-Commit-Position: refs/heads/master@{#322010}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -14 lines) Patch
M ash/display/display_controller.cc View 1 2 3 1 chunk +22 lines, -13 lines 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (14 generated)
pkotwicz
Oshima, can you please take a look? I decided against making WindowTreeHost::MoveCursorTo() dispatch a synthetic ...
5 years, 9 months ago (2015-03-03 20:50:37 UTC) #8
oshima
I'm fine with that too. lgtm
5 years, 9 months ago (2015-03-04 00:12:53 UTC) #9
pkotwicz
Sadrul for ui/aura
5 years, 9 months ago (2015-03-04 00:13:50 UTC) #11
sadrul
https://codereview.chromium.org/971753008/diff/130001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/971753008/diff/130001/ash/display/display_controller.cc#newcode613 ash/display/display_controller.cc:613: // cursor's visibility. Can you update the comment to ...
5 years, 9 months ago (2015-03-04 00:53:49 UTC) #12
pkotwicz
Sadrul, can you please take another look? I have updated the comment. We need to ...
5 years, 9 months ago (2015-03-04 16:30:37 UTC) #13
sadrul
On 2015/03/04 16:30:37, pkotwicz wrote: > Sadrul, can you please take another look? > > ...
5 years, 9 months ago (2015-03-05 09:42:37 UTC) #14
pkotwicz
Sadrul, can you please take another look? Thank you for your questions, they made me ...
5 years, 9 months ago (2015-03-05 23:10:24 UTC) #15
sadrul
Thanks for digging into this! On 2015/03/05 23:10:24, pkotwicz wrote: > Sadrul, can you please ...
5 years, 9 months ago (2015-03-06 14:27:01 UTC) #16
sadrul
On 2015/03/06 14:27:01, sadrul wrote: > Thanks for digging into this! > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-06 14:29:22 UTC) #17
pkotwicz
I don't mind exposing PostSynthesizeMouseMove() because it is trivial to replicate the functionality. (i.e. writing ...
5 years, 9 months ago (2015-03-06 15:36:51 UTC) #18
sadrul
On 2015/03/06 15:36:51, pkotwicz wrote: > I don't mind exposing PostSynthesizeMouseMove() because it is trivial ...
5 years, 9 months ago (2015-03-08 01:21:07 UTC) #19
pkotwicz
Sadrul, which approach do you suggest?
5 years, 9 months ago (2015-03-08 03:38:33 UTC) #20
sadrul
On 2015/03/08 03:38:33, pkotwicz wrote: > Sadrul, which approach do you suggest? From earlier comment: ...
5 years, 9 months ago (2015-03-08 03:57:04 UTC) #21
pkotwicz
That sounds like a hacky solution. DisplayController::EnsurePointerInDisplays() calls aura::Env::set_last_mouse_location(). It should be the one dispatching ...
5 years, 9 months ago (2015-03-08 16:35:22 UTC) #22
pkotwicz
We call aura::Window::MoveCursorTo() from RenderWidgetHostViewAura::LockMouse() so we can't make moving the cursor an Ash/CrOS only ...
5 years, 9 months ago (2015-03-09 21:30:13 UTC) #23
pkotwicz
The best solution might be to have DisplayController::EnsurePointerInDisplays() call WindowEventDispatcher::OnCursorMovedToRootLocation() and have WindowEventDispatcher::OnCursorMovedToRootLocation() dispatch a ...
5 years, 9 months ago (2015-03-09 21:49:22 UTC) #24
pkotwicz
Sadrul, Ping!
5 years, 9 months ago (2015-03-11 18:40:35 UTC) #25
sadrul
On 2015/03/11 18:40:35, pkotwicz wrote: > Sadrul, Ping! Peter and I discussed offline about the ...
5 years, 9 months ago (2015-03-12 17:34:33 UTC) #26
oshima
On 2015/03/12 17:34:33, sadrul wrote: > On 2015/03/11 18:40:35, pkotwicz wrote: > > Sadrul, Ping! ...
5 years, 9 months ago (2015-03-12 19:00:19 UTC) #27
pkotwicz
I tried sadrul@'s suggestion and it does not work. sadrul@, I can explain why it ...
5 years, 9 months ago (2015-03-12 19:34:38 UTC) #28
oshima
On 2015/03/12 19:34:38, pkotwicz wrote: > I tried sadrul@'s suggestion and it does not work. ...
5 years, 9 months ago (2015-03-12 19:49:37 UTC) #29
pkotwicz
My understanding is that Windows does not provide a good way of dispatching a synthetic ...
5 years, 9 months ago (2015-03-12 20:11:47 UTC) #30
pkotwicz
Sadrul, can you please take another look? I have have implemented the solution described in ...
5 years, 9 months ago (2015-03-17 18:42:34 UTC) #32
pkotwicz
Sadrul, Ping!
5 years, 9 months ago (2015-03-19 03:08:05 UTC) #33
sadrul
This needs tests
5 years, 9 months ago (2015-03-20 16:58:07 UTC) #34
pkotwicz1
tldr: I would rather add tests in a separate CL. I can't think of tests ...
5 years, 9 months ago (2015-03-20 17:42:50 UTC) #35
sadrul
On 2015/03/20 17:42:50, pkotwicz22 wrote: > tldr: I would rather add tests in a separate ...
5 years, 9 months ago (2015-03-20 17:54:50 UTC) #36
pkotwicz
Sadrul, can you please take another look? I have added a test as you requested
5 years, 9 months ago (2015-03-23 16:22:16 UTC) #40
sadrul
lgtm
5 years, 9 months ago (2015-03-24 07:56:27 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/971753008/250001
5 years, 9 months ago (2015-03-24 14:40:07 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:250001)
5 years, 9 months ago (2015-03-24 16:03:06 UTC) #45
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 16:03:44 UTC) #46
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3aa7a6eab4d102ae3bb54c943dca7fb546dfdd98
Cr-Commit-Position: refs/heads/master@{#322010}

Powered by Google App Engine
This is Rietveld 408576698