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

Issue 2103823003: Setting valid force value for touch events on Ozone on X. (Closed)

Created:
4 years, 5 months ago by mfomitchev
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Setting valid force value for touch events on Ozone on X. When --touch-devices flag is used on X, we use TouchEvent(native_event) constructor, which uses ui::GetTouchForceFromXEvent() to initialize the force value. On Ozone we don't do this, and force gets initialized to NaN. This CL makes Ozone on X consistent with X in that it uses GetTouchForceFromXEvent(xev) to initialize the force value in the constructed TouchEvent. BUG=NONE Committed: https://crrev.com/85fa838eb0ac79e83e4e3eaa7c1396129e6b4565 Cr-Commit-Position: refs/heads/master@{#403210}

Patch Set 1 #

Patch Set 2 : Updating TranslateXI2EventToEvent as well. #

Patch Set 3 : Undo changes in event.h, event_unittest.cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M ui/events/platform/x11/x11_event_source_libevent.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
mfomitchev
Sadrul, Kyle, Navid - WDYT? I could instead(also?) set the force in TranslateXI2EventToEvent (via GetTouchForceFromXEvent), ...
4 years, 5 months ago (2016-06-28 15:15:10 UTC) #2
kylechar
On 2016/06/28 15:15:10, mfomitchev wrote: > Sadrul, Kyle, Navid - WDYT? > I could instead(also?) ...
4 years, 5 months ago (2016-06-28 15:37:31 UTC) #3
mfomitchev
On 2016/06/28 15:37:31, kylechar wrote: > On 2016/06/28 15:15:10, mfomitchev wrote: > > Sadrul, Kyle, ...
4 years, 5 months ago (2016-06-28 16:14:29 UTC) #4
sadrul
On 2016/06/28 16:14:29, mfomitchev wrote: > On 2016/06/28 15:37:31, kylechar wrote: > > On 2016/06/28 ...
4 years, 5 months ago (2016-06-30 14:08:51 UTC) #5
Navid Zolghadr
On 2016/06/30 14:08:51, sadrul wrote: > On 2016/06/28 16:14:29, mfomitchev wrote: > > On 2016/06/28 ...
4 years, 5 months ago (2016-06-30 14:38:39 UTC) #6
mfomitchev
On 2016/06/30 14:38:39, Navid Zolghadr wrote: > On 2016/06/30 14:08:51, sadrul wrote: > > On ...
4 years, 5 months ago (2016-06-30 14:59:38 UTC) #8
Navid Zolghadr
lgtm. I'll look into the bug you created for Blink.
4 years, 5 months ago (2016-06-30 17:32:24 UTC) #9
sadrul
lgtm
4 years, 5 months ago (2016-06-30 17:33:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2103823003/40001
4 years, 5 months ago (2016-06-30 17:35:03 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-30 17:41:13 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 17:41:27 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 17:45:25 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/85fa838eb0ac79e83e4e3eaa7c1396129e6b4565
Cr-Commit-Position: refs/heads/master@{#403210}

Powered by Google App Engine
This is Rietveld 408576698