Add zcr_input_method_surface_v1 interface.

zcr_input_method_surface_v1 is an interface implemented by wl_surface
that hosts IME windows.

Bug: 74499980
Test: m
Change-Id: Icd424ad6a498c6bf887544fa49732e117365e3ec
diff --git a/chromium.org/unstable/remote-shell/remote-shell-unstable-v1.xml b/chromium.org/unstable/remote-shell/remote-shell-unstable-v1.xml
index 2eb675a..ef9402d 100644
--- a/chromium.org/unstable/remote-shell/remote-shell-unstable-v1.xml
+++ b/chromium.org/unstable/remote-shell/remote-shell-unstable-v1.xml
@@ -38,7 +38,7 @@
     reset.
   </description>
 
-  <interface name="zcr_remote_shell_v1" version="16">
+  <interface name="zcr_remote_shell_v1" version="17">
     <description summary="remote_shell">
       The global interface that allows clients to turn a wl_surface into a
       "real window" which is remotely managed but can be stacked, activated
@@ -182,6 +182,17 @@
       </description>
       <arg name="scale" type="int" summary="DP to pixels ratio, in 8.24 fixed point format"/>
     </event>
+
+    <!-- Version 17 additions -->
+
+    <request name="get_input_method_surface" since="17">
+      <description summary="Create a input method surface from a surface">
+	Creates an input_method_surface for the given surface, gives it
+	the input_method_surface role.
+      </description>
+      <arg name="id" type="new_id" interface="zcr_input_method_surface_v1"/>
+      <arg name="surface" type="object" interface="wl_surface"/>
+    </request>
   </interface>
 
   <interface name="zcr_remote_surface_v1" version="15">
@@ -550,7 +561,7 @@
 
     <request name="move" since="5">
       <description summary="start an interactive move">
-	Start an interactive, user-driven move of the surface.
+	[Deprecated] Start an interactive, user-driven move of the surface.
 
 	The compositor responds to this request with a configure event that
 	transitions to the "moving" state. The client must only initiate motion
@@ -916,4 +927,16 @@
     </request>
   </interface>
 
+  <interface name="zcr_input_method_surface_v1" version="17">
+    <description summary="An input method window">
+      An interface that may be implemented by a wl_surface to host IME contents.
+    </description>
+
+    <request name="destroy" type="destructor">
+      <description summary="Destroy the ime_surface">
+	Unmap and destroy the input mtehod surface.
+      </description>
+    </request>
+  </interface>
+
 </protocol>