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

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

Issue 2061763002: third_party: Update to version 5 of remote_shell_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and add set_top_inset Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
index 18012fd35d21e708219184bbec43e7374054b7ed..769a6d9bcc75ffb4c238d23d63d76e98f35b3680 100644
--- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
@@ -375,27 +375,55 @@ struct zwp_remote_surface_v1_interface {
*/
void (*unfullscreen)(struct wl_client *client,
struct wl_resource *resource);
-
/**
- * set_rectangular_shadow
- * Request that surface neesds a rectangular shadow.
- *
- * This is only a request that the surface should have a rectangular
- * shadow. The compositor may choose to ignore this request.
- *
- * The arguments are given in the output coordinate space and specifies
- * the inner bounds of the shadow.
- *
- * The arguments are given in the output coordinate space.
- * Specifying zero width and height will disable the shadow.
+ * set a rectangular shadow
+ *
+ * Request that surface needs a rectangular shadow.
+ *
+ * This is only a request that the surface should have a
+ * rectangular shadow. The compositor may choose to ignore this
+ * request.
+ *
+ * The arguments are given in the output coordinate space and
+ * specifies the inner bounds of the shadow.
+ *
+ * The arguments are given in the output coordinate space.
+ * Specifying zero width and height will disable the shadow.
* @since 4
*/
void (*set_rectangular_shadow)(struct wl_client *client,
- struct wl_resource *resource,
- int32_t x,
- int32_t y,
- int32_t width,
- int32_t height);
+ struct wl_resource *resource,
+ int32_t x,
+ int32_t y,
+ int32_t width,
+ int32_t height);
+ /**
+ * set surface title
+ *
+ * Set a short title for the surface.
+ *
+ * This string may be used to identify the surface in a task bar,
+ * window list, or other user interface elements provided by the
+ * compositor.
+ *
+ * The string must be encoded in UTF-8.
+ * @since 5
+ */
+ void (*set_title)(struct wl_client *client,
+ struct wl_resource *resource,
+ const char *title);
+ /**
+ * set top inset for surface
+ *
+ * Set distance from the top of the surface to the contents.
+ *
+ * This distance typically represents the size of the window
+ * caption.
+ * @since 5
+ */
+ void (*set_top_inset)(struct wl_client *client,
+ struct wl_resource *resource,
+ int32_t height);
};
#define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0

Powered by Google App Engine
This is Rietveld 408576698