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

Issue 191223007: Move touch CTM from X into Chrome (Closed)

Created:
6 years, 9 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, ben+aura_chromium.org, sadrul, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org, dnicoara, Daniel Erat, Rick Byers
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Move touch CTM from X into Chrome Currently we compute the touch CTM in OutputConfigurator and push that into X. This CL makes computing the touch CTM in DisplayController, and pushing it into WindowTreeHostX11. This moves the functionality of touch CTM from X into Chrome. Basically, when there is output configuration change, we compute the TouchCTM for each touch device, and push the TouchCTM into the WindowTreeHostX11 that is associated with the touchscreen. Then when X events reaching root window, we use the CTM to map the events coordinate in framebuffer space into the root window's coordinate space. BUG=351019, chrome-os-partner:25788 TEST=tested on Pixel/Clapper with external touch/non-touch displays on both extended/mirror mode. Touch events are correctly mapped to chrome window or discarded if it is from blank region from letterboxing/pillarboxing mirror mode. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269371

Patch Set 1 #

Patch Set 2 : aura & ash unittests pass #

Patch Set 3 : add file ui/aura/touch_ctm.h(cc) #

Total comments: 6

Patch Set 4 : restructuring #

Total comments: 3

Patch Set 5 : move CTM update code into a separate file ash/touch/touch_ctm_controller.cc #

Total comments: 70

Patch Set 6 : rework #

Total comments: 5

Patch Set 7 : move the logic of if a touch event should be dispatched to a root window into CanDispatchEvent() #

Total comments: 26

Patch Set 8 : address comments #

Patch Set 9 : move display_ids_ into AshWindowTreeHostX11 #

Total comments: 3

Patch Set 10 : prettify the mirror mode ctm formula #

Total comments: 3

Patch Set 11 : fix all the unittests #

Total comments: 18

Patch Set 12 : address Sadrul's comments #

Patch Set 13 : rebase #

Patch Set 14 : fix compile error #

Patch Set 15 : rework events.gyp #

