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

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

Issue 2189073003: Add configuration_changed event and set_background_opacity request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated interface comment Created 4 years, 4 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="zwp_remote_shell_v1" version="8"> 41 <interface name="zwp_remote_shell_v1" version="9">
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 See the documentation of remote_surface for more details about what an 100 See the documentation of remote_surface for more details about what an
101 remote_surface is and how it is used. 101 remote_surface is and how it is used.
102 </description> 102 </description>
103 <arg name="id" type="new_id" interface="zwp_remote_surface_v1"/> 103 <arg name="id" type="new_id" interface="zwp_remote_surface_v1"/>
104 <arg name="surface" type="object" interface="wl_surface"/> 104 <arg name="surface" type="object" interface="wl_surface"/>
105 <arg name="container" type="uint"/> 105 <arg name="container" type="uint"/>
106 </request> 106 </request>
107 107
108 <event name="configure"> 108 <event name="configure">
109 <description summary="suggests a re-layout of remote shell"> 109 <description summary="suggests a re-layout of remote shell">
110 » Suggests a re-layout of remote surface geometry. 110 » Obsolete: Suggests a re-layout of remote surface geometry.
111 </description> 111 </description>
112 <arg name="width" type="int"/> 112 <arg name="width" type="int"/>
113 <arg name="height" type="int"/> 113 <arg name="height" type="int"/>
114 <arg name="work_area_inset_left" type="int"/> 114 <arg name="work_area_inset_left" type="int"/>
115 <arg name="work_area_inset_top" type="int"/> 115 <arg name="work_area_inset_top" type="int"/>
116 <arg name="work_area_inset_right" type="int"/> 116 <arg name="work_area_inset_right" type="int"/>
117 <arg name="work_area_inset_bottom" type="int"/> 117 <arg name="work_area_inset_bottom" type="int"/>
118 </event> 118 </event>
119 119
120 <event name="activated"> 120 <event name="activated">
(...skipping 13 matching lines...) Expand all
134 </description> 134 </description>
135 <arg name="id" type="new_id" interface="zwp_notification_surface_v1"/> 135 <arg name="id" type="new_id" interface="zwp_notification_surface_v1"/>
136 <arg name="surface" type="object" interface="wl_surface"/> 136 <arg name="surface" type="object" interface="wl_surface"/>
137 <arg name="notification_id" type="string" /> 137 <arg name="notification_id" type="string" />
138 </request> 138 </request>
139 139
140 <!-- Version 8 additions --> 140 <!-- Version 8 additions -->
141 141
142 <event name="layout_mode_changed" since="8"> 142 <event name="layout_mode_changed" since="8">
143 <description summary="layout mode changed"> 143 <description summary="layout mode changed">
144 » The shell_mode_changed event is sent by the compositor when 144 » Obsolete: The shell_mode_changed event is sent by the compositor when
145 the shell mode was changed. 145 the shell mode was changed.
146 146
147 This is an event to notify that the shell mode has switched. 147 This is an event to notify that the shell mode has switched.
148 </description> 148 </description>
149 <arg name="layout_mode" type="uint"/> 149 <arg name="layout_mode" type="uint"/>
150 </event> 150 </event>
151
152 <!-- Version 9 additions -->
153
154 <event name="display_changed" since="9">
reveman 2016/07/28 19:52:02 nit: we don't really have a "display" concept in a
oshima 2016/07/28 22:49:48 done.
155 <description summary="suggests a re-configuration of display for remote sh ell">
reveman 2016/07/28 19:52:02 nit: s/of display for remote shell/of remote shell
oshima 2016/07/28 22:49:48 Done.
156 Suggests a re-configuration of display for remote shell.
reveman 2016/07/28 19:52:01 nit: ditto
oshima 2016/07/28 22:49:48 Done.
157 </description>
158 <arg name="output_origin_x" type="int"/>
159 <arg name="output_origin_y" type="int"/>
reveman 2016/07/28 19:52:02 nit: origin_x/y btw, what's this used for? do we
oshima 2016/07/28 22:49:48 Removed.
160 <arg name="output_width_mm" type="int"/>
161 <arg name="output_height_mm" type="int"/>
reveman 2016/07/28 19:52:02 nit: width/height_mm
oshima 2016/07/28 22:49:48 Done.
162 <arg name="output_subpixel_layout" type="int"/>
reveman 2016/07/28 19:52:02 nit: subpixel_layout, do we really need this?
oshima 2016/07/28 22:49:48 Removed. We may need it in the future for proper f
163 <arg name="output_transform" type="int"/>
reveman 2016/07/28 19:52:02 nit: name="transform"
oshima 2016/07/28 22:49:48 Done.
164
165 <arg name="output_mode_width_pixels" type="int"/>
166 <arg name="output_mode_height_pixels" type="int"/>
reveman 2016/07/28 19:52:02 do we need these? is display_width/height below no
oshima 2016/07/28 22:49:48 They're both used (for physical size and logical p
167 <arg name="output_mode_refresh_rate_mhz" type="int"/>
reveman 2016/07/28 19:52:01 please remove if not needed
oshima 2016/07/28 22:49:48 It looks to me this is used. (it's passed to hwc)
168 <arg name="display_scale_factor" type="fixed"/>
reveman 2016/07/28 19:52:02 nit: name="scale_factor"
169 <arg name="display_width" type="int"/>
170 <arg name="display_height" type="int"/>
reveman 2016/07/28 19:52:02 nit: name="width"/"height"
oshima 2016/07/28 22:49:48 done.
171 <arg name="work_area_inset_left" type="int"/>
172 <arg name="work_area_inset_top" type="int"/>
173 <arg name="work_area_inset_right" type="int"/>
174 <arg name="work_area_inset_bottom" type="int"/>
175 <arg name="layout_mode" type="uint"/>
176 </event>
151 </interface> 177 </interface>
152 178
153 <interface name="zwp_remote_surface_v1" version="8"> 179 <interface name="zwp_remote_surface_v1" version="9">
154 <description summary="A desktop window"> 180 <description summary="A desktop window">
155 An interface that may be implemented by a wl_surface, for 181 An interface that may be implemented by a wl_surface, for
156 implementations that provide a desktop-style user interface 182 implementations that provide a desktop-style user interface
157 and allows for remotely managed windows. 183 and allows for remotely managed windows.
158 184
159 It provides requests to treat surfaces like windows, allowing to set 185 It provides requests to treat surfaces like windows, allowing to set
160 properties like app id and geometry. 186 properties like app id and geometry.
161 187
162 The client must call wl_surface.commit on the corresponding wl_surface 188 The client must call wl_surface.commit on the corresponding wl_surface
163 for the remote_surface state to take effect. 189 for the remote_surface state to take effect.
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 <description summary="suggests a re-layout of remote shell input area"> 488 <description summary="suggests a re-layout of remote shell input area">
463 Suggests a surface should become system modal. 489 Suggests a surface should become system modal.
464 </description> 490 </description>
465 </request> 491 </request>
466 492
467 <request name="unset_system_modal" since="8"> 493 <request name="unset_system_modal" since="8">
468 <description summary="suggests a re-layout of remote shell input area"> 494 <description summary="suggests a re-layout of remote shell input area">
469 Suggests a surface should become non system modal. 495 Suggests a surface should become non system modal.
470 </description> 496 </description>
471 </request> 497 </request>
498
499 <!-- Version 9 additions -->
500
501 <request name="set_background_opacity" since="9">
reveman 2016/07/28 19:52:02 nit: set_rectangular_shadow_background_opacity as
oshima 2016/07/28 22:49:48 I'd just change the background for now. We can adj
502 <description summary="suggests the window's background opacity">
503 Suggests the window's background opacity.
504 </description>
505 <arg name="opacity" type="fixed"/>
506 </request>
507
472 </interface> 508 </interface>
473 509
474 <!-- Version 6 additions --> 510 <!-- Version 6 additions -->
475 511
476 <interface name="zwp_notification_surface_v1" version="6"> 512 <interface name="zwp_notification_surface_v1" version="6">
477 <description summary="A notification window"> 513 <description summary="A notification window">
478 An interface that may be implemented by a wl_surface to host 514 An interface that may be implemented by a wl_surface to host
479 notification contents. 515 notification contents.
480 </description> 516 </description>
481 517
482 <request name="destroy" type="destructor"> 518 <request name="destroy" type="destructor">
483 <description summary="Destroy the notification_surface"> 519 <description summary="Destroy the notification_surface">
484 Unmap and destroy the notification surface. 520 Unmap and destroy the notification surface.
485 </description> 521 </description>
486 </request> 522 </request>
487 </interface> 523 </interface>
488 524
489 </protocol> 525 </protocol>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698