atspi: handle "gesture_required" attribute 05/142105/7
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 2 Aug 2017 12:15:56 +0000 (21:15 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 4 Aug 2017 10:45:52 +0000 (10:45 +0000)
commit5d6437d1d794808792ce92ae422ccf9032975071
tree4fe2cb6c13325628b735f88bd7938683fe1e8f7d
parentfe4a3a01f28d13699a4770908af53dbe545b15da
atspi: handle "gesture_required" attribute

The elementary sends the "detail2" information highlight based on the attribute
"gesture_required" when an object grabs.

If an object has attribute key "gesture_required", and "scroll" for its value,
then the "detail2" is 1. Otherwise, the "detail2" is 0.

The screen-reader AT client calls "ObjectNeedsScrollGesture" method of
e-mod-tizen-screen-reader window manager module with object geometry value,
if the "detail2" is 1. Otherwise, the object geometry value is not used.

The e-mod-tizen-screen-reader window manager module will send mouse event
based on the object geometry.

Application side could use this feature setting attribute as below:
 - elm_atspi_accessible_attribute_append(btn, "gesture_required", "scroll");

This patch set depends on:
https://review.tizen.org/gerrit/#/c/142108/ (screen-reader)
https://review.tizen.org/gerrit/#/c/142107/ (e-mod-tizen-screen-reader)

Change-Id: I0b731ce947be569b2d782fdc21f18c79ffebf70e
src/lib/elm_atspi_bridge.c