mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
ef2253b4a1
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 |
||
---|---|---|
.. | ||
tests | ||
HeadlessClipboard.cpp | ||
HeadlessClipboard.h | ||
HeadlessClipboardData.cpp | ||
HeadlessClipboardData.h | ||
HeadlessCompositorWidget.cpp | ||
HeadlessCompositorWidget.h | ||
HeadlessKeyBindings.cpp | ||
HeadlessKeyBindings.h | ||
HeadlessKeyBindingsCocoa.mm | ||
HeadlessLookAndFeel.h | ||
HeadlessLookAndFeelGTK.cpp | ||
HeadlessScreenHelper.cpp | ||
HeadlessScreenHelper.h | ||
HeadlessSound.cpp | ||
HeadlessSound.h | ||
HeadlessThemeGTK.cpp | ||
HeadlessThemeGTK.h | ||
HeadlessWidget.cpp | ||
HeadlessWidget.h | ||
HeadlessWidgetTypes.ipdlh | ||
moz.build |