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

Issue 10905163: aura-x11: Fix touch-calibration for multi-monitor setups. (Closed)

Created:
8 years, 3 months ago by sadrul
Modified:
8 years, 3 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

aura-x11: Fix touch-calibration for multi-monitor setups. The fix is: * Remember the size of the X root window. * Listen for touch events in the X root window. * Convert the touch-event coordinates from the X root-window to the aura root-window coordinate. * If the event belongs to the aura root-window after the calibration, then process the event, otherwise discard. BUG=133721 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=155931

Patch Set 1 : . #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 10

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -46 lines) Patch
M chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc View 1 2 2 chunks +0 lines, -18 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 3 7 chunks +99 lines, -28 lines 0 comments Download
M ui/base/events/event.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/base/events/event.cc View 1 2 3 4 5 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sadrul
8 years, 3 months ago (2012-09-10 16:25:03 UTC) #1
Daniel Erat
http://codereview.chromium.org/10905163/diff/1007/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10905163/diff/1007/ui/aura/root_window_host_linux.cc#newcode54 ui/aura/root_window_host_linux.cc:54: const int kXRootWindowPaddingLeft = 40; nit: add a comment ...
8 years, 3 months ago (2012-09-10 17:27:31 UTC) #2
sadrul
http://codereview.chromium.org/10905163/diff/1007/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10905163/diff/1007/ui/aura/root_window_host_linux.cc#newcode54 ui/aura/root_window_host_linux.cc:54: const int kXRootWindowPaddingLeft = 40; On 2012/09/10 17:27:31, Daniel ...
8 years, 3 months ago (2012-09-10 18:19:32 UTC) #3
Daniel Erat
lgtm
8 years, 3 months ago (2012-09-10 18:43:57 UTC) #4
sky
8 years, 3 months ago (2012-09-10 21:13:30 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698