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

Issue 2295513002: exo: Hide cursor for direct input (Closed)

Created:
4 years, 3 months ago by denniskempin
Modified:
4 years, 3 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Hide cursor for direct input Exosphere renders its own cursor which does not get hidden by the global logic to hide a cursor when using direct input mouse events. This CL will make sure the cursor widget gets hidden or restored depending whether direct input is used or not. BUG=636458 TEST=use direct input in exo app. Cursor should be hidden. Committed: https://crrev.com/43f06b3247dc494647ea6358061e90e63c35e64c Cr-Commit-Position: refs/heads/master@{#415326}

Patch Set 1 #

Total comments: 2

Patch Set 2 : keep track of direct input mode #

Patch Set 3 : adding all the files does help. sometimes. #

Total comments: 5

Patch Set 4 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M components/exo/pointer.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/exo/pointer.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
denniskempin
PTAL David! I was thinking about doing this on the client-side. However there seem to ...
4 years, 3 months ago (2016-08-29 22:13:47 UTC) #2
reveman
https://codereview.chromium.org/2295513002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2295513002/diff/1/components/exo/pointer.cc#newcode263 components/exo/pointer.cc:263: if (event->flags() & ui::EF_DIRECT_INPUT) { Can we move this ...
4 years, 3 months ago (2016-08-29 22:34:08 UTC) #3
denniskempin
had to change the code quite a bit but I think this is much better. ...
4 years, 3 months ago (2016-08-30 00:28:11 UTC) #4
reveman
https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc#newcode255 components/exo/pointer.cc:255: is_direct_input_ = (event->flags() & ui::EF_DIRECT_INPUT) != 0; should we ...
4 years, 3 months ago (2016-08-30 00:40:49 UTC) #5
denniskempin
https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc#newcode255 components/exo/pointer.cc:255: is_direct_input_ = (event->flags() & ui::EF_DIRECT_INPUT) != 0; On 2016/08/30 ...
4 years, 3 months ago (2016-08-30 00:47:25 UTC) #6
reveman
lgtm https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2295513002/diff/40001/components/exo/pointer.cc#newcode255 components/exo/pointer.cc:255: is_direct_input_ = (event->flags() & ui::EF_DIRECT_INPUT) != 0; On ...
4 years, 3 months ago (2016-08-30 00:49:43 UTC) #7
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/2295513002/60001
4 years, 3 months ago (2016-08-30 16:11:48 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 16:56:38 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 16:58:27 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/43f06b3247dc494647ea6358061e90e63c35e64c
Cr-Commit-Position: refs/heads/master@{#415326}

Powered by Google App Engine
This is Rietveld 408576698