gecko-dev/widget/headless
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
..
tests Bug 1687436 - Skip test_headless in Thunderbird. r=heycam 2021-01-19 22:46:48 +00:00
HeadlessClipboard.cpp
HeadlessClipboard.h
HeadlessClipboardData.cpp
HeadlessClipboardData.h
HeadlessCompositorWidget.cpp
HeadlessCompositorWidget.h
HeadlessKeyBindings.cpp Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to NativeKeyBindings r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
HeadlessKeyBindings.h Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to NativeKeyBindings r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
HeadlessKeyBindingsCocoa.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
HeadlessLookAndFeel.h Bug 1470983 - Remote all LookAndFeel values for the Gtk backend. r=spohl,jld 2020-12-16 04:17:36 +00:00
HeadlessLookAndFeelGTK.cpp Bug 1470983 - Remote all LookAndFeel values for the Gtk backend. r=spohl,jld 2020-12-16 04:17:36 +00:00
HeadlessScreenHelper.cpp
HeadlessScreenHelper.h
HeadlessSound.cpp
HeadlessSound.h
HeadlessThemeGTK.cpp Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
HeadlessThemeGTK.h Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
HeadlessWidget.cpp 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
HeadlessWidget.h 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
HeadlessWidgetTypes.ipdlh
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00