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

Issue 2896943002: Add "stylus-tools" Wayland protocol. (Closed)

Created:
3 years, 7 months ago by Vladislav Kaznacheev
Modified:
3 years, 7 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, victorhsieh+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add "stylus-tools" Wayland protocol. This protocol specifies a set of interfaces to control the behavior of a stylus tool, a special kind of window allowing the user to explore, annotate or manipulate on-screen content. The first applications of that protocol are: 1. Exclude the stylus tool window from for a voice interaction screenshot (implemented in this CL). 2. Only handle stylus input in the stylus tool window and let all other types of events pass through to the underlying windows (to be implemented). BUG=b:37640737 TEST=Invoke metalayer, check that the screenshot does not contain stylus strokes. Review-Url: https://codereview.chromium.org/2896943002 Cr-Commit-Position: refs/heads/master@{#474580} Committed: https://chromium.googlesource.com/chromium/src/+/8e27059bf039fc6e5728c71ad1d4da2ad57b12fc

Patch Set 1 #

Patch Set 2 : formatting #

Total comments: 18

Patch Set 3 : Renamed, addressed comments #

Total comments: 4

Patch Set 4 : Addressed comments #

Total comments: 2

Patch Set 5 : Moved the property out of aura #

Unified diffs Side-by-side diffs Delta from patch set Stats (+777 lines, -10 lines) Patch
M chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc View 1 2 3 4 4 chunks +23 lines, -10 lines 0 comments Download
M components/exo/surface.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/exo/surface.cc View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M components/exo/wayland/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 4 chunks +88 lines, -0 lines 0 comments Download
M third_party/wayland-protocols/BUILD.gn View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/wayland-protocols/README.chromium View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/wayland-protocols/include/protocol/stylus-tools-unstable-v1-client-protocol.h View 1 2 1 chunk +252 lines, -0 lines 0 comments Download
A third_party/wayland-protocols/include/protocol/stylus-tools-unstable-v1-server-protocol.h View 1 2 1 chunk +202 lines, -0 lines 0 comments Download
A third_party/wayland-protocols/protocol/stylus-tools-protocol.c View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/wayland-protocols/unstable/stylus-tools/README View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Vladislav Kaznacheev
Please take a look. I am not quite sure if I am doing it right, ...
3 years, 7 months ago (2017-05-22 23:36:32 UTC) #2
reveman
looks ok. mostly nits. please include a small unit test for any API you add ...
3 years, 7 months ago (2017-05-23 16:41:06 UTC) #3
Vladislav Kaznacheev
PTAL https://codereview.chromium.org/2896943002/diff/20001/components/exo/surface.h File components/exo/surface.h (right): https://codereview.chromium.org/2896943002/diff/20001/components/exo/surface.h#newcode204 components/exo/surface.h:204: bool GetAnnotationLayer() const { return annotation_layer_; } On ...
3 years, 7 months ago (2017-05-23 23:48:56 UTC) #4
reveman
lgtm + minor nit about language in the protocol description https://codereview.chromium.org/2896943002/diff/40001/third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml File third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml (right): https://codereview.chromium.org/2896943002/diff/40001/third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml#newcode45 ...
3 years, 7 months ago (2017-05-24 13:38:57 UTC) #5
Vladislav Kaznacheev
Please review: sky: ui/aura/client/aura_constants.* lhchavez: chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc https://codereview.chromium.org/2896943002/diff/40001/third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml File third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml (right): https://codereview.chromium.org/2896943002/diff/40001/third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml#newcode45 third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml:45: control the stylus-related ...
3 years, 7 months ago (2017-05-24 18:11:14 UTC) #7
sky
https://codereview.chromium.org/2896943002/diff/60001/ui/aura/client/aura_constants.h File ui/aura/client/aura_constants.h (right): https://codereview.chromium.org/2896943002/diff/60001/ui/aura/client/aura_constants.h#newcode119 ui/aura/client/aura_constants.h:119: AURA_EXPORT extern const WindowProperty<bool>* const kStylusOnlyKey; AFAICT this is ...
3 years, 7 months ago (2017-05-24 21:36:38 UTC) #9
Vladislav Kaznacheev
https://codereview.chromium.org/2896943002/diff/60001/ui/aura/client/aura_constants.h File ui/aura/client/aura_constants.h (right): https://codereview.chromium.org/2896943002/diff/60001/ui/aura/client/aura_constants.h#newcode119 ui/aura/client/aura_constants.h:119: AURA_EXPORT extern const WindowProperty<bool>* const kStylusOnlyKey; On 2017/05/24 21:36:38, ...
3 years, 7 months ago (2017-05-24 22:19:45 UTC) #11
Luis Héctor Chávez
chrome/browser/chromeos/arc lgtm
3 years, 7 months ago (2017-05-24 23:05:32 UTC) #12
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/2896943002/80001
3 years, 7 months ago (2017-05-24 23:24:01 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-25 03:31:08 UTC) #17
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/2896943002/80001
3 years, 7 months ago (2017-05-25 05:16:08 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 06:13:44 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/8e27059bf039fc6e5728c71ad1d4...

Powered by Google App Engine
This is Rietveld 408576698