mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
This commit is contained in:
parent
02c59100a8
commit
a4b0f333ba
153 changed files with 173 additions and 4556 deletions
|
|
@ -431,13 +431,6 @@ struct ParamTraits<mozilla::WidgetKeyboardEvent>
|
|||
WriteParam(aMsg,
|
||||
static_cast<paramType::InputMethodAppStateType>
|
||||
(aParam.mInputMethodAppState));
|
||||
#ifdef XP_MACOSX
|
||||
WriteParam(aMsg, aParam.mNativeKeyCode);
|
||||
WriteParam(aMsg, aParam.mNativeModifierFlags);
|
||||
WriteParam(aMsg, aParam.mNativeCharacters);
|
||||
WriteParam(aMsg, aParam.mNativeCharactersIgnoringModifiers);
|
||||
WriteParam(aMsg, aParam.mPluginTextEventString);
|
||||
#endif
|
||||
// An OS-specific native event might be attached in |mNativeKeyEvent|, but
|
||||
// that cannot be copied across process boundaries.
|
||||
}
|
||||
|
|
@ -465,13 +458,6 @@ struct ParamTraits<mozilla::WidgetKeyboardEvent>
|
|||
ReadParam(aMsg, aIter, &aResult->mUniqueId) &&
|
||||
ReadParam(aMsg, aIter, &aResult->mIsSynthesizedByTIP) &&
|
||||
ReadParam(aMsg, aIter, &inputMethodAppState)
|
||||
#ifdef XP_MACOSX
|
||||
&& ReadParam(aMsg, aIter, &aResult->mNativeKeyCode)
|
||||
&& ReadParam(aMsg, aIter, &aResult->mNativeModifierFlags)
|
||||
&& ReadParam(aMsg, aIter, &aResult->mNativeCharacters)
|
||||
&& ReadParam(aMsg, aIter, &aResult->mNativeCharactersIgnoringModifiers)
|
||||
&& ReadParam(aMsg, aIter, &aResult->mPluginTextEventString)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
aResult->mKeyNameIndex = static_cast<mozilla::KeyNameIndex>(keyNameIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue