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

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

Issue 2110903003: Revert of third_party: Update to version 8 of remote_shell_protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 eb574708ca0b6e43b460353cf5b12b5ea3de4ed6..af363f4fcc6e311b9cd2c75fa42dcb7a5b84a60a 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
@@ -204,26 +204,6 @@
};
#endif /* ZWP_REMOTE_SHELL_V1_ERROR_ENUM */
-#ifndef ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM
-#define ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM
-/**
- * @ingroup iface_zwp_remote_shell_v1
- * the layout mode
- *
- * Determine how a client should layout surfaces.
- */
-enum zwp_remote_shell_v1_layout_mode {
- /**
- * mulitple windows
- */
- ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_WINDOWED = 1,
- /**
- * restricted mode for table
- */
- ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_TABLET = 2,
-};
-#endif /* ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM */
-
/**
* @ingroup iface_zwp_remote_shell_v1
* @struct zwp_remote_shell_v1_interface
@@ -274,7 +254,6 @@
#define ZWP_REMOTE_SHELL_V1_CONFIGURE 0
#define ZWP_REMOTE_SHELL_V1_ACTIVATED 1
-#define ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_CHANGED 2
/**
* @ingroup iface_zwp_remote_shell_v1
@@ -284,10 +263,6 @@
* @ingroup iface_zwp_remote_shell_v1
*/
#define ZWP_REMOTE_SHELL_V1_ACTIVATED_SINCE_VERSION 1
-/**
- * @ingroup iface_zwp_remote_shell_v1
- */
-#define ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_CHANGED_SINCE_VERSION 8
/**
* @ingroup iface_zwp_remote_shell_v1
@@ -309,17 +284,6 @@
zwp_remote_shell_v1_send_activated(struct wl_resource *resource_, struct wl_resource *gained_active, struct wl_resource *lost_active)
{
wl_resource_post_event(resource_, ZWP_REMOTE_SHELL_V1_ACTIVATED, gained_active, lost_active);
-}
-
-/**
- * @ingroup iface_zwp_remote_shell_v1
- * Sends an layout_mode_changed event to the client owning the resource.
- * @param resource_ The client's resource
- */
-static inline void
-zwp_remote_shell_v1_send_layout_mode_changed(struct wl_resource *resource_, uint32_t layout_mode)
-{
- wl_resource_post_event(resource_, ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_CHANGED, layout_mode);
}
/**
@@ -527,22 +491,6 @@
void (*set_top_inset)(struct wl_client *client,
struct wl_resource *resource,
int32_t height);
- /**
- * suggests a re-layout of remote shell input area
- *
- * Suggests a surface should become system modal.
- * @since 8
- */
- void (*set_system_modal)(struct wl_client *client,
- struct wl_resource *resource);
- /**
- * suggests a re-layout of remote shell input area
- *
- * Suggests a surface should become non system modal.
- * @since 8
- */
- void (*unset_system_modal)(struct wl_client *client,
- struct wl_resource *resource);
};
#define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0

Powered by Google App Engine
This is Rietveld 408576698