[NUI][AT-SPI] Remove interops for SetAccessibilityConstructor()
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 15 Feb 2022 13:59:39 +0000 (14:59 +0100)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 16 Mar 2022 00:11:16 +0000 (09:11 +0900)
commitce855838ec90444e643eb0a451031a66e8940adf
tree6a977588eae3eee3bea77a7aedb8e7b6b544a62b
parentce33c3fab4f86d87946ded23274bb23a400c73c6
[NUI][AT-SPI] Remove interops for SetAccessibilityConstructor()

The method name SetAccessibilityConstructor() in NUI has always been
misleading, because it actually never had an 'accessibilityConstructor'
parameter in the first place. With the recent addition of bindings for
Accessible::GetInterfaces(), all NUI controls use the same Accessible
implementation (NUIViewAccessible) anyway. However, as this method is
currently used in many places, it is kept as a wrapper for setting
AccessibilityRole (and interface flags) and will be removed if/when we
decide to switch to AT-SPI interfaces as native C# interfaces. Then, all
usages of SetAccessibilityConstructor() would be replaced by simply
setting AccessibilityRole (and interface flags won't be needed).
src/Tizen.NUI/src/internal/Interop/Interop.ControlDevel.cs
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs