Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 423 specifies inner bounds of the shadow. Specifying zero width and height | 423 specifies inner bounds of the shadow. Specifying zero width and height |
| 424 will disable the shadow. | 424 will disable the shadow. |
| 425 </description> | 425 </description> |
| 426 <arg name="x" type="int"/> | 426 <arg name="x" type="int"/> |
| 427 <arg name="y" type="int"/> | 427 <arg name="y" type="int"/> |
| 428 <arg name="width" type="int"/> | 428 <arg name="width" type="int"/> |
| 429 <arg name="height" type="int"/> | 429 <arg name="height" type="int"/> |
| 430 </request> | 430 </request> |
| 431 | 431 |
| 432 <!-- Version 3 additions --> | 432 <!-- Version 3 additions --> |
| 433 <request name="set_autohide_systemui" since="3"> | |
|
reveman
2017/03/28 16:17:03
hm, adding a version 3 request and making current
yorkelee
2017/03/28 16:23:59
The client is not using version 3 api yet, and we
Dominik Laskowski
2017/03/28 18:07:31
Right, we should bump multi-display to version 4 s
| |
| 434 <description summary="requests whether the surface should autohide the sys tem ui"> | |
| 435 Requests whether or not the surface will autohide the system UI when it is | |
|
oshima
2017/03/28 16:18:17
nit: indent
yorkelee
2017/03/28 17:33:26
Done.
| |
| 436 made active. | |
| 437 </description> | |
| 438 <arg name="autohide" type="int"/> | |
|
oshima
2017/03/28 16:18:18
optional: you may want to use enum to support stic
yorkelee
2017/03/28 17:33:26
Done.
| |
| 439 </request> | |
| 433 | 440 |
| 434 <event name="configure" since="3"> | 441 <!-- Version 4 additions --> |
| 442 | |
| 443 <event name="configure" since="4"> | |
| 435 <description summary="suggest a surface change"> | 444 <description summary="suggest a surface change"> |
| 436 The configure event asks the client to change surface state. | 445 The configure event asks the client to change surface state. |
| 437 | 446 |
| 438 The client must apply the origin offset to window positions in | 447 The client must apply the origin offset to window positions in |
| 439 set_window_geometry requests. | 448 set_window_geometry requests. |
| 440 | 449 |
| 441 The states listed in the event are state_type values, and might change | 450 The states listed in the event are state_type values, and might change |
| 442 due to a client request or an event directly handled by the compositor. | 451 due to a client request or an event directly handled by the compositor. |
| 443 | 452 |
| 444 Clients should arrange their surface for the new state, and then send an | 453 Clients should arrange their surface for the new state, and then send an |
| 445 ack_configure request with the serial sent in this configure event at | 454 ack_configure request with the serial sent in this configure event at |
| 446 some point before committing the new surface. | 455 some point before committing the new surface. |
| 447 | 456 |
| 448 If the client receives multiple configure events before it can respond | 457 If the client receives multiple configure events before it can respond |
| 449 to one, it is free to discard all but the last event it received. | 458 to one, it is free to discard all but the last event it received. |
| 450 </description> | 459 </description> |
| 451 <arg name="origin_offset_x" type="int"/> | 460 <arg name="origin_offset_x" type="int"/> |
| 452 <arg name="origin_offset_y" type="int"/> | 461 <arg name="origin_offset_y" type="int"/> |
| 453 <arg name="states" type="array"/> | 462 <arg name="states" type="array"/> |
| 454 <arg name="serial" type="uint"/> | 463 <arg name="serial" type="uint"/> |
| 455 </event> | 464 </event> |
| 456 | 465 |
| 457 <request name="ack_configure" since="3"> | 466 <request name="ack_configure" since="4"> |
| 458 <description summary="ack a configure event"> | 467 <description summary="ack a configure event"> |
| 459 When a configure event is received, if a client commits the | 468 When a configure event is received, if a client commits the |
| 460 surface in response to the configure event, then the client | 469 surface in response to the configure event, then the client |
| 461 must make an ack_configure request sometime before the commit | 470 must make an ack_configure request sometime before the commit |
| 462 request, passing along the serial of the configure event. | 471 request, passing along the serial of the configure event. |
| 463 | 472 |
| 464 For instance, the compositor might use this information during display | 473 For instance, the compositor might use this information during display |
| 465 configuration to change its coordinate space for set_window_geometry | 474 configuration to change its coordinate space for set_window_geometry |
| 466 requests only when the client has switched to the new coordinate space. | 475 requests only when the client has switched to the new coordinate space. |
| 467 | 476 |
| 468 If the client receives multiple configure events before it | 477 If the client receives multiple configure events before it |
| 469 can respond to one, it only has to ack the last configure event. | 478 can respond to one, it only has to ack the last configure event. |
| 470 | 479 |
| 471 A client is not required to commit immediately after sending | 480 A client is not required to commit immediately after sending |
| 472 an ack_configure request - it may even ack_configure several times | 481 an ack_configure request - it may even ack_configure several times |
| 473 before its next surface commit. | 482 before its next surface commit. |
| 474 | 483 |
| 475 A client may send multiple ack_configure requests before committing, but | 484 A client may send multiple ack_configure requests before committing, but |
| 476 only the last request sent before a commit indicates which configure | 485 only the last request sent before a commit indicates which configure |
| 477 event the client really is responding to. | 486 event the client really is responding to. |
| 478 </description> | 487 </description> |
| 479 <arg name="serial" type="uint" summary="the serial from the configure even t"/> | 488 <arg name="serial" type="uint" summary="the serial from the configure even t"/> |
| 480 </request> | 489 </request> |
| 481 | 490 |
| 482 <request name="move" since="3"> | 491 <request name="move" since="4"> |
| 483 <description summary="start an interactive move"> | 492 <description summary="start an interactive move"> |
| 484 Start an interactive, user-driven move of the surface. | 493 Start an interactive, user-driven move of the surface. |
| 485 | 494 |
| 486 The compositor responds to this request with a configure event that | 495 The compositor responds to this request with a configure event that |
| 487 transitions to the "moving" state. The client must only initiate motion | 496 transitions to the "moving" state. The client must only initiate motion |
| 488 after acknowledging the state change. The compositor can assume that | 497 after acknowledging the state change. The compositor can assume that |
| 489 subsequent set_window_geometry requests are position updates until the | 498 subsequent set_window_geometry requests are position updates until the |
| 490 next state transition is acknowledged. | 499 next state transition is acknowledged. |
| 491 | 500 |
| 492 The compositor may ignore move requests depending on the state of the | 501 The compositor may ignore move requests depending on the state of the |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 503 </description> | 512 </description> |
| 504 | 513 |
| 505 <request name="destroy" type="destructor"> | 514 <request name="destroy" type="destructor"> |
| 506 <description summary="Destroy the notification_surface"> | 515 <description summary="Destroy the notification_surface"> |
| 507 Unmap and destroy the notification surface. | 516 Unmap and destroy the notification surface. |
| 508 </description> | 517 </description> |
| 509 </request> | 518 </request> |
| 510 </interface> | 519 </interface> |
| 511 | 520 |
| 512 </protocol> | 521 </protocol> |
| OLD | NEW |