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

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

Issue 2295323003: third_party: Update remote shell protocol to version 2 (Closed)
Patch Set: 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
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_SERVER_PROTOCOL_H 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H
4 #define REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H 4 #define REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H
5 5
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <stddef.h> 7 #include <stddef.h>
8 #include "wayland-server.h" 8 #include "wayland-server.h"
9 9
10 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 * compositor may choose to ignore this request. The client should 592 * compositor may choose to ignore this request. The client should
593 * listen to set_pinned events to determine if the window was 593 * listen to set_pinned events to determine if the window was
594 * pinned or not. If trusted flag is non-zero, the app can prevent 594 * pinned or not. If trusted flag is non-zero, the app can prevent
595 * users from exiting the pinned mode. 595 * users from exiting the pinned mode.
596 * @param trusted whether the app can enforce users to stay in the pinned mode. 596 * @param trusted whether the app can enforce users to stay in the pinned mode.
597 * @since 11 597 * @since 11
598 */ 598 */
599 void (*pin_with_trusted_flag)(struct wl_client *client, 599 void (*pin_with_trusted_flag)(struct wl_client *client,
600 struct wl_resource *resource, 600 struct wl_resource *resource,
601 int32_t trusted); 601 int32_t trusted);
602 /**
603 * start client-driven drag
604 *
605 * Notifies the compositor when a client-driven drag of the
606 * surface starts. The compositor may assume that subsequent
607 * set_window_geometry requests are position updates until it
608 * receives a "drop" request.
609 * @since 12
610 */
611 void (*drag)(struct wl_client *client,
612 struct wl_resource *resource);
613 /**
614 * stop client-driven drag
615 *
616 * Notifies the compositor when a client-driven drag of the
617 * surface stops, and whether it was reverted. The compositor may
618 * choose to stop the drag regardless of this request.
619 * @since 12
620 */
621 void (*drop)(struct wl_client *client,
622 struct wl_resource *resource,
623 uint32_t revert);
602 }; 624 };
603 625
604 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 626 #define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0
605 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1 627 #define ZWP_REMOTE_SURFACE_V1_UNSET_FULLSCREEN 1
606 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2 628 #define ZWP_REMOTE_SURFACE_V1_CLOSE 2
607 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3 629 #define ZWP_REMOTE_SURFACE_V1_SET_MAXIMIZED 3
608 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4 630 #define ZWP_REMOTE_SURFACE_V1_UNSET_MAXIMIZED 4
609 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5 631 #define ZWP_REMOTE_SURFACE_V1_SET_MINIMIZED 5
610 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6 632 #define ZWP_REMOTE_SURFACE_V1_UNSET_MINIMIZED 6
611 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7 633 #define ZWP_REMOTE_SURFACE_V1_SET_PINNED 7
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 void (*destroy)(struct wl_client *client, 798 void (*destroy)(struct wl_client *client,
777 struct wl_resource *resource); 799 struct wl_resource *resource);
778 }; 800 };
779 801
780 802
781 #ifdef __cplusplus 803 #ifdef __cplusplus
782 } 804 }
783 #endif 805 #endif
784 806
785 #endif 807 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698