tizen-extension: add query_parent_size request to tizen_viewport 12/94312/3
authorBoram Park <boram1288.park@samsung.com>
Sun, 23 Oct 2016 03:29:52 +0000 (12:29 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 2 Nov 2016 02:43:38 +0000 (19:43 -0700)
Change-Id: I4105239b8d5b9eebad63033f164a6eb213d6d0c3

protocol/tizen-extension.xml

index b4a6a8eafda8d17c2130fbad7636635b1aed4b51..ec579ad033bb4fdf5431ce9920c5eb65248391c2 100644 (file)
       <arg name="id" type="new_id" interface="tizen_destination_mode" />
     </request>
 
+    <request name="query_parent_size" since="1">
+      <description summary="set the ratio destination rectalge in a parent surface">
+    A client can asks the display server to send the size of tizen_viewport object's
+    parent surface. Once a client requests it, the "parent_size" event will be sent
+    whenever the parent surface's size is changed.
+      </description>
+    </request>
+
+    <event name="parent_size">
+      <arg name="width" type="uint" />
+      <arg name="height" type="uint" />
+    </event>
+
   </interface>
 
   <interface name="tizen_destination_mode" version="1">