Bug 600117 part.3 Implement KeyboardEvent.repeat on Mac r=smichaud

This commit is contained in:
Masayuki Nakano 2013-11-07 20:17:33 +09:00
parent 193fd83275
commit 10e9175c49

View File

@ -929,6 +929,9 @@ TISInputSourceWrapper::InitKeyEvent(NSEvent *aNativeKeyEvent,
break;
}
aKeyEvent.mIsRepeat =
([aNativeKeyEvent type] == NSKeyDown) ? [aNativeKeyEvent isARepeat] : false;
PR_LOG(gLog, PR_LOG_ALWAYS,
("%p TISInputSourceWrapper::InitKeyEvent, "
"shift=%s, ctrl=%s, alt=%s, meta=%s",