[AT-SPI] Add Bridge::{Embed,Unembed}Socket() 12/263212/16
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 21 Apr 2022 15:48:04 +0000 (17:48 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Thu, 12 May 2022 10:56:30 +0000 (12:56 +0200)
commit28c4ff2e0e0d417bfcc772aa88955d54213f4b34
tree96c6e3b41b6d5f42ea795361e273f7c2a79bdd3f
parent8b17a4cca563785dc77145a3b9516e1b82eb641b
[AT-SPI] Add Bridge::{Embed,Unembed}Socket()

This patch adds three new utility methods to Bridge:

* EmbedSocket() - calls org.a11y.atspi.Socket.Embed

The manually contstructed D-Bus call in Bridge::ForceUp()
is replaced by EmbedSocket().

* UnembedSocket() - calls org.a11y.atspi.Socket.Unembed

A missing UnembedSocket() is added in Bridge::ForceDown().

* EmbedAtkSocket() - calls org.a11y.atspi.Socket.Embedded

The "Embedded" method is an ATK extension, but is required
to embed an ATK-based subtree, e.g. a Chromium-based WebView,
in a DALi application.

Change-Id: I562072864d6a67272325562eabb91962c6813eab
dali/devel-api/adaptor-framework/accessibility-bridge.h
dali/internal/accessibility/bridge/bridge-impl.cpp
dali/internal/accessibility/bridge/dummy-atspi.h