[NUI][AT-SPI] Add AccessibilityStatesNotifyMode
authorArtur Świgoń <a.swigon@samsung.com>
Fri, 17 Dec 2021 12:53:21 +0000 (13:53 +0100)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Wed, 12 Jan 2022 08:40:18 +0000 (17:40 +0900)
commit045e25612ffa0d6edf2c9dba1a3139e8f870a3bf
tree7b048206d394f07d6b3b91fcdc0858aca6903226
parent6ea7d321dda73037fb5e98219efcafd7a5661a01
[NUI][AT-SPI] Add AccessibilityStatesNotifyMode

The different semantics of the second (bool) parameter of
EmitAccessibilityStatesChangedEvent and NotifyAccessibilityStatesChange
can cause confusion, since it represents the new value of the state in
the former method, and the notification strategy in the latter.

This change introduces an enum type for the second parameter of
NotifyAccessibilityStatesChange to express its effect more clearly.
src/Tizen.NUI.Components/Controls/Menu.cs
src/Tizen.NUI.Components/Controls/Navigation/Navigator.cs
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibilityEnum.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSViewAccessibility.cs