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

Issue 2562803002: exo: Replace pointer based stylus and replace with touch based stylus (Closed)

Created:
4 years ago by denniskempin
Modified:
4 years ago
Reviewers:
reveman, sadrul
CC:
chromium-reviews, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Replace pointer based stylus and replace with touch based stylus This change implements the stylus_v2 protocol for touch-based stylus events. It replaces the original stylus_v1 protocol with a dummy. Once the client has switched to the v2 protocol, v1 will be removed from Chrome. BUG=665499 TEST=added unit tests. Needs to be tested in conjunction with client-side changes. Committed: https://crrev.com/31a496e04579111ab2894d8053fef760f16180ed Cr-Commit-Position: refs/heads/master@{#439250}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 10

Patch Set 3 : fixed nits #

Patch Set 4 : rebased #

Patch Set 5 : updated deps in gn file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -241 lines) Patch
M components/exo/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M components/exo/pointer.h View 1 2 3 4 chunks +0 lines, -20 lines 0 comments Download
M components/exo/pointer.cc View 1 2 3 7 chunks +3 lines, -57 lines 0 comments Download
M components/exo/pointer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/test/exo_test_helper.h View 3 chunks +25 lines, -0 lines 0 comments Download
M components/exo/test/exo_test_helper.cc View 1 2 3 chunks +50 lines, -1 line 0 comments Download
M components/exo/touch.h View 1 2 3 4 chunks +9 lines, -0 lines 0 comments Download
M components/exo/touch.cc View 1 2 3 4 chunks +28 lines, -0 lines 0 comments Download
A components/exo/touch_stylus_delegate.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
M components/exo/touch_unittest.cc View 1 2 14 chunks +163 lines, -113 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 5 chunks +98 lines, -50 lines 0 comments Download
M ui/events/test/event_generator.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M ui/events/test/event_generator.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (12 generated)
denniskempin
Hey David! This is the CL actually implementing the protocol. Since stylus events for mouse ...
4 years ago (2016-12-08 19:16:12 UTC) #2
reveman
lgtm % nits https://codereview.chromium.org/2562803002/diff/20001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2562803002/diff/20001/components/exo/touch.cc#newcode36 components/exo/touch.cc:36: : delegate_(delegate), stylus_delegate_(nullptr) { nit: unnecessary ...
4 years ago (2016-12-08 23:17:14 UTC) #3
sadrul
lgtm https://codereview.chromium.org/2562803002/diff/20001/ui/events/test/event_generator.h File ui/events/test/event_generator.h (right): https://codereview.chromium.org/2562803002/diff/20001/ui/events/test/event_generator.h#newcode233 ui/events/test/event_generator.h:233: void EnterPenPointerMode(); These should now be removed, right?
4 years ago (2016-12-15 20:04:01 UTC) #4
denniskempin
https://codereview.chromium.org/2562803002/diff/20001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2562803002/diff/20001/components/exo/touch.cc#newcode36 components/exo/touch.cc:36: : delegate_(delegate), stylus_delegate_(nullptr) { On 2016/12/08 23:17:14, reveman wrote: ...
4 years ago (2016-12-15 21:16:49 UTC) #5
commit-bot: I haz the power
This CL has an open dependency (Issue 2560493003 Patch 60001). Please resolve the dependency and ...
4 years ago (2016-12-15 22:55:05 UTC) #9
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/2562803002/60001
4 years ago (2016-12-16 21:47:47 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/253369) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years ago (2016-12-16 21:56:05 UTC) #14
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/2562803002/80001
4 years ago (2016-12-16 22:24:41 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-17 00:21:30 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-17 00:25:46 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/31a496e04579111ab2894d8053fef760f16180ed
Cr-Commit-Position: refs/heads/master@{#439250}

Powered by Google App Engine
This is Rietveld 408576698