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

Issue 4186004: touchui: First pass at XInput2 message pump. (Closed)

Created:
10 years, 1 month ago by sadrul
Modified:
9 years, 6 months ago
Reviewers:
rjkroege, Evan Martin, evanm
CC:
chromium-reviews, ben+cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

touchui: First pass at XInput2 message pump. Capture X events using XInput2. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65959

Patch Set 1 #

Patch Set 2 : Fix views::Event flags for XI2 events. #

Total comments: 14

Patch Set 3 : '' #

Patch Set 4 : Wrap code within ifdef's. #

Total comments: 9

Patch Set 5 : Select on all master pointer devices. #

Patch Set 6 : Change how we decide whether XInput2 is available. #

Total comments: 7

Patch Set 7 : Add comments, and maintain a list of master devices. #

Total comments: 4

Patch Set 8 : '' #

Patch Set 9 : gyp fiddling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -5 lines) Patch
M base/message_pump_glib_x.h View 1 2 3 4 5 6 3 chunks +22 lines, -0 lines 0 comments Download
M base/message_pump_glib_x.cc View 1 2 3 4 5 6 7 5 chunks +142 lines, -1 line 0 comments Download
M build/linux/system.gyp View 6 7 8 1 chunk +11 lines, -1 line 0 comments Download
M views/event_x.cc View 1 2 3 4 5 6 6 chunks +60 lines, -2 lines 0 comments Download
M views/focus/accelerator_handler_touch.cc View 1 2 3 4 5 6 3 chunks +83 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
sadrul
10 years, 1 month ago (2010-10-27 18:26:33 UTC) #1
sadrul
One of the TODOs is done: the flags for the view::Event's are now correctly set.
10 years, 1 month ago (2010-10-27 20:17:15 UTC) #2
rjkroege
Most of my comments will probably be swallowed up in your TODOs. You might want ...
10 years, 1 month ago (2010-10-27 21:20:21 UTC) #3
sadrul
http://codereview.chromium.org/4186004/diff/3001/4001 File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/3001/4001#newcode27 base/message_pump_glib_x.cc:27: if (!window) On 2010/10/27 21:20:21, rjkroege wrote: > Is ...
10 years, 1 month ago (2010-10-27 22:13:26 UTC) #4
sadrul
Added ifdef wraps around code. PTAL! :)
10 years, 1 month ago (2010-10-28 16:25:34 UTC) #5
rjkroege
the #ifdefs make me sad. But I know that we need them. I agree on ...
10 years, 1 month ago (2010-10-28 16:58:35 UTC) #6
sadrul
I am not sure I understand what you meant by 'device management'. http://codereview.chromium.org/4186004/diff/1005/14001 File base/message_pump_glib_x.cc ...
10 years, 1 month ago (2010-10-29 01:28:16 UTC) #7
sadrul
With the current patchset, we have a message-pump working that uses XInput2 (for mouse events) ...
10 years, 1 month ago (2010-10-29 11:47:54 UTC) #8
rjkroege
On 2010/10/29 01:28:16, sadrul wrote: > I am not sure I understand what you meant ...
10 years, 1 month ago (2010-10-29 21:07:15 UTC) #9
rjkroege
lingering comments that I forgot to send. http://codereview.chromium.org/4186004/diff/21001/22001 File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/21001/22001#newcode50 base/message_pump_glib_x.cc:50: XIDeviceInfo* devices ...
10 years, 1 month ago (2010-11-01 21:18:44 UTC) #10
sadrul
http://codereview.chromium.org/4186004/diff/21001/22001 File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/21001/22001#newcode50 base/message_pump_glib_x.cc:50: XIDeviceInfo* devices = XIQueryDevice(xdisplay, XIAllMasterDevices, &ndevs); On 2010/11/01 21:18:44, ...
10 years, 1 month ago (2010-11-02 16:45:09 UTC) #11
sadrul
> Do we have any idea about the changes to the xconf needed to > ...
10 years, 1 month ago (2010-11-02 16:48:07 UTC) #12
rjkroege
LGTM. I think another reviewer (evmar?) would be useful. http://codereview.chromium.org/4186004/diff/21001/22001 File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/21001/22001#newcode50 base/message_pump_glib_x.cc:50: ...
10 years, 1 month ago (2010-11-08 18:36:54 UTC) #13
sadrul
http://codereview.chromium.org/4186004/diff/21001/22001 File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/21001/22001#newcode50 base/message_pump_glib_x.cc:50: XIDeviceInfo* devices = XIQueryDevice(xdisplay, XIAllMasterDevices, &ndevs); I don't believe ...
10 years, 1 month ago (2010-11-08 22:03:50 UTC) #14
evanm
LGTM http://codereview.chromium.org/4186004/diff/31001/base/message_pump_glib_x.cc File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/31001/base/message_pump_glib_x.cc#newcode164 base/message_pump_glib_x.cc:164: int event, err; these can be moved closer ...
10 years, 1 month ago (2010-11-11 20:45:44 UTC) #15
sadrul
http://codereview.chromium.org/4186004/diff/31001/base/message_pump_glib_x.cc File base/message_pump_glib_x.cc (right): http://codereview.chromium.org/4186004/diff/31001/base/message_pump_glib_x.cc#newcode164 base/message_pump_glib_x.cc:164: int event, err; On 2010/11/11 20:45:44, evanm wrote: > ...
10 years, 1 month ago (2010-11-11 22:12:30 UTC) #16
sadrul
10 years, 1 month ago (2010-11-12 18:27:38 UTC) #17
Finally landed cleanly. piman checked in a fix for pkg-config-wrapper which was
not returning an error from pkg-config
(http://src.chromium.org/viewvc/chrome?view=rev&revision=65956 ), and this was
necessary to go green on the arm buildbot.

Powered by Google App Engine
This is Rietveld 408576698