text, inputmethod: Add capital mode protocols 11/93711/3
authorLi Zhang <li2012.zhang@samsung.com>
Tue, 25 Oct 2016 10:44:44 +0000 (18:44 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 31 Oct 2016 01:57:26 +0000 (10:57 +0900)
Change-Id: Ib1303511c641d7c97a06f1cc5074f17d28eb658a

protocol/input-method.xml
protocol/text.xml

index b60d37f11e2279605a1a26ab5fcbcf8258899d9c..41d153edb4fbaa500c3b37eabc32e138e958f688 100644 (file)
     <event name="reset_sync">
       <arg name="serial" type="uint"/>
     </event>
+    <event name="capital_mode">
+      <arg name="mode" type="uint"/>
+    </event>
   </interface>
 
   <interface name="wl_input_method" version="1">
index f9bd1d7b5f20b3f32ef7988f482eed6bbdd9232b..a491c467c946d86ccca786592904c0ad6637e02d 100644 (file)
         Get permission to hide input panel.
       </description>
     </request>
+    <enum name="capital_mode">
+      <description summary="capital mode">
+        This allows to specify capital mode on the input panel.
+      </description>
+      <entry name="uppercase" value="0" summary="uppercase"/>
+      <entry name="lowercase" value="1" summary="lowercase"/>
+    </enum>
+    <request name="set_capital_mode">
+      <arg name="mode" type="uint"/>
+    </request>
     <event name="enter">
       <description summary="enter event">
         Notify the text-input object when it received focus. Typically in