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

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

Issue 2666953004: third_party: Amend version 2 of remote shell protocol (Closed)
Patch Set: 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
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 This is an event to notify that the window state changed in compositor. 375 This is an event to notify that the window state changed in compositor.
376 The state change may be triggered by a client's request, or some user 376 The state change may be triggered by a client's request, or some user
377 action directly handled by the compositor. The client may choose to 377 action directly handled by the compositor. The client may choose to
378 ignore this event. 378 ignore this event.
379 </description> 379 </description>
380 <arg name="state_type" type="uint"/> 380 <arg name="state_type" type="uint"/>
381 </event> 381 </event>
382 382
383 <!-- Version 2 additions --> 383 <!-- Version 2 additions -->
384 384
385 <event name="configure" since="2">
386 <description summary="suggest a surface change">
387 The configure event asks the client to change surface state.
388
389 The origin arguments specify the position, in the compositor coordinate
390 space, of the virtual display used by the client to simulate multiple
391 displays. The client must offset window positions in set_window_geometry
392 requests by this origin in order to convert between coordinate spaces.
393
394 Clients should arrange their surface for the new state, and then send an
395 ack_configure request with the serial sent in this configure event at
396 some point before committing the new surface.
397
398 If the client receives multiple configure events before it can respond
399 to one, it is free to discard all but the last event it received.
400 </description>
401 <arg name="origin_x" type="int"/>
402 <arg name="origin_y" type="int"/>
403 <arg name="serial" type="uint"/>
404 </event>
405
406 <request name="ack_configure" since="2">
407 <description summary="ack a configure event">
408 When a configure event is received, if a client commits the
409 surface in response to the configure event, then the client
410 must make an ack_configure request sometime before the commit
411 request, passing along the serial of the configure event.
412
413 For instance, the compositor might use this information during display
414 configuration to change its coordinate space for set_window_geometry
415 requests only when the client has switched to the new coordinate space.
416
417 If the client receives multiple configure events before it
418 can respond to one, it only has to ack the last configure event.
419
420 A client is not required to commit immediately after sending
421 an ack_configure request - it may even ack_configure several times
422 before its next surface commit.
423
424 A client may send multiple ack_configure requests before committing, but
425 only the last request sent before a commit indicates which configure
426 event the client really is responding to.
427 </description>
428 <arg name="serial" type="uint" summary="the serial from the configure even t"/>
429 </request>
430
385 <request name="set_moving" since="2"> 431 <request name="set_moving" since="2">
386 <description summary="interactive move started"> 432 <description summary="interactive move started">
387 Notifies the compositor when an interactive, user-driven move of the 433 Notifies the compositor when an interactive, user-driven move of the
388 surface starts. The compositor may assume that subsequent 434 surface starts. The compositor may assume that subsequent
389 set_window_geometry requests are position updates until it receives a 435 set_window_geometry requests are position updates until it receives a
390 unset_moving request. 436 unset_moving request.
391 </description> 437 </description>
392 </request> 438 </request>
393 439
394 <request name="unset_moving" since="2"> 440 <request name="unset_moving" since="2">
(...skipping 12 matching lines...) Expand all
407 </description> 453 </description>
408 454
409 <request name="destroy" type="destructor"> 455 <request name="destroy" type="destructor">
410 <description summary="Destroy the notification_surface"> 456 <description summary="Destroy the notification_surface">
411 Unmap and destroy the notification surface. 457 Unmap and destroy the notification surface.
412 </description> 458 </description>
413 </request> 459 </request>
414 </interface> 460 </interface>
415 461
416 </protocol> 462 </protocol>
OLDNEW
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698