зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1208944 - Part 7. Don't post WM_IME_REQUEST on windowless plugin since we don't convert pointer over process. r=masayuki
This commit is contained in:
Родитель
b8e6c382ed
Коммит
0ceadd73a8
|
@ -703,12 +703,16 @@ IMMHandler::ProcessMessageForPlugin(nsWindow* aWindow,
|
|||
case WM_IME_CONTROL:
|
||||
case WM_IME_KEYDOWN:
|
||||
case WM_IME_KEYUP:
|
||||
case WM_IME_REQUEST:
|
||||
case WM_IME_SELECT:
|
||||
aResult.mConsumed =
|
||||
aWindow->DispatchPluginEvent(msg, wParam, lParam, false);
|
||||
aRet = true;
|
||||
return true;
|
||||
case WM_IME_REQUEST:
|
||||
// Our plugin implementation is alwasy OOP. So WM_IME_REQUEST doesn't
|
||||
// allow that parameter is pointer and shouldn't handle into Gecko.
|
||||
aRet = false;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче