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

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

Issue 2276443002: Add new wayland request to enter screen locking mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix format. Created 4 years, 3 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 */ 177 */
178 ZWP_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3, 178 ZWP_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3,
179 /** 179 /**
180 * fullscreen window state 180 * fullscreen window state
181 */ 181 */
182 ZWP_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4, 182 ZWP_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4,
183 /** 183 /**
184 * pinned window state 184 * pinned window state
185 */ 185 */
186 ZWP_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5, 186 ZWP_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5,
187 /**
188 * trusted pinned window state
189 */
190 ZWP_REMOTE_SHELL_V1_STATE_TYPE_TRUSTED_PINNED = 6,
187 }; 191 };
188 #endif /* ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM */ 192 #endif /* ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM */
189 193
190 #ifndef ZWP_REMOTE_SHELL_V1_ERROR_ENUM 194 #ifndef ZWP_REMOTE_SHELL_V1_ERROR_ENUM
191 #define ZWP_REMOTE_SHELL_V1_ERROR_ENUM 195 #define ZWP_REMOTE_SHELL_V1_ERROR_ENUM
192 enum zwp_remote_shell_v1_error { 196 enum zwp_remote_shell_v1_error {
193 /** 197 /**
194 * given wl_surface has another role 198 * given wl_surface has another role
195 */ 199 */
196 ZWP_REMOTE_SHELL_V1_ERROR_ROLE = 0, 200 ZWP_REMOTE_SHELL_V1_ERROR_ROLE = 0,
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 #define ZWP_REMOTE_SURFACE_V1_PIN 8 545 #define ZWP_REMOTE_SURFACE_V1_PIN 8
542 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9 546 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9
543 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10 547 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10
544 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11 548 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11
545 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE 12 549 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE 12
546 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET 13 550 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET 13
547 #define ZWP_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 14 551 #define ZWP_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 14
548 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 15 552 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 15
549 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 16 553 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 16
550 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE 17 554 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE 17
555 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG 18
551 556
552 /** 557 /**
553 * @ingroup iface_zwp_remote_surface_v1 558 * @ingroup iface_zwp_remote_surface_v1
554 */ 559 */
555 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 560 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1
556 /** 561 /**
557 * @ingroup iface_zwp_remote_surface_v1 562 * @ingroup iface_zwp_remote_surface_v1
558 */ 563 */
559 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 564 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1
560 /** 565 /**
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 */ 619 */
615 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 8 620 #define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 8
616 /** 621 /**
617 * @ingroup iface_zwp_remote_surface_v1 622 * @ingroup iface_zwp_remote_surface_v1
618 */ 623 */
619 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VE RSION 9 624 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VE RSION 9
620 /** 625 /**
621 * @ingroup iface_zwp_remote_surface_v1 626 * @ingroup iface_zwp_remote_surface_v1
622 */ 627 */
623 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 10 628 #define ZWP_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 10
629 /**
630 * @ingroup iface_zwp_remote_surface_v1
631 */
632 #define ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG_SINCE_VERSION 11
624 633
625 /** @ingroup iface_zwp_remote_surface_v1 */ 634 /** @ingroup iface_zwp_remote_surface_v1 */
626 static inline void 635 static inline void
627 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur face_v1, void *user_data) 636 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur face_v1, void *user_data)
628 { 637 {
629 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d ata); 638 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d ata);
630 } 639 }
631 640
632 /** @ingroup iface_zwp_remote_surface_v1 */ 641 /** @ingroup iface_zwp_remote_surface_v1 */
633 static inline void * 642 static inline void *
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 * 936 *
928 * Make the surface active and bring it to the front. 937 * Make the surface active and bring it to the front.
929 */ 938 */
930 static inline void 939 static inline void
931 zwp_remote_surface_v1_activate(struct zwp_remote_surface_v1 *zwp_remote_surface_ v1, uint32_t serial) 940 zwp_remote_surface_v1_activate(struct zwp_remote_surface_v1 *zwp_remote_surface_ v1, uint32_t serial)
932 { 941 {
933 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, 942 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1,
934 ZWP_REMOTE_SURFACE_V1_ACTIVATE, serial); 943 ZWP_REMOTE_SURFACE_V1_ACTIVATE, serial);
935 } 944 }
936 945
946 /**
947 * @ingroup iface_zwp_remote_surface_v1
948 *
949 * Request that surface is pinned.
950 *
951 * This is only a request that the window should be pinned.
952 * The compositor may choose to ignore this request. The client should
953 * listen to set_pinned events to determine if the window was
954 * pinned or not. If trusted flag is non-zero, the app can prevent users
955 * from exiting the pinned mode.
956 */
957 static inline void
958 zwp_remote_surface_v1_pin_with_trusted_flag(struct zwp_remote_surface_v1 *zwp_re mote_surface_v1, int32_t trusted)
959 {
960 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1,
961 ZWP_REMOTE_SURFACE_V1_PIN_WITH_TRUSTED_FLAG, trusted);
962 }
963
937 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY 0 964 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY 0
938 965
939 /** 966 /**
940 * @ingroup iface_zwp_notification_surface_v1 967 * @ingroup iface_zwp_notification_surface_v1
941 */ 968 */
942 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 969 #define ZWP_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1
943 970
944 /** @ingroup iface_zwp_notification_surface_v1 */ 971 /** @ingroup iface_zwp_notification_surface_v1 */
945 static inline void 972 static inline void
946 zwp_notification_surface_v1_set_user_data(struct zwp_notification_surface_v1 *zw p_notification_surface_v1, void *user_data) 973 zwp_notification_surface_v1_set_user_data(struct zwp_notification_surface_v1 *zw p_notification_surface_v1, void *user_data)
(...skipping 26 matching lines...) Expand all
973 ZWP_NOTIFICATION_SURFACE_V1_DESTROY); 1000 ZWP_NOTIFICATION_SURFACE_V1_DESTROY);
974 1001
975 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1); 1002 wl_proxy_destroy((struct wl_proxy *) zwp_notification_surface_v1);
976 } 1003 }
977 1004
978 #ifdef __cplusplus 1005 #ifdef __cplusplus
979 } 1006 }
980 #endif 1007 #endif
981 1008
982 #endif 1009 #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