Patch Set 16 : fix events/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+905 lines, -522 lines) Patch
M ash/DEPS View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +9 lines, -0 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M ash/display/display_info.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ash/display/display_info.cc View 1 2 3 4 5 5 chunks +7 lines, -2 lines 0 comments Download
M ash/host/ash_window_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -10 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +58 lines, -192 lines 0 comments Download
M ash/host/ash_window_tree_host_x11_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +47 lines, -35 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +12 lines, -0 lines 0 comments Download
A ash/touch/touch_transformer_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +55 lines, -0 lines 0 comments Download
A ash/touch/touch_transformer_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +225 lines, -0 lines 0 comments Download
A ash/touch/touch_transformer_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +206 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 2 3 4 5 6 2 chunks +3 lines, -12 lines 0 comments Download
M ui/display/chromeos/display_configurator.h View 1 2 3 4 5 7 chunks +4 lines, -35 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 3 4 5 6 chunks +2 lines, -97 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +0 lines, -61 lines 0 comments Download
M ui/display/chromeos/ozone/touchscreen_delegate_ozone.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M ui/display/chromeos/ozone/touchscreen_delegate_ozone.cc View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M ui/display/chromeos/x11/touchscreen_delegate_x11.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M ui/display/chromeos/x11/touchscreen_delegate_x11.cc View 1 2 3 4 5 1 chunk +0 lines, -50 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -0 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -0 lines 0 comments Download
M ui/events/test/events_test_utils_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/x/device_data_manager.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +24 lines, -0 lines 0 comments Download
M ui/events/x/device_data_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +195 lines, -1 line 0 comments Download
M ui/events/x/events_x.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 55 (0 generated)
Yufeng Shen (Slow to review)
6 years, 9 months ago (2014-03-10 19:25:12 UTC) #1
sadrul
https://codereview.chromium.org/191223007/diff/40001/ui/aura/touch_ctm.h File ui/aura/touch_ctm.h (right): https://codereview.chromium.org/191223007/diff/40001/ui/aura/touch_ctm.h#newcode12 ui/aura/touch_ctm.h:12: class AURA_EXPORT TouchCTM { Document. https://codereview.chromium.org/191223007/diff/40001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): ...
6 years, 9 months ago (2014-03-10 20:20:11 UTC) #2
oshima
https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc#newcode798 ash/display/display_controller.cc:798: FOR_EACH_OBSERVER(Observer, observers_, OnDisplayConfigurationChanged()); Looks like new code don't have ...
6 years, 9 months ago (2014-03-13 20:43:53 UTC) #3
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/40001/ui/aura/touch_ctm.h File ui/aura/touch_ctm.h (right): https://codereview.chromium.org/191223007/diff/40001/ui/aura/touch_ctm.h#newcode12 ui/aura/touch_ctm.h:12: class AURA_EXPORT TouchCTM { On 2014/03/10 20:20:12, sadrul wrote: ...
6 years, 9 months ago (2014-03-13 20:55:45 UTC) #4
oshima
https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc#newcode798 ash/display/display_controller.cc:798: FOR_EACH_OBSERVER(Observer, observers_, OnDisplayConfigurationChanged()); On 2014/03/13 20:55:46, Yufeng Shen wrote: ...
6 years, 9 months ago (2014-03-13 21:34:48 UTC) #5
Yufeng Shen (Slow to review)
On 2014/03/13 21:34:48, oshima wrote: > https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc > File ash/display/display_controller.cc (right): > > https://codereview.chromium.org/191223007/diff/60001/ash/display/display_controller.cc#newcode798 > ...
6 years, 9 months ago (2014-03-14 00:32:47 UTC) #6
oshima
+ben@ for his opinion about change in WTH. https://codereview.chromium.org/191223007/diff/80001/ash/display/display_controller.h File ash/display/display_controller.h (right): https://codereview.chromium.org/191223007/diff/80001/ash/display/display_controller.h#newcode95 ash/display/display_controller.h:95: } ...
6 years, 9 months ago (2014-03-14 21:53:52 UTC) #7
sadrul
What happens when the touch-support in a display isn't turned on when the display is ...
6 years, 9 months ago (2014-03-15 19:32:50 UTC) #8
spang
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode34 ash/touch/touch_ctm_controller.cc:34: // X will first map input event location to ...
6 years, 9 months ago (2014-03-24 18:52:30 UTC) #9
ynovikov
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode34 ash/touch/touch_ctm_controller.cc:34: // X will first map input event location to ...
6 years, 9 months ago (2014-03-24 19:02:41 UTC) #10
spang
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode34 ash/touch/touch_ctm_controller.cc:34: // X will first map input event location to ...
6 years, 9 months ago (2014-03-24 19:05:30 UTC) #11
miletus1
On Mon, Mar 24, 2014 at 3:05 PM, <spang@chromium.org> wrote: > > https://codereview.chromium.org/191223007/diff/80001/ash/ > touch/touch_ctm_controller.cc ...
6 years, 9 months ago (2014-03-24 19:07:26 UTC) #12
ynovikov
On 2014/03/24 19:07:26, miletus1 wrote: > On Mon, Mar 24, 2014 at 3:05 PM, <mailto:spang@chromium.org> ...
6 years, 9 months ago (2014-03-24 19:22:26 UTC) #13
spang
On 2014/03/24 19:07:26, miletus1 wrote: > On Mon, Mar 24, 2014 at 3:05 PM, <mailto:spang@chromium.org> ...
6 years, 9 months ago (2014-03-24 19:24:06 UTC) #14
Ben Goodger (Google)
https://codereview.chromium.org/191223007/diff/80001/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/191223007/diff/80001/ui/aura/window_tree_host.h#newcode235 ui/aura/window_tree_host.h:235: std::pair<int64, int64> display_ids_; And if this code is only ...
6 years, 9 months ago (2014-03-24 19:36:54 UTC) #15
oshima
https://codereview.chromium.org/191223007/diff/80001/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/191223007/diff/80001/ui/aura/window_tree_host.h#newcode235 ui/aura/window_tree_host.h:235: std::pair<int64, int64> display_ids_; On 2014/03/24 19:36:55, Ben Goodger (Google) ...
6 years, 9 months ago (2014-03-24 20:00:10 UTC) #16
Ben Goodger (Google)
I wondered a while ago at what point the WTHX11 code became ChromeOS-specific enough to ...
6 years, 9 months ago (2014-03-24 20:05:44 UTC) #17
Elliot Glaysher
On 2014/03/24 20:05:44, Ben Goodger (Google) wrote: > I wondered a while ago at what ...
6 years, 9 months ago (2014-03-24 20:16:51 UTC) #18
Ben Goodger (Google)
Yeah I think you need a minimal WTH in aura still for its tests. And ...
6 years, 9 months ago (2014-03-24 20:19:17 UTC) #19
miletus1
On Mon, Mar 24, 2014 at 3:24 PM, <spang@chromium.org> wrote: > On 2014/03/24 19:07:26, miletus1 ...
6 years, 9 months ago (2014-03-24 20:49:57 UTC) #20
spang
On 2014/03/24 20:49:57, miletus1 wrote: > On Mon, Mar 24, 2014 at 3:24 PM, <mailto:spang@chromium.org> ...
6 years, 9 months ago (2014-03-24 21:13:30 UTC) #21
spang
On 2014/03/24 20:49:57, miletus1 wrote: > On Mon, Mar 24, 2014 at 3:24 PM, <mailto:spang@chromium.org> ...
6 years, 9 months ago (2014-03-26 17:29:46 UTC) #22
spang
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode34 ash/touch/touch_ctm_controller.cc:34: // X will first map input event location to ...
6 years, 9 months ago (2014-03-26 17:30:33 UTC) #23
ynovikov
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode46 ash/touch/touch_ctm_controller.cc:46: // y_offset = 0 This used to be: // ...
6 years, 9 months ago (2014-03-27 23:35:53 UTC) #24
spang
https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc File ash/touch/touch_ctm_controller.cc (right): https://codereview.chromium.org/191223007/diff/80001/ash/touch/touch_ctm_controller.cc#newcode61 ash/touch/touch_ctm_controller.cc:61: ctm.x_scale = (width - 1) / (framebuffer_width - 1); ...
6 years, 9 months ago (2014-03-28 16:49:30 UTC) #25
Yufeng Shen (Slow to review)
Thanks for all your comments. Finally get time to resume the work. PTAL. https://codereview.chromium.org/191223007/diff/80001/ash/display/display_change_observer_chromeos.cc File ...
6 years, 7 months ago (2014-04-29 20:34:17 UTC) #26
spang
On 2014/04/29 20:34:17, Yufeng Shen wrote: > Thanks for all your comments. > > Finally ...
6 years, 7 months ago (2014-04-29 20:53:36 UTC) #27
spang
On 2014/04/29 20:34:17, Yufeng Shen wrote: > Thanks for all your comments. > > Finally ...
6 years, 7 months ago (2014-04-29 20:53:41 UTC) #28
chromium-reviews
On Tue, Apr 29, 2014 at 4:53 PM, <spang@chromium.org> wrote: > On 2014/04/29 20:34:17, Yufeng ...
6 years, 7 months ago (2014-04-29 21:05:39 UTC) #29
oshima
https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc#newcode612 ui/aura/window_tree_host_x11.cc:612: } Can you move chromeos specific code to ash/host/ash_window_tree_host_x11 ...
6 years, 7 months ago (2014-04-30 16:19:04 UTC) #30
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc#newcode612 ui/aura/window_tree_host_x11.cc:612: } On 2014/04/30 16:19:05, oshima wrote: > Can you ...
6 years, 7 months ago (2014-04-30 16:42:42 UTC) #31
oshima
On 2014/04/30 16:42:42, Yufeng Shen wrote: > https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc > File ui/aura/window_tree_host_x11.cc (right): > > https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc#newcode612 ...
6 years, 7 months ago (2014-04-30 16:55:43 UTC) #32
sadrul
https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc#newcode191 ui/aura/window_tree_host_x11.cc:191: return target == xwindow_ || target == x_root_window_; You ...
6 years, 7 months ago (2014-04-30 16:58:57 UTC) #33
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/191223007/diff/100001/ui/aura/window_tree_host_x11.cc#newcode191 ui/aura/window_tree_host_x11.cc:191: return target == xwindow_ || target == x_root_window_; On ...
6 years, 7 months ago (2014-04-30 19:16:42 UTC) #34
oshima
https://codereview.chromium.org/191223007/diff/120001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/191223007/diff/120001/ash/shell.h#newcode374 ash/shell.h:374: #if defined(OS_CHROMEOS) && defined(USE_X11) can this be just USE_X11? ...
6 years, 7 months ago (2014-05-01 09:35:41 UTC) #35
dnicoara
https://codereview.chromium.org/191223007/diff/120001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/191223007/diff/120001/ash/shell.h#newcode374 ash/shell.h:374: #if defined(OS_CHROMEOS) && defined(USE_X11) On 2014/05/01 09:35:42, oshima wrote: ...
6 years, 7 months ago (2014-05-01 13:47:42 UTC) #36
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/120001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/191223007/diff/120001/ash/shell.h#newcode374 ash/shell.h:374: #if defined(OS_CHROMEOS) && defined(USE_X11) On 2014/05/01 09:35:42, oshima wrote: ...
6 years, 7 months ago (2014-05-01 22:43:47 UTC) #37
oshima
https://codereview.chromium.org/191223007/diff/120001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/191223007/diff/120001/ash/shell.h#newcode374 ash/shell.h:374: #if defined(OS_CHROMEOS) && defined(USE_X11) On 2014/05/01 22:43:48, Yufeng Shen ...
6 years, 7 months ago (2014-05-01 23:07:55 UTC) #38
ynovikov
https://codereview.chromium.org/191223007/diff/120001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/191223007/diff/120001/ash/touch/touch_transformer_controller.cc#newcode146 ash/touch/touch_transformer_controller.cc:146: Shell::GetInstance()->display_configurator()->display_state(); On 2014/05/01 23:07:56, oshima wrote: > On 2014/05/01 ...
6 years, 7 months ago (2014-05-01 23:16:09 UTC) #39
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/120001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/191223007/diff/120001/ash/touch/touch_transformer_controller.cc#newcode146 ash/touch/touch_transformer_controller.cc:146: Shell::GetInstance()->display_configurator()->display_state(); On 2014/05/01 23:07:56, oshima wrote: > On 2014/05/01 ...
6 years, 7 months ago (2014-05-02 00:03:38 UTC) #40
ynovikov
https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc#newcode110 ash/touch/touch_transformer_controller.cc:110: ctm.y_offset = (1.0 / mirror_ar - 1.0 / native_ar) ...
6 years, 7 months ago (2014-05-02 00:43:18 UTC) #41
ynovikov
https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc#newcode110 ash/touch/touch_transformer_controller.cc:110: ctm.y_offset = (1.0 / mirror_ar - 1.0 / native_ar) ...
6 years, 7 months ago (2014-05-02 00:43:18 UTC) #42
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/191223007/diff/160001/ash/touch/touch_transformer_controller.cc#newcode110 ash/touch/touch_transformer_controller.cc:110: ctm.y_offset = (1.0 / mirror_ar - 1.0 / native_ar) ...
6 years, 7 months ago (2014-05-02 15:14:07 UTC) #43
Yufeng Shen (Slow to review)
oshima@ and sadrul@, do you have more comments ? I would like to have this ...
6 years, 7 months ago (2014-05-05 19:39:28 UTC) #44
oshima
ash, ui/display lgtm with a nit and q. https://codereview.chromium.org/191223007/diff/180001/ash/touch/touch_transformer_controller_unittest.cc File ash/touch/touch_transformer_controller_unittest.cc (right): https://codereview.chromium.org/191223007/diff/180001/ash/touch/touch_transformer_controller_unittest.cc#newcode19 ash/touch/touch_transformer_controller_unittest.cc:19: DisplayInfo ...
6 years, 7 months ago (2014-05-06 01:47:55 UTC) #45
Yufeng Shen (Slow to review)
fixed all the unittests. https://codereview.chromium.org/191223007/diff/180001/ash/touch/touch_transformer_controller_unittest.cc File ash/touch/touch_transformer_controller_unittest.cc (right): https://codereview.chromium.org/191223007/diff/180001/ash/touch/touch_transformer_controller_unittest.cc#newcode19 ash/touch/touch_transformer_controller_unittest.cc:19: DisplayInfo info(id, "", false); On ...
6 years, 7 months ago (2014-05-06 21:34:01 UTC) #46
sadrul
https://codereview.chromium.org/191223007/diff/200001/ash/host/ash_window_tree_host.h File ash/host/ash_window_tree_host.h (right): https://codereview.chromium.org/191223007/diff/200001/ash/host/ash_window_tree_host.h#newcode46 ash/host/ash_window_tree_host.h:46: virtual void UpdateDisplayID(int64 id1, int64 id2) = 0; What ...
6 years, 7 months ago (2014-05-07 20:00:26 UTC) #47
Yufeng Shen (Slow to review)
https://codereview.chromium.org/191223007/diff/200001/ash/host/ash_window_tree_host.h File ash/host/ash_window_tree_host.h (right): https://codereview.chromium.org/191223007/diff/200001/ash/host/ash_window_tree_host.h#newcode46 ash/host/ash_window_tree_host.h:46: virtual void UpdateDisplayID(int64 id1, int64 id2) = 0; On ...
6 years, 7 months ago (2014-05-07 22:02:56 UTC) #48
sadrul
The build issues in the trybots look real. Can you take a look?
6 years, 7 months ago (2014-05-08 14:43:03 UTC) #49
sadrul
LGTM
6 years, 7 months ago (2014-05-08 18:32:39 UTC) #50
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 7 months ago (2014-05-08 18:36:59 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/191223007/300001
6 years, 7 months ago (2014-05-08 18:40:55 UTC) #52
commit-bot: I haz the power
Change committed as 269371
6 years, 7 months ago (2014-05-09 17:55:42 UTC) #53
spang
https://codereview.chromium.org/191223007/diff/200001/ui/events/x/device_data_manager.cc File ui/events/x/device_data_manager.cc (right): https://codereview.chromium.org/191223007/diff/200001/ui/events/x/device_data_manager.cc#newcode111 ui/events/x/device_data_manager.cc:111: // where they can be calibrated later. On 2014/05/07 ...
6 years, 7 months ago (2014-05-20 16:38:15 UTC) #54
Yufeng Shen (Slow to review)
6 years, 7 months ago (2014-05-20 16:53:41 UTC) #55
Message was sent while issue was closed.
https://codereview.chromium.org/191223007/diff/200001/ui/events/x/device_data...
File ui/events/x/device_data_manager.cc (right):

https://codereview.chromium.org/191223007/diff/200001/ui/events/x/device_data...
ui/events/x/device_data_manager.cc:111: //    where they can be calibrated
later.
On 2014/05/20 16:38:16, spang wrote:
> On 2014/05/07 22:02:58, Yufeng Shen wrote:
> > On 2014/05/07 20:00:27, sadrul wrote:
> > > Is this step still necessary?
> > 
> > I saw you filed another bug on this. Let's address the issue
> > there. My last experiment shows that we still need to modify
> > the event position as
> > "
> > xievent->event_x = xievent->root_x;
> > xievent->event_y = xievent->root_y;
> > "
> 
> What bug?
> 
> Please CC if you try to move this code. It should be done in a way that does
not
> make X11-specific assumptions about the axis ranges, except under X11 builds.

crbug.com/371060 I think.

I am not worrying about the calibration part, but more about
ui::PlatformEventObserver:WillProcessEvent() part which sets the root_x/y value
to event_x/y.  It is a X specific hack which should not affect ozone though.

Powered by Google App Engine
This is Rietveld 408576698