Bug 1000870 - Add some features in testing system. r=smaug

This commit is contained in:
Maksim Lebedev 2015-05-19 07:03:00 +02:00
parent 790d83ccdd
commit 72e63b8159
2 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -115,6 +115,7 @@ public:
int16_t button;
enum buttonsFlag {
eNoButtonFlag = 0x00,
eLeftButtonFlag = 0x01,
eRightButtonFlag = 0x02,
eMiddleButtonFlag = 0x04,