Bug 855975 part.12 Move special keypress event handling from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsAndDiscardsCharMessages r=jimm

This commit is contained in:
Masayuki Nakano
2013-05-29 15:34:48 +09:00
parent eebe0b5bff
commit a98bd7ecbe
9 changed files with 136 additions and 108 deletions

View File

@@ -416,12 +416,13 @@ WinUtils::GetMouseInputSource()
/* static */
MSG
WinUtils::InitMSG(UINT aMessage, WPARAM wParam, LPARAM lParam)
WinUtils::InitMSG(UINT aMessage, WPARAM wParam, LPARAM lParam, HWND aWnd)
{
MSG msg;
msg.message = aMessage;
msg.wParam = wParam;
msg.lParam = lParam;
msg.hwnd = aWnd;
return msg;
}