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

Issue 2276443002: Add new wayland request to enter screen locking mode. (Closed)

Created:
4 years, 4 months ago by hirono
Modified:
4 years, 3 months ago
Reviewers:
hidehiko, reveman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add new wayland request to enter screen locking mode. The CL adds a new wayland request 'pin_with_trusted_flag' that replaces the existing request 'pin'. The new request takes a trusted flag so that trusted apps can be allowed to enforce users to stay in pinned mode. The CL also adds new window state 'trusted_pinned' which will be used in further implementation to specify pinned state invoked by trusted apps. BUG=b/29325086 TEST=None Committed: https://crrev.com/f6a61224b071a2f611747797d2060aebc5d7d770 Cr-Commit-Position: refs/heads/master@{#414334}

Patch Set 1 #

Patch Set 2 : change protocol #

Total comments: 10

Patch Set 3 : Run wayland-scanner v1.11 #

Total comments: 4

Patch Set 4 : Fix format. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -10 lines) Patch
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h View 1 2 4 chunks +27 lines, -0 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h View 1 2 2 chunks +25 lines, -5 lines 0 comments Download
M third_party/wayland-protocols/protocol/remote-shell-protocol.c View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml View 1 2 3 4 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
hirono
PTAL, thank you!
4 years, 4 months ago (2016-08-23 10:33:28 UTC) #3
hidehiko
Could you run scanner to the xml, so that other headers will be auto-generated? David, ...
4 years, 4 months ago (2016-08-24 16:13:12 UTC) #5
reveman
https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode510 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:510: <request name="pin" since="11"> there's already a request with this ...
4 years, 4 months ago (2016-08-24 18:47:47 UTC) #6
hirono
> Could you run scanner to the xml, so that other headers will be auto-generated? ...
4 years, 3 months ago (2016-08-25 03:30:00 UTC) #7
hirono
Thank you for reviewing! https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode171 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:171: <interface name="zwp_remote_surface_v1" version="10"> On 2016/08/24 ...
4 years, 3 months ago (2016-08-25 03:30:12 UTC) #8
reveman
On 2016/08/25 at 03:30:00, hirono wrote: > > Could you run scanner to the xml, ...
4 years, 3 months ago (2016-08-25 03:34:24 UTC) #9
hirono
Thank you! Updated the generated version by running wayland-scanner v1.11. Please take another look.
4 years, 3 months ago (2016-08-25 03:53:07 UTC) #10
reveman
lgtm https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode509 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:509: <!-- Version 11 additions --> nit: blank line ...
4 years, 3 months ago (2016-08-25 03:59:12 UTC) #11
hirono
Thank you! https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode509 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:509: <!-- Version 11 additions --> On 2016/08/25 ...
4 years, 3 months ago (2016-08-25 05:05:06 UTC) #12
hirono
Thank you! https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2276443002/diff/40001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode509 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:509: <!-- Version 11 additions --> On 2016/08/25 ...
4 years, 3 months ago (2016-08-25 05:05:06 UTC) #13
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/2276443002/60001
4 years, 3 months ago (2016-08-25 05:05:47 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-25 05:55:35 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f6a61224b071a2f611747797d2060aebc5d7d770 Cr-Commit-Position: refs/heads/master@{#414334}
4 years, 3 months ago (2016-08-25 05:57:07 UTC) #20
hidehiko
4 years, 3 months ago (2016-08-25 06:19:40 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-pro...
File
third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
(right):

https://codereview.chromium.org/2276443002/diff/20001/third_party/wayland-pro...
third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:511:
<description summary="pinWithTrustedFlag">
On 2016/08/24 18:47:47, reveman wrote:
> On 2016/08/24 at 16:13:12, hidehiko wrote:
> > Could you use snake_case_name ?
> 
> this should be a short sentence that describes the request

Oops, I was also confused. Sorry for mis-leading, hirono-san, and thank you for
pointing this out, David.

Powered by Google App Engine
This is Rietveld 408576698