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

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

Issue 2184103003: arc: Implement proper Arc window activation for task moving to front. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase Created 4 years, 5 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-client-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
index 2954a0321081e8a26b7b0dc62d1be8d5df82b0ea..d122a7a09ebe9b300166194e85dc468c3cb45292 100644
--- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
@@ -547,6 +547,7 @@ zwp_remote_surface_v1_add_listener(struct zwp_remote_surface_v1 *zwp_remote_surf
#define ZWP_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 14
#define ZWP_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 15
#define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY 16
+#define ZWP_REMOTE_SURFACE_V1_ACTIVATE 17
/**
* @ingroup iface_zwp_remote_surface_v1
@@ -616,6 +617,10 @@ zwp_remote_surface_v1_add_listener(struct zwp_remote_surface_v1 *zwp_remote_surf
* @ingroup iface_zwp_remote_surface_v1
*/
#define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY_SINCE_VERSION 9
+/**
+ * @ingroup iface_zwp_remote_surface_v1
+ */
+#define ZWP_REMOTE_SURFACE_V1_ACTIVATE_SINCE_VERSION 10
/** @ingroup iface_zwp_remote_surface_v1 */
static inline void
@@ -917,6 +922,18 @@ zwp_remote_surface_v1_set_rectangular_shadow_background_opacity(struct zwp_remot
ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_BACKGROUND_OPACITY, opacity);
}
+/**
+ * @ingroup iface_zwp_remote_surface_v1
+ *
+ * Make the surface active and bring it to the front.
+ */
+static inline void
+zwp_remote_surface_v1_activate(struct zwp_remote_surface_v1 *zwp_remote_surface_v1, uint32_t serial)
+{
+ wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1,
+ ZWP_REMOTE_SURFACE_V1_ACTIVATE, serial);
+}
+
#define ZWP_NOTIFICATION_SURFACE_V1_DESTROY 0
/**

Powered by Google App Engine
This is Rietveld 408576698