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

Issue 6300007: touch: Allow grabbing/ungrabbing touch devices for XInput2. (Closed)

Created:
9 years, 11 months ago by sadrul
Modified:
9 years, 6 months ago
Reviewers:
rjkroege, sky
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

touch: Allow grabbing/ungrabbing touch devices for XInput2. This allows touch devices to be grabbed when events from the mouse/keyboard are grabbed. This also exposes TouchFactory, which will eventually be used in more places. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71879 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72002

Patch Set 1 #

Total comments: 21

Patch Set 2 : '' #

Patch Set 3 : Add NOTE #

Patch Set 4 : Build failures. #

Total comments: 1

Patch Set 5 : gyp blackmagic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -33 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/controls/menu/menu_host_gtk.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M views/focus/accelerator_handler_touch.cc View 3 chunks +3 lines, -32 lines 0 comments Download
A views/touchui/touch_factory.h View 1 2 1 chunk +65 lines, -0 lines 0 comments Download
A views/touchui/touch_factory.cc View 1 4 1 chunk +79 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 4 3 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sadrul
Please add additional reviewers as you see fit.
9 years, 11 months ago (2011-01-19 18:40:31 UTC) #1
rjkroege
With the break-out of the touch code, you could augment/add some unit tests? (You knew ...
9 years, 11 months ago (2011-01-19 19:26:01 UTC) #2
sky
http://codereview.chromium.org/6300007/diff/1/views/controls/menu/menu_host_gtk.cc File views/controls/menu/menu_host_gtk.cc (right): http://codereview.chromium.org/6300007/diff/1/views/controls/menu/menu_host_gtk.cc#newcode8 views/controls/menu/menu_host_gtk.cc:8: #if defined(HAVE_XINPUT2) newline between 7 and 8 http://codereview.chromium.org/6300007/diff/1/views/controls/menu/menu_host_gtk.cc#newcode17 views/controls/menu/menu_host_gtk.cc:17: ...
9 years, 11 months ago (2011-01-19 19:34:54 UTC) #3
sadrul
http://codereview.chromium.org/6300007/diff/1/views/controls/menu/menu_host_gtk.cc File views/controls/menu/menu_host_gtk.cc (right): http://codereview.chromium.org/6300007/diff/1/views/controls/menu/menu_host_gtk.cc#newcode8 views/controls/menu/menu_host_gtk.cc:8: #if defined(HAVE_XINPUT2) On 2011/01/19 19:34:54, sky wrote: > newline ...
9 years, 11 months ago (2011-01-19 20:10:17 UTC) #4
sky
LGTM http://codereview.chromium.org/6300007/diff/1/views/touchui/touch_factory.h File views/touchui/touch_factory.h (right): http://codereview.chromium.org/6300007/diff/1/views/touchui/touch_factory.h#newcode45 views/touchui/touch_factory.h:45: std::bitset<128> touch_device_lookup_; On 2011/01/19 20:10:17, sadrul wrote: > ...
9 years, 11 months ago (2011-01-19 23:15:30 UTC) #5
rjkroege
LGTM (but like I said: TODO for the unit tests.)
9 years, 11 months ago (2011-01-19 23:20:17 UTC) #6
sadrul
On 2011/01/19 23:20:17, rjkroege wrote: > LGTM (but like I said: TODO for the unit ...
9 years, 11 months ago (2011-01-19 23:31:12 UTC) #7
sadrul
Please take a look at the fix for the build failure. http://codereview.chromium.org/6300007/diff/18001/views/touchui/touch_factory.cc File views/touchui/touch_factory.cc (right): ...
9 years, 11 months ago (2011-01-20 02:51:22 UTC) #8
rjkroege
per discussion... please do this nicer
9 years, 11 months ago (2011-01-20 16:36:30 UTC) #9
sadrul
On 2011/01/20 16:36:30, rjkroege wrote: > per discussion... please do this nicer Added the check ...
9 years, 11 months ago (2011-01-20 17:22:59 UTC) #10
rjkroege
LGTM.
9 years, 11 months ago (2011-01-20 17:52:41 UTC) #11
sadrul
On 2011/01/20 17:52:41, rjkroege wrote: > LGTM. The trybots are also happy! sky?
9 years, 11 months ago (2011-01-20 19:05:43 UTC) #12
sky
9 years, 11 months ago (2011-01-20 20:54:36 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698