2010-08-17 08:07:42 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-08-17 08:07:42 +00:00
|
|
|
|
|
|
|
#ifndef nsGUIEventIPC_h__
|
|
|
|
#define nsGUIEventIPC_h__
|
|
|
|
|
|
|
|
#include "IPC/IPCMessageUtils.h"
|
|
|
|
#include "nsGUIEvent.h"
|
|
|
|
|
|
|
|
namespace IPC
|
|
|
|
{
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsEvent>
|
|
|
|
{
|
|
|
|
typedef nsEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, aParam.eventStructType);
|
|
|
|
WriteParam(aMsg, aParam.message);
|
|
|
|
WriteParam(aMsg, aParam.refPoint);
|
|
|
|
WriteParam(aMsg, aParam.time);
|
|
|
|
WriteParam(aMsg, aParam.flags);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, &aResult->eventStructType) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->message) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->refPoint) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->time) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->flags);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsGUIEvent>
|
|
|
|
{
|
|
|
|
typedef nsGUIEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsEvent>(aParam));
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsEvent*>(aResult));
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsInputEvent>
|
|
|
|
{
|
|
|
|
typedef nsInputEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsGUIEvent>(aParam));
|
2012-04-25 03:00:02 +00:00
|
|
|
WriteParam(aMsg, aParam.modifiers);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsGUIEvent*>(aResult)) &&
|
2012-04-25 03:00:02 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->modifiers);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2011-05-17 00:23:23 +00:00
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsMouseEvent_base>
|
|
|
|
{
|
|
|
|
typedef nsMouseEvent_base paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsInputEvent>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.button);
|
2012-04-25 03:00:01 +00:00
|
|
|
WriteParam(aMsg, aParam.buttons);
|
2011-05-17 00:23:23 +00:00
|
|
|
WriteParam(aMsg, aParam.pressure);
|
|
|
|
WriteParam(aMsg, aParam.inputSource);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsInputEvent*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->button) &&
|
2012-04-25 03:00:01 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->buttons) &&
|
2011-05-17 00:23:23 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->pressure) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->inputSource);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsMouseScrollEvent>
|
|
|
|
{
|
|
|
|
typedef nsMouseScrollEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsMouseEvent_base>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.scrollFlags);
|
|
|
|
WriteParam(aMsg, aParam.delta);
|
|
|
|
WriteParam(aMsg, aParam.scrollOverflow);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsMouseEvent_base*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->scrollFlags) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->delta) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->scrollOverflow);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2011-06-22 00:32:43 +00:00
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsMouseEvent>
|
|
|
|
{
|
|
|
|
typedef nsMouseEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsMouseEvent_base>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.ignoreRootScrollFrame);
|
|
|
|
WriteParam(aMsg, (PRUint8) aParam.reason);
|
|
|
|
WriteParam(aMsg, (PRUint8) aParam.context);
|
|
|
|
WriteParam(aMsg, (PRUint8) aParam.exit);
|
|
|
|
WriteParam(aMsg, aParam.clickCount);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
bool rv;
|
|
|
|
PRUint8 reason, context, exit;
|
|
|
|
rv = ReadParam(aMsg, aIter, static_cast<nsMouseEvent_base*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->ignoreRootScrollFrame) &&
|
|
|
|
ReadParam(aMsg, aIter, &reason) &&
|
|
|
|
ReadParam(aMsg, aIter, &context) &&
|
|
|
|
ReadParam(aMsg, aIter, &exit) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->clickCount);
|
|
|
|
aResult->reason = static_cast<nsMouseEvent::reasonType>(reason);
|
|
|
|
aResult->context = static_cast<nsMouseEvent::contextType>(context);
|
|
|
|
aResult->exit = static_cast<nsMouseEvent::exitType>(exit);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsKeyEvent>
|
|
|
|
{
|
|
|
|
typedef nsKeyEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsInputEvent>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.keyCode);
|
|
|
|
WriteParam(aMsg, aParam.charCode);
|
|
|
|
WriteParam(aMsg, aParam.isChar);
|
2012-05-03 08:35:01 +00:00
|
|
|
WriteParam(aMsg, aParam.location);
|
2011-06-22 00:32:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsInputEvent*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->keyCode) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->charCode) &&
|
2012-05-03 08:35:01 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->isChar) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->location);
|
2011-06-22 00:32:43 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2010-08-17 08:07:42 +00:00
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsTextRangeStyle>
|
|
|
|
{
|
|
|
|
typedef nsTextRangeStyle paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, aParam.mDefinedStyles);
|
|
|
|
WriteParam(aMsg, aParam.mLineStyle);
|
|
|
|
WriteParam(aMsg, aParam.mIsBoldLine);
|
|
|
|
WriteParam(aMsg, aParam.mForegroundColor);
|
|
|
|
WriteParam(aMsg, aParam.mBackgroundColor);
|
|
|
|
WriteParam(aMsg, aParam.mUnderlineColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, &aResult->mDefinedStyles) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mLineStyle) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mIsBoldLine) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mForegroundColor) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mBackgroundColor) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mUnderlineColor);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsTextRange>
|
|
|
|
{
|
|
|
|
typedef nsTextRange paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, aParam.mStartOffset);
|
|
|
|
WriteParam(aMsg, aParam.mEndOffset);
|
|
|
|
WriteParam(aMsg, aParam.mRangeType);
|
|
|
|
WriteParam(aMsg, aParam.mRangeStyle);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, &aResult->mStartOffset) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mEndOffset) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mRangeType) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mRangeStyle);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsTextEvent>
|
|
|
|
{
|
|
|
|
typedef nsTextEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsInputEvent>(aParam));
|
2010-10-01 14:17:37 +00:00
|
|
|
WriteParam(aMsg, aParam.seqno);
|
2010-08-17 08:07:42 +00:00
|
|
|
WriteParam(aMsg, aParam.theText);
|
|
|
|
WriteParam(aMsg, aParam.isChar);
|
|
|
|
WriteParam(aMsg, aParam.rangeCount);
|
|
|
|
for (PRUint32 index = 0; index < aParam.rangeCount; index++)
|
|
|
|
WriteParam(aMsg, aParam.rangeArray[index]);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
if (!ReadParam(aMsg, aIter, static_cast<nsInputEvent*>(aResult)) ||
|
2010-10-01 14:17:37 +00:00
|
|
|
!ReadParam(aMsg, aIter, &aResult->seqno) ||
|
2010-08-17 08:07:42 +00:00
|
|
|
!ReadParam(aMsg, aIter, &aResult->theText) ||
|
|
|
|
!ReadParam(aMsg, aIter, &aResult->isChar) ||
|
|
|
|
!ReadParam(aMsg, aIter, &aResult->rangeCount))
|
|
|
|
return false;
|
|
|
|
|
|
|
|
if (!aResult->rangeCount) {
|
|
|
|
aResult->rangeArray = nsnull;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
aResult->rangeArray = new nsTextRange[aResult->rangeCount];
|
|
|
|
if (!aResult->rangeArray)
|
|
|
|
return false;
|
|
|
|
|
|
|
|
for (PRUint32 index = 0; index < aResult->rangeCount; index++)
|
|
|
|
if (!ReadParam(aMsg, aIter, &aResult->rangeArray[index])) {
|
|
|
|
Free(*aResult);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void Free(const paramType& aResult)
|
|
|
|
{
|
|
|
|
if (aResult.rangeArray)
|
|
|
|
delete [] aResult.rangeArray;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsCompositionEvent>
|
|
|
|
{
|
|
|
|
typedef nsCompositionEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
2011-09-22 09:17:40 +00:00
|
|
|
WriteParam(aMsg, static_cast<nsGUIEvent>(aParam));
|
2010-10-01 14:17:37 +00:00
|
|
|
WriteParam(aMsg, aParam.seqno);
|
2011-09-22 09:17:40 +00:00
|
|
|
WriteParam(aMsg, aParam.data);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
2011-09-22 09:17:40 +00:00
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsGUIEvent*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->seqno) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->data);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsQueryContentEvent>
|
|
|
|
{
|
|
|
|
typedef nsQueryContentEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsGUIEvent>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.mSucceeded);
|
|
|
|
WriteParam(aMsg, aParam.mInput.mOffset);
|
|
|
|
WriteParam(aMsg, aParam.mInput.mLength);
|
2011-05-17 00:23:23 +00:00
|
|
|
WriteParam(aMsg, *aParam.mInput.mMouseScrollEvent);
|
2010-08-17 08:07:42 +00:00
|
|
|
WriteParam(aMsg, aParam.mReply.mOffset);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mString);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mRect);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mReversed);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mHasSelection);
|
2011-03-01 21:15:23 +00:00
|
|
|
WriteParam(aMsg, aParam.mReply.mWidgetIsHit);
|
2011-05-17 00:23:23 +00:00
|
|
|
WriteParam(aMsg, aParam.mReply.mLineHeight);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mPageHeight);
|
|
|
|
WriteParam(aMsg, aParam.mReply.mPageWidth);
|
2011-05-23 14:56:59 +00:00
|
|
|
WriteParam(aMsg, aParam.mReply.mComputedScrollAmount);
|
2011-07-14 22:12:20 +00:00
|
|
|
WriteParam(aMsg, aParam.mReply.mComputedScrollAction);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
2011-10-17 14:59:28 +00:00
|
|
|
aResult->mWasAsync = true;
|
2010-08-17 08:07:42 +00:00
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsGUIEvent*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mSucceeded) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mInput.mOffset) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mInput.mLength) &&
|
2011-05-17 00:23:23 +00:00
|
|
|
ReadParam(aMsg, aIter, aResult->mInput.mMouseScrollEvent) &&
|
2010-08-17 08:07:42 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mOffset) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mString) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mRect) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mReversed) &&
|
2011-03-22 18:18:17 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mHasSelection) &&
|
2011-05-17 00:23:23 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mWidgetIsHit) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mLineHeight) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mPageHeight) &&
|
2011-05-23 14:56:59 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mPageWidth) &&
|
2011-07-14 22:12:20 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mComputedScrollAmount) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReply.mComputedScrollAction);
|
2010-08-17 08:07:42 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsSelectionEvent>
|
|
|
|
{
|
|
|
|
typedef nsSelectionEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsGUIEvent>(aParam));
|
2010-10-01 14:17:37 +00:00
|
|
|
WriteParam(aMsg, aParam.seqno);
|
2010-08-17 08:07:42 +00:00
|
|
|
WriteParam(aMsg, aParam.mOffset);
|
|
|
|
WriteParam(aMsg, aParam.mLength);
|
|
|
|
WriteParam(aMsg, aParam.mReversed);
|
|
|
|
WriteParam(aMsg, aParam.mExpandToClusterBoundary);
|
|
|
|
WriteParam(aMsg, aParam.mSucceeded);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsGUIEvent*>(aResult)) &&
|
2010-10-01 14:17:37 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->seqno) &&
|
2010-08-17 08:07:42 +00:00
|
|
|
ReadParam(aMsg, aIter, &aResult->mOffset) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mLength) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mReversed) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mExpandToClusterBoundary) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mSucceeded);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2010-09-24 03:28:15 +00:00
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsIMEUpdatePreference>
|
|
|
|
{
|
|
|
|
typedef nsIMEUpdatePreference paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, aParam.mWantUpdates);
|
|
|
|
WriteParam(aMsg, aParam.mWantHints);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, &aResult->mWantUpdates) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->mWantHints);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2011-05-11 04:52:44 +00:00
|
|
|
template<>
|
|
|
|
struct ParamTraits<nsPluginEvent>
|
|
|
|
{
|
|
|
|
typedef nsPluginEvent paramType;
|
|
|
|
|
|
|
|
static void Write(Message* aMsg, const paramType& aParam)
|
|
|
|
{
|
|
|
|
WriteParam(aMsg, static_cast<nsGUIEvent>(aParam));
|
|
|
|
WriteParam(aMsg, aParam.retargetToFocusedDocument);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
|
|
|
{
|
|
|
|
return ReadParam(aMsg, aIter, static_cast<nsGUIEvent*>(aResult)) &&
|
|
|
|
ReadParam(aMsg, aIter, &aResult->retargetToFocusedDocument);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2010-08-17 08:07:42 +00:00
|
|
|
} // namespace IPC
|
|
|
|
|
|
|
|
#endif // nsGUIEventIPC_h__
|
|
|
|
|