Skip to content

Commit

Permalink
Rename InputDataIPC to EmbedIPCUtils
Browse files Browse the repository at this point in the history
Correctly include TabMessageUtils to the PEmbedLiteView.ipdl
for enabling nsEventStatus enum ipc serialization (ContiguousEnumSerializer).

Currently EmbedIPCUtils.h is empty but all embedding related serialization
should be added here.
  • Loading branch information
rainemak committed Apr 8, 2020
1 parent b220a8c commit 4c1bead
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
7 changes: 6 additions & 1 deletion embedding/embedlite/PEmbedLiteView.ipdl
Expand Up @@ -4,8 +4,13 @@

include protocol PEmbedLiteApp;

// for embedding ipc
include "ipc/EmbedIPCUtils.h";
// for generic gui ipc
include "ipc/nsGUIEventIPC.h";
include "ipc/InputDataIPC.h";
// for nsEventStatus serialization (ContiguousEnumSerializer)
include "mozilla/dom/TabMessageUtils.h";

include "mozilla/GfxMessageUtils.h";
using struct gfxSize from "gfxPoint.h";
using gfxRect from "mozilla/GfxMessageUtils.h";
Expand Down
Expand Up @@ -3,14 +3,17 @@
* 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/. */

#ifndef InputDataIPC_h__
#define InputDataIPC_h__
#ifndef EmbedIPCUtils_h__
#define EmbedIPCUtils_h__

#include "ipc/IPCMessageUtils.h"
#include "InputData.h"
#include "mozilla/EventForwards.h"

#if 0
namespace IPC {


template<>
struct ParamTraits<mozilla::InputData>
{
Expand Down Expand Up @@ -87,7 +90,10 @@ struct ParamTraits<mozilla::MultiTouchInput>
}
};


} // namespace IPC
#endif


#endif // InputDataIPC_h__
#endif // EmbedIPCUtils_h__

2 changes: 1 addition & 1 deletion embedding/embedlite/moz.build
Expand Up @@ -40,7 +40,7 @@ EXPORTS.mozilla.embedlite += [
'utils/EmbedLog.h',
]

EXPORTS.ipc = ['embedhelpers/InputDataIPC.h']
EXPORTS.ipc = ['embedhelpers/EmbedIPCUtils.h']

UNIFIED_SOURCES += [
'embedhelpers/EmbedLiteSubThread.cpp',
Expand Down

0 comments on commit 4c1bead

Please sign in to comment.