mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1000870 - Add some features in testing system. r=smaug
This commit is contained in:
parent
790d83ccdd
commit
72e63b8159
@ -7669,6 +7669,8 @@ int16_t
|
||||
nsContentUtils::GetButtonsFlagForButton(int32_t aButton)
|
||||
{
|
||||
switch (aButton) {
|
||||
case -1:
|
||||
return WidgetMouseEvent::eNoButtonFlag;
|
||||
case WidgetMouseEvent::eLeftButton:
|
||||
return WidgetMouseEvent::eLeftButtonFlag;
|
||||
case WidgetMouseEvent::eMiddleButton:
|
||||
|
@ -115,6 +115,7 @@ public:
|
||||
int16_t button;
|
||||
|
||||
enum buttonsFlag {
|
||||
eNoButtonFlag = 0x00,
|
||||
eLeftButtonFlag = 0x01,
|
||||
eRightButtonFlag = 0x02,
|
||||
eMiddleButtonFlag = 0x04,
|
||||
|
Loading…
Reference in New Issue
Block a user