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

Issue 1130983005: ash: Refactor of TouchTransformerController (Closed)

Created:
5 years, 7 months ago by robert.bradford
Modified:
5 years, 7 months ago
Reviewers:
dnicoara, *Daniel Erat
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Refactor of TouchTransformerController In preparation for reusing touch transformations for transforming on screen stylus events into display co-ordinates this CL does a simple refactor of TouchTransformerController. This change will be followed up by a subsequent CL that enables support for having multiple touchscreens per display with the per-device looping happening in the new methods: UpdateTouchRadius() and UpdateTouchTransform(). TEST=ash_unittests passes, interactive testing on link_freon in mirrored and non-mirrored mode. BUG=448467 Committed: https://crrev.com/73b49ca2f1c855ebdd383255f523721fb862526d Cr-Commit-Position: refs/heads/master@{#329830}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -53 lines) Patch
M ash/touch/touch_transformer_controller.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
M ash/touch/touch_transformer_controller.cc View 4 chunks +35 lines, -53 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
robert.bradford
Hi Daniel, please take a look at this change.
5 years, 7 months ago (2015-05-13 14:28:12 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130983005/1
5 years, 7 months ago (2015-05-13 14:28:37 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-13 15:09:46 UTC) #7
Daniel Erat
i don't have much state on this file; adding dnicoara@, who probably does. i think ...
5 years, 7 months ago (2015-05-13 15:37:47 UTC) #9
Daniel Erat
one nit https://codereview.chromium.org/1130983005/diff/1/ash/touch/touch_transformer_controller.h File ash/touch/touch_transformer_controller.h (right): https://codereview.chromium.org/1130983005/diff/1/ash/touch/touch_transformer_controller.h#newcode64 ash/touch/touch_transformer_controller.h:64: // For the provided |display| update the ...
5 years, 7 months ago (2015-05-13 15:41:23 UTC) #10
dnicoara
lgtm ... I'm guessing adding support for more touch devices will make this more complex. ...
5 years, 7 months ago (2015-05-13 16:04:17 UTC) #11
robert.bradford
Thanks derat@ & dnicoara@ i've fixed the comments.
5 years, 7 months ago (2015-05-13 16:49:18 UTC) #12
Daniel Erat
lgtm
5 years, 7 months ago (2015-05-13 19:07:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130983005/20001
5 years, 7 months ago (2015-05-14 11:18:49 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-14 11:48:03 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 11:48:43 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/73b49ca2f1c855ebdd383255f523721fb862526d
Cr-Commit-Position: refs/heads/master@{#329830}

Powered by Google App Engine
This is Rietveld 408576698