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

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

Issue 2664403004: Use pixel coordinates for shadow underlay bounds (Closed)
Patch Set: update 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
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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 * 366 *
367 * Set a scale factor that will be applied to surface and all 367 * Set a scale factor that will be applied to surface and all
368 * descendants. 368 * descendants.
369 */ 369 */
370 void (*set_scale)(struct wl_client *client, 370 void (*set_scale)(struct wl_client *client,
371 struct wl_resource *resource, 371 struct wl_resource *resource,
372 wl_fixed_t scale); 372 wl_fixed_t scale);
373 /** 373 /**
374 * set a rectangular shadow 374 * set a rectangular shadow
375 * 375 *
376 » * Request that surface needs a rectangular shadow. 376 » * [Deprecated] Request that surface needs a rectangular shadow.
377 * 377 *
378 * This is only a request that the surface should have a 378 * This is only a request that the surface should have a
379 * rectangular shadow. The compositor may choose to ignore this 379 * rectangular shadow. The compositor may choose to ignore this
380 * request. 380 * request.
381 * 381 *
382 * The arguments are given in the output coordinate space and 382 * The arguments are given in the output coordinate space and
383 * specifies the inner bounds of the shadow. 383 * specifies the inner bounds of the shadow.
384 * 384 *
385 * The arguments are given in the output coordinate space. 385 * The arguments are given in the output coordinate space.
386 * Specifying zero width and height will disable the shadow. 386 * Specifying zero width and height will disable the shadow.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 /** 552 /**
553 * interactive move stopped 553 * interactive move stopped
554 * 554 *
555 * Notifies the compositor when an interactive, user-driven move 555 * Notifies the compositor when an interactive, user-driven move
556 * of the surface stops. The compositor may choose to stop the move 556 * of the surface stops. The compositor may choose to stop the move
557 * regardless of this request. 557 * regardless of this request.
558 * @since 2 558 * @since 2
559 */ 559 */
560 void (*unset_moving)(struct wl_client *client, 560 void (*unset_moving)(struct wl_client *client,
561 struct wl_resource *resource); 561 struct wl_resource *resource);
562 /**
563 * set a rectangular shadow
564 *
565 * Request that surface needs a rectangular shadow.
566 *
567 * This is only a request that the surface should have a
568 * rectangular shadow. The compositor may choose to ignore this
569 * request.
570 *
571 * The arguments are given in the remote surface coordinate space
572 * and specifies inner bounds of the shadow.
573 *
574 * The arguments are given in the remote surface coordinate space.
575 * Specifying zero width and height will disable the shadow.
576 * @since 3
577 */
578 void (*set_rectangular_surface_shadow)(struct wl_client *client,
579 struct wl_resource *resource,
580 int32_t x,
581 int32_t y,
582 int32_t width,
583 int32_t height);
562 }; 584 };
563 585
564 #define ZCR_REMOTE_SURFACE_V1_CLOSE 0 586 #define ZCR_REMOTE_SURFACE_V1_CLOSE 0
565 #define ZCR_REMOTE_SURFACE_V1_STATE_TYPE_CHANGED 1 587 #define ZCR_REMOTE_SURFACE_V1_STATE_TYPE_CHANGED 1
566 588
567 /** 589 /**
568 * @ingroup iface_zcr_remote_surface_v1 590 * @ingroup iface_zcr_remote_surface_v1
569 */ 591 */
570 #define ZCR_REMOTE_SURFACE_V1_CLOSE_SINCE_VERSION 1 592 #define ZCR_REMOTE_SURFACE_V1_CLOSE_SINCE_VERSION 1
571 /** 593 /**
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 void (*destroy)(struct wl_client *client, 630 void (*destroy)(struct wl_client *client,
609 struct wl_resource *resource); 631 struct wl_resource *resource);
610 }; 632 };
611 633
612 634
613 #ifdef __cplusplus 635 #ifdef __cplusplus
614 } 636 }
615 #endif 637 #endif
616 638
617 #endif 639 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698