gecko-dev/accessible
Masayuki Nakano ef2253b4a1 Bug 1691622 - part 9: Make `nsIWidget::SynthesizeNativeMouseEvent` take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato
Currently, it takes a raw native message value, but it makes JS content too
complicated.  And on Linux, it cannot synthesize non-primary button events
because GDK has only button press and release messages which dont' include
mouse button information.

For solving these problems, this patch creates a new abstract native message
as `nsIWidget::NativeMouseMessage` and makes each widget converts it to
a platform native message.

Additionally, this patch adds an argument to make it possible its callers
to specify pressing or releasing mouse button with a DOM mouse button value.

Note that the following patch adds new argument to
`synthesizeNativeEventMouse*` for mochitests and which will be tested by
new tests.

Differential Revision: https://phabricator.services.mozilla.com/D105763
2021-02-24 01:27:10 +00:00
..
android Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
aom Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
atk Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
base Bug 1691913 - Rename nsClassHashtable::LookupOrAdd to GetOrInsertNew. r=xpcom-reviewers,nika 2021-02-22 12:07:47 +00:00
generic Bug 1693411: Make sure an a11y node is removed when visibility: hidden is set but the layout frame is reconstructed; e.g. position: fixed. r=eeejay 2021-02-23 01:48:15 +00:00
html Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
interfaces Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
ipc Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
mac Bug 1691622 - part 9: Make `nsIWidget::SynthesizeNativeMouseEvent` take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato 2021-02-24 01:27:10 +00:00
other Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
tests Bug 1693411: Make sure an a11y node is removed when visibility: hidden is set but the layout frame is reconstructed; e.g. position: fixed. r=eeejay 2021-02-23 01:48:15 +00:00
windows Bug 1689218 - Rename nsBaseHashtable::GetAndRemove to Extract. r=necko-reviewers,dragana 2021-02-22 12:07:48 +00:00
xpcom Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan 2021-02-19 23:14:33 +00:00
xul Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00