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

Side by Side Diff: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml

Issue 2664403004: Use pixel coordinates for shadow underlay bounds (Closed)
Patch Set: update Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="remote_shell_unstable_v1"> 2 <protocol name="remote_shell_unstable_v1">
3 3
4 <copyright> 4 <copyright>
5 Copyright 2016 The Chromium Authors. 5 Copyright 2016 The Chromium Authors.
6 6
7 Permission is hereby granted, free of charge, to any person obtaining a 7 Permission is hereby granted, free of charge, to any person obtaining a
8 copy of this software and associated documentation files (the "Software"), 8 copy of this software and associated documentation files (the "Software"),
9 to deal in the Software without restriction, including without limitation 9 to deal in the Software without restriction, including without limitation
10 the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 the rights to use, copy, modify, merge, publish, distribute, sublicense,
(...skipping 20 matching lines...) Expand all
31 Warning! The protocol described in this file is experimental and backward 31 Warning! The protocol described in this file is experimental and backward
32 incompatible changes may be made. Backward compatible changes may be added 32 incompatible changes may be made. Backward compatible changes may be added
33 together with the corresponding interface version bump. Backward 33 together with the corresponding interface version bump. Backward
34 incompatible changes are done by bumping the version number in the protocol 34 incompatible changes are done by bumping the version number in the protocol
35 and interface names and resetting the interface version. Once the protocol 35 and interface names and resetting the interface version. Once the protocol
36 is to be declared stable, the 'z' prefix and the version number in the 36 is to be declared stable, the 'z' prefix and the version number in the
37 protocol and interface names are removed and the interface version number is 37 protocol and interface names are removed and the interface version number is
38 reset. 38 reset.
39 </description> 39 </description>
40 40
41 <interface name="zcr_remote_shell_v1" version="2"> 41 <interface name="zcr_remote_shell_v1" version="3">
42 <description summary="remote_shell"> 42 <description summary="remote_shell">
43 The global interface that allows clients to turn a wl_surface into a 43 The global interface that allows clients to turn a wl_surface into a
44 "real window" which is remotely managed but can be stacked, activated 44 "real window" which is remotely managed but can be stacked, activated
45 and made fullscreen by the user. 45 and made fullscreen by the user.
46 </description> 46 </description>
47 47
48 <enum name="container"> 48 <enum name="container">
49 <description summary="containers for remote surfaces"> 49 <description summary="containers for remote surfaces">
50 Determine how a remote surface should be stacked relative to other 50 Determine how a remote surface should be stacked relative to other
51 shell surfaces. 51 shell surfaces.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 <arg name="transform" type="int"/> 133 <arg name="transform" type="int"/>
134 <arg name="scale_factor" type="fixed"/> 134 <arg name="scale_factor" type="fixed"/>
135 <arg name="work_area_inset_left" type="int"/> 135 <arg name="work_area_inset_left" type="int"/>
136 <arg name="work_area_inset_top" type="int"/> 136 <arg name="work_area_inset_top" type="int"/>
137 <arg name="work_area_inset_right" type="int"/> 137 <arg name="work_area_inset_right" type="int"/>
138 <arg name="work_area_inset_bottom" type="int"/> 138 <arg name="work_area_inset_bottom" type="int"/>
139 <arg name="layout_mode" type="uint"/> 139 <arg name="layout_mode" type="uint"/>
140 </event> 140 </event>
141 </interface> 141 </interface>
142 142
143 <interface name="zcr_remote_surface_v1" version="2"> 143 <interface name="zcr_remote_surface_v1" version="3">
144 <description summary="A desktop window"> 144 <description summary="A desktop window">
145 An interface that may be implemented by a wl_surface, for 145 An interface that may be implemented by a wl_surface, for
146 implementations that provide a desktop-style user interface 146 implementations that provide a desktop-style user interface
147 and allows for remotely managed windows. 147 and allows for remotely managed windows.
148 148
149 It provides requests to treat surfaces like windows, allowing to set 149 It provides requests to treat surfaces like windows, allowing to set
150 properties like app id and geometry. 150 properties like app id and geometry.
151 151
152 The client must call wl_surface.commit on the corresponding wl_surface 152 The client must call wl_surface.commit on the corresponding wl_surface
153 for the remote_surface state to take effect. 153 for the remote_surface state to take effect.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 <request name="set_scale"> 201 <request name="set_scale">
202 <description summary="set scale"> 202 <description summary="set scale">
203 Set a scale factor that will be applied to surface and all descendants. 203 Set a scale factor that will be applied to surface and all descendants.
204 </description> 204 </description>
205 <arg name="scale" type="fixed"/> 205 <arg name="scale" type="fixed"/>
206 </request> 206 </request>
207 207
208 <request name="set_rectangular_shadow"> 208 <request name="set_rectangular_shadow">
209 <description summary="set a rectangular shadow"> 209 <description summary="set a rectangular shadow">
210 » Request that surface needs a rectangular shadow. 210 » [Deprecated] Request that surface needs a rectangular shadow.
211 211
212 This is only a request that the surface should have a rectangular 212 This is only a request that the surface should have a rectangular
213 shadow. The compositor may choose to ignore this request. 213 shadow. The compositor may choose to ignore this request.
214 214
215 The arguments are given in the output coordinate space and specifies 215 The arguments are given in the output coordinate space and specifies
216 the inner bounds of the shadow. 216 the inner bounds of the shadow.
217 217
218 The arguments are given in the output coordinate space. 218 The arguments are given in the output coordinate space.
219 Specifying zero width and height will disable the shadow. 219 Specifying zero width and height will disable the shadow.
220 </description> 220 </description>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 </description> 391 </description>
392 </request> 392 </request>
393 393
394 <request name="unset_moving" since="2"> 394 <request name="unset_moving" since="2">
395 <description summary="interactive move stopped"> 395 <description summary="interactive move stopped">
396 Notifies the compositor when an interactive, user-driven move of the 396 Notifies the compositor when an interactive, user-driven move of the
397 surface stops. The compositor may choose to stop the move regardless 397 surface stops. The compositor may choose to stop the move regardless
398 of this request. 398 of this request.
399 </description> 399 </description>
400 </request> 400 </request>
401
402 <!-- Version 3 additions -->
403 <request name="set_rectangular_surface_shadow" since="3">
404 <description summary="set a rectangular shadow">
405 Request that surface needs a rectangular shadow.
406
407 This is only a request that the surface should have a rectangular
408 shadow. The compositor may choose to ignore this request.
409
410 The arguments are given in the remote surface coordinate space and
411 specifies inner bounds of the shadow.
412
413 The arguments are given in the remote surface coordinate space.
reveman 2017/02/03 02:22:18 nit: you already mention this above
oshima 2017/02/03 17:33:16 Done.
414 Specifying zero width and height will disable the shadow.
415 </description>
416 <arg name="x" type="int"/>
417 <arg name="y" type="int"/>
418 <arg name="width" type="int"/>
419 <arg name="height" type="int"/>
420 </request>
421
401 </interface> 422 </interface>
402 423
403 <interface name="zcr_notification_surface_v1" version="1"> 424 <interface name="zcr_notification_surface_v1" version="1">
404 <description summary="A notification window"> 425 <description summary="A notification window">
405 An interface that may be implemented by a wl_surface to host 426 An interface that may be implemented by a wl_surface to host
406 notification contents. 427 notification contents.
407 </description> 428 </description>
408 429
409 <request name="destroy" type="destructor"> 430 <request name="destroy" type="destructor">
410 <description summary="Destroy the notification_surface"> 431 <description summary="Destroy the notification_surface">
411 Unmap and destroy the notification surface. 432 Unmap and destroy the notification surface.
412 </description> 433 </description>
413 </request> 434 </request>
414 </interface> 435 </interface>
415 436
416 </protocol> 437 </protocol>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698