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

Side by Side Diff: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h

Issue 2295323003: third_party: Update remote shell protocol to version 2 (Closed)
Patch Set: Migrate to "zcr" interfaces Created 4 years, 2 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 | « no previous file | third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Generated by wayland-scanner 1.11.0 */ 1 /* Generated by wayland-scanner 1.11.0 */
2 2
3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H
4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H 4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H
5 5
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <stddef.h> 7 #include <stddef.h>
8 #include "wayland-client.h" 8 #include "wayland-client.h"
9 9
10 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 #define ZCR_REMOTE_SURFACE_V1_ACTIVATE 8 496 #define ZCR_REMOTE_SURFACE_V1_ACTIVATE 8
497 #define ZCR_REMOTE_SURFACE_V1_MAXIMIZE 9 497 #define ZCR_REMOTE_SURFACE_V1_MAXIMIZE 9
498 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE 10 498 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE 10
499 #define ZCR_REMOTE_SURFACE_V1_RESTORE 11 499 #define ZCR_REMOTE_SURFACE_V1_RESTORE 11
500 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN 12 500 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN 12
501 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN 13 501 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN 13
502 #define ZCR_REMOTE_SURFACE_V1_PIN 14 502 #define ZCR_REMOTE_SURFACE_V1_PIN 14
503 #define ZCR_REMOTE_SURFACE_V1_UNPIN 15 503 #define ZCR_REMOTE_SURFACE_V1_UNPIN 15
504 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16 504 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16
505 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17 505 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17
506 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING 18
507 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING 19
506 508
507 /** 509 /**
508 * @ingroup iface_zcr_remote_surface_v1 510 * @ingroup iface_zcr_remote_surface_v1
509 */ 511 */
510 #define ZCR_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 512 #define ZCR_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1
511 /** 513 /**
512 * @ingroup iface_zcr_remote_surface_v1 514 * @ingroup iface_zcr_remote_surface_v1
513 */ 515 */
514 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 516 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1
515 /** 517 /**
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 */ 571 */
570 #define ZCR_REMOTE_SURFACE_V1_UNPIN_SINCE_VERSION 1 572 #define ZCR_REMOTE_SURFACE_V1_UNPIN_SINCE_VERSION 1
571 /** 573 /**
572 * @ingroup iface_zcr_remote_surface_v1 574 * @ingroup iface_zcr_remote_surface_v1
573 */ 575 */
574 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL_SINCE_VERSION 1 576 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL_SINCE_VERSION 1
575 /** 577 /**
576 * @ingroup iface_zcr_remote_surface_v1 578 * @ingroup iface_zcr_remote_surface_v1
577 */ 579 */
578 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 580 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1
581 /**
582 * @ingroup iface_zcr_remote_surface_v1
583 */
584 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING_SINCE_VERSION 2
585 /**
586 * @ingroup iface_zcr_remote_surface_v1
587 */
588 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING_SINCE_VERSION 2
579 589
580 /** @ingroup iface_zcr_remote_surface_v1 */ 590 /** @ingroup iface_zcr_remote_surface_v1 */
581 static inline void 591 static inline void
582 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur face_v1, void *user_data) 592 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur face_v1, void *user_data)
583 { 593 {
584 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d ata); 594 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d ata);
585 } 595 }
586 596
587 /** @ingroup iface_zcr_remote_surface_v1 */ 597 /** @ingroup iface_zcr_remote_surface_v1 */
588 static inline void * 598 static inline void *
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 * 893 *
884 * Suggests a surface should become non system modal. 894 * Suggests a surface should become non system modal.
885 */ 895 */
886 static inline void 896 static inline void
887 zcr_remote_surface_v1_unset_system_modal(struct zcr_remote_surface_v1 *zcr_remot e_surface_v1) 897 zcr_remote_surface_v1_unset_system_modal(struct zcr_remote_surface_v1 *zcr_remot e_surface_v1)
888 { 898 {
889 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, 899 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
890 ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL); 900 ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL);
891 } 901 }
892 902
903 /**
904 * @ingroup iface_zcr_remote_surface_v1
905 *
906 * Notifies the compositor when an interactive, user-driven move of the
907 * surface starts. The compositor may assume that subsequent
908 * set_window_geometry requests are position updates until it receives a
909 * unset_moving request.
910 */
911 static inline void
912 zcr_remote_surface_v1_set_moving(struct zcr_remote_surface_v1 *zcr_remote_surfac e_v1)
913 {
914 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
915 ZCR_REMOTE_SURFACE_V1_SET_MOVING);
916 }
917
918 /**
919 * @ingroup iface_zcr_remote_surface_v1
920 *
921 * Notifies the compositor when an interactive, user-driven move of the
922 * surface stops. The compositor may choose to stop the move regardless
923 * of this request.
924 */
925 static inline void
926 zcr_remote_surface_v1_unset_moving(struct zcr_remote_surface_v1 *zcr_remote_surf ace_v1)
927 {
928 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
929 ZCR_REMOTE_SURFACE_V1_UNSET_MOVING);
930 }
931
893 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0 932 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0
894 933
895 /** 934 /**
896 * @ingroup iface_zcr_notification_surface_v1 935 * @ingroup iface_zcr_notification_surface_v1
897 */ 936 */
898 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 937 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1
899 938
900 /** @ingroup iface_zcr_notification_surface_v1 */ 939 /** @ingroup iface_zcr_notification_surface_v1 */
901 static inline void 940 static inline void
902 zcr_notification_surface_v1_set_user_data(struct zcr_notification_surface_v1 *zc r_notification_surface_v1, void *user_data) 941 zcr_notification_surface_v1_set_user_data(struct zcr_notification_surface_v1 *zc r_notification_surface_v1, void *user_data)
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); 1836 ZWP_NOTIFICATION_SURFACE_V1_DESTROY);
1798 1837
1799 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); 1838 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1);
1800 } 1839 }
1801 1840
1802 #ifdef __cplusplus 1841 #ifdef __cplusplus
1803 } 1842 }
1804 #endif 1843 #endif
1805 1844
1806 #endif 1845 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698