Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/ipc/ipdl/PPluginInstance.cpp
Line
Count
Source (jump to first uncovered line)
1
//
2
// Automatically generated by ipdlc.
3
// Edit at your own risk
4
//
5
6
7
#include "mozilla/GfxMessageUtils.h"
8
#include "mozilla/layers/LayersMessageUtils.h"
9
#include "mozilla/plugins/PPluginBackgroundDestroyerParent.h"
10
#include "mozilla/plugins/PPluginBackgroundDestroyerChild.h"
11
#include "mozilla/plugins/PPluginModuleParent.h"
12
#include "mozilla/plugins/PPluginModuleChild.h"
13
#include "mozilla/plugins/PPluginScriptableObjectParent.h"
14
#include "mozilla/plugins/PPluginScriptableObjectChild.h"
15
#include "mozilla/plugins/PBrowserStreamParent.h"
16
#include "mozilla/plugins/PBrowserStreamChild.h"
17
#include "mozilla/plugins/PStreamNotifyParent.h"
18
#include "mozilla/plugins/PStreamNotifyChild.h"
19
#include "mozilla/plugins/PPluginSurfaceParent.h"
20
#include "mozilla/plugins/PPluginSurfaceChild.h"
21
#include "mozilla/plugins/PPluginInstance.h"
22
23
namespace mozilla {
24
namespace plugins {
25
namespace PPluginInstance {
26
27
nsresult
28
CreateEndpoints(
29
        base::ProcessId aParentDestPid,
30
        base::ProcessId aChildDestPid,
31
        mozilla::ipc::Endpoint<mozilla::plugins::PPluginInstanceParent>* aParent,
32
        mozilla::ipc::Endpoint<mozilla::plugins::PPluginInstanceChild>* aChild)
33
0
{
34
0
    return mozilla::ipc::CreateEndpoints(mozilla::ipc::PrivateIPDLInterface(), aParentDestPid, aChildDestPid, aParent, aChild);
35
0
}
36
IPC::Message*
37
Msg___delete__(int32_t routingId)
38
0
{
39
0
    return IPC::Message::IPDLMessage(routingId, Msg___delete____ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
40
0
}
41
IPC::Message*
42
Reply___delete__(int32_t routingId)
43
0
{
44
0
    return IPC::Message::IPDLMessage(routingId, Reply___delete____ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
45
0
}
46
IPC::Message*
47
Msg_CreateChildPluginWindow(int32_t routingId)
48
0
{
49
0
    return IPC::Message::IPDLMessage(routingId, Msg_CreateChildPluginWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
50
0
}
51
IPC::Message*
52
Reply_CreateChildPluginWindow(int32_t routingId)
53
0
{
54
0
    return IPC::Message::IPDLMessage(routingId, Reply_CreateChildPluginWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
55
0
}
56
IPC::Message*
57
Msg_CreateChildPopupSurrogate(int32_t routingId)
58
0
{
59
0
    return IPC::Message::IPDLMessage(routingId, Msg_CreateChildPopupSurrogate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
60
0
}
61
IPC::Message*
62
Msg_NPP_SetWindow(int32_t routingId)
63
0
{
64
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_SetWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
65
0
}
66
IPC::Message*
67
Reply_NPP_SetWindow(int32_t routingId)
68
0
{
69
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_SetWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
70
0
}
71
IPC::Message*
72
Msg_NPP_GetValue_NPPVpluginWantsAllNetworkStreams(int32_t routingId)
73
0
{
74
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_GetValue_NPPVpluginWantsAllNetworkStreams__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
75
0
}
76
IPC::Message*
77
Reply_NPP_GetValue_NPPVpluginWantsAllNetworkStreams(int32_t routingId)
78
0
{
79
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_GetValue_NPPVpluginWantsAllNetworkStreams__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
80
0
}
81
IPC::Message*
82
Msg_NPP_GetValue_NPPVpluginScriptableNPObject(int32_t routingId)
83
0
{
84
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_GetValue_NPPVpluginScriptableNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
85
0
}
86
IPC::Message*
87
Reply_NPP_GetValue_NPPVpluginScriptableNPObject(int32_t routingId)
88
0
{
89
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_GetValue_NPPVpluginScriptableNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
90
0
}
91
IPC::Message*
92
Msg_NPP_SetValue_NPNVprivateModeBool(int32_t routingId)
93
0
{
94
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_SetValue_NPNVprivateModeBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
95
0
}
96
IPC::Message*
97
Reply_NPP_SetValue_NPNVprivateModeBool(int32_t routingId)
98
0
{
99
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_SetValue_NPNVprivateModeBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
100
0
}
101
IPC::Message*
102
Msg_NPP_GetValue_NPPVpluginNativeAccessibleAtkPlugId(int32_t routingId)
103
0
{
104
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_GetValue_NPPVpluginNativeAccessibleAtkPlugId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
105
0
}
106
IPC::Message*
107
Reply_NPP_GetValue_NPPVpluginNativeAccessibleAtkPlugId(int32_t routingId)
108
0
{
109
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_GetValue_NPPVpluginNativeAccessibleAtkPlugId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
110
0
}
111
IPC::Message*
112
Msg_NPP_SetValue_NPNVCSSZoomFactor(int32_t routingId)
113
0
{
114
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_SetValue_NPNVCSSZoomFactor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
115
0
}
116
IPC::Message*
117
Reply_NPP_SetValue_NPNVCSSZoomFactor(int32_t routingId)
118
0
{
119
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_SetValue_NPNVCSSZoomFactor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
120
0
}
121
IPC::Message*
122
Msg_NPP_SetValue_NPNVmuteAudioBool(int32_t routingId)
123
0
{
124
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_SetValue_NPNVmuteAudioBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
125
0
}
126
IPC::Message*
127
Reply_NPP_SetValue_NPNVmuteAudioBool(int32_t routingId)
128
0
{
129
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_SetValue_NPNVmuteAudioBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
130
0
}
131
IPC::Message*
132
Msg_NPP_HandleEvent(int32_t routingId)
133
0
{
134
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_HandleEvent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
135
0
}
136
IPC::Message*
137
Reply_NPP_HandleEvent(int32_t routingId)
138
0
{
139
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_HandleEvent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
140
0
}
141
IPC::Message*
142
Msg_NPP_HandleEvent_Shmem(int32_t routingId)
143
0
{
144
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_HandleEvent_Shmem__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
145
0
}
146
IPC::Message*
147
Reply_NPP_HandleEvent_Shmem(int32_t routingId)
148
0
{
149
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_HandleEvent_Shmem__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
150
0
}
151
IPC::Message*
152
Msg_NPP_HandleEvent_IOSurface(int32_t routingId)
153
0
{
154
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_HandleEvent_IOSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
155
0
}
156
IPC::Message*
157
Reply_NPP_HandleEvent_IOSurface(int32_t routingId)
158
0
{
159
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_HandleEvent_IOSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
160
0
}
161
IPC::Message*
162
Msg_Paint(int32_t routingId)
163
0
{
164
0
    return IPC::Message::IPDLMessage(routingId, Msg_Paint__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
165
0
}
166
IPC::Message*
167
Reply_Paint(int32_t routingId)
168
0
{
169
0
    return IPC::Message::IPDLMessage(routingId, Reply_Paint__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
170
0
}
171
IPC::Message*
172
Msg_WindowPosChanged(int32_t routingId)
173
0
{
174
0
    return IPC::Message::IPDLMessage(routingId, Msg_WindowPosChanged__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
175
0
}
176
IPC::Message*
177
Msg_ContentsScaleFactorChanged(int32_t routingId)
178
0
{
179
0
    return IPC::Message::IPDLMessage(routingId, Msg_ContentsScaleFactorChanged__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
180
0
}
181
IPC::Message*
182
Msg_AsyncSetWindow(int32_t routingId)
183
0
{
184
0
    return IPC::Message::IPDLMessage(routingId, Msg_AsyncSetWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
185
0
}
186
IPC::Message*
187
Msg_UpdateBackground(int32_t routingId)
188
0
{
189
0
    return IPC::Message::IPDLMessage(routingId, Msg_UpdateBackground__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
190
0
}
191
IPC::Message*
192
Msg_NPP_DidComposite(int32_t routingId)
193
0
{
194
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_DidComposite__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
195
0
}
196
IPC::Message*
197
Msg_NPP_Destroy(int32_t routingId)
198
0
{
199
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_Destroy__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
200
0
}
201
IPC::Message*
202
Reply_NPP_Destroy(int32_t routingId)
203
0
{
204
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_Destroy__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
205
0
}
206
IPC::Message*
207
Msg_HandledWindowedPluginKeyEvent(int32_t routingId)
208
0
{
209
0
    return IPC::Message::IPDLMessage(routingId, Msg_HandledWindowedPluginKeyEvent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
210
0
}
211
IPC::Message*
212
Msg_NPN_GetValue_NPNVWindowNPObject(int32_t routingId)
213
0
{
214
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_NPNVWindowNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
215
0
}
216
IPC::Message*
217
Reply_NPN_GetValue_NPNVWindowNPObject(int32_t routingId)
218
0
{
219
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_NPNVWindowNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
220
0
}
221
IPC::Message*
222
Msg_NPN_GetValue_NPNVPluginElementNPObject(int32_t routingId)
223
0
{
224
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_NPNVPluginElementNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
225
0
}
226
IPC::Message*
227
Reply_NPN_GetValue_NPNVPluginElementNPObject(int32_t routingId)
228
0
{
229
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_NPNVPluginElementNPObject__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
230
0
}
231
IPC::Message*
232
Msg_NPN_GetValue_NPNVprivateModeBool(int32_t routingId)
233
0
{
234
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_NPNVprivateModeBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
235
0
}
236
IPC::Message*
237
Reply_NPN_GetValue_NPNVprivateModeBool(int32_t routingId)
238
0
{
239
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_NPNVprivateModeBool__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
240
0
}
241
IPC::Message*
242
Msg_NPN_GetValue_NPNVnetscapeWindow(int32_t routingId)
243
0
{
244
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_NPNVnetscapeWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
245
0
}
246
IPC::Message*
247
Reply_NPN_GetValue_NPNVnetscapeWindow(int32_t routingId)
248
0
{
249
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_NPNVnetscapeWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
250
0
}
251
IPC::Message*
252
Msg_NPN_GetValue_NPNVdocumentOrigin(int32_t routingId)
253
0
{
254
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_NPNVdocumentOrigin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
255
0
}
256
IPC::Message*
257
Reply_NPN_GetValue_NPNVdocumentOrigin(int32_t routingId)
258
0
{
259
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_NPNVdocumentOrigin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
260
0
}
261
IPC::Message*
262
Msg_NPN_GetValue_DrawingModelSupport(int32_t routingId)
263
0
{
264
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_DrawingModelSupport__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
265
0
}
266
IPC::Message*
267
Reply_NPN_GetValue_DrawingModelSupport(int32_t routingId)
268
0
{
269
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_DrawingModelSupport__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
270
0
}
271
IPC::Message*
272
Msg_NPN_GetValue_SupportsAsyncBitmapSurface(int32_t routingId)
273
0
{
274
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_SupportsAsyncBitmapSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
275
0
}
276
IPC::Message*
277
Reply_NPN_GetValue_SupportsAsyncBitmapSurface(int32_t routingId)
278
0
{
279
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_SupportsAsyncBitmapSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
280
0
}
281
IPC::Message*
282
Msg_NPN_GetValue_SupportsAsyncDXGISurface(int32_t routingId)
283
0
{
284
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_SupportsAsyncDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
285
0
}
286
IPC::Message*
287
Reply_NPN_GetValue_SupportsAsyncDXGISurface(int32_t routingId)
288
0
{
289
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_SupportsAsyncDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
290
0
}
291
IPC::Message*
292
Msg_NPN_GetValue_PreferredDXGIAdapter(int32_t routingId)
293
0
{
294
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValue_PreferredDXGIAdapter__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
295
0
}
296
IPC::Message*
297
Reply_NPN_GetValue_PreferredDXGIAdapter(int32_t routingId)
298
0
{
299
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValue_PreferredDXGIAdapter__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
300
0
}
301
IPC::Message*
302
Msg_NPN_SetValue_NPPVpluginWindow(int32_t routingId)
303
0
{
304
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
305
0
}
306
IPC::Message*
307
Reply_NPN_SetValue_NPPVpluginWindow(int32_t routingId)
308
0
{
309
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
310
0
}
311
IPC::Message*
312
Msg_NPN_SetValue_NPPVpluginTransparent(int32_t routingId)
313
0
{
314
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginTransparent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
315
0
}
316
IPC::Message*
317
Reply_NPN_SetValue_NPPVpluginTransparent(int32_t routingId)
318
0
{
319
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginTransparent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
320
0
}
321
IPC::Message*
322
Msg_NPN_SetValue_NPPVpluginUsesDOMForCursor(int32_t routingId)
323
0
{
324
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginUsesDOMForCursor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
325
0
}
326
IPC::Message*
327
Reply_NPN_SetValue_NPPVpluginUsesDOMForCursor(int32_t routingId)
328
0
{
329
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginUsesDOMForCursor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
330
0
}
331
IPC::Message*
332
Msg_NPN_SetValue_NPPVpluginDrawingModel(int32_t routingId)
333
0
{
334
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginDrawingModel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
335
0
}
336
IPC::Message*
337
Reply_NPN_SetValue_NPPVpluginDrawingModel(int32_t routingId)
338
0
{
339
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginDrawingModel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
340
0
}
341
IPC::Message*
342
Msg_NPN_SetValue_NPPVpluginEventModel(int32_t routingId)
343
0
{
344
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginEventModel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
345
0
}
346
IPC::Message*
347
Reply_NPN_SetValue_NPPVpluginEventModel(int32_t routingId)
348
0
{
349
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginEventModel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
350
0
}
351
IPC::Message*
352
Msg_NPN_SetValue_NPPVpluginIsPlayingAudio(int32_t routingId)
353
0
{
354
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValue_NPPVpluginIsPlayingAudio__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
355
0
}
356
IPC::Message*
357
Reply_NPN_SetValue_NPPVpluginIsPlayingAudio(int32_t routingId)
358
0
{
359
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValue_NPPVpluginIsPlayingAudio__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
360
0
}
361
IPC::Message*
362
Msg_NPN_GetURL(int32_t routingId)
363
0
{
364
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
365
0
}
366
IPC::Message*
367
Reply_NPN_GetURL(int32_t routingId)
368
0
{
369
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
370
0
}
371
IPC::Message*
372
Msg_NPN_PostURL(int32_t routingId)
373
0
{
374
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_PostURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
375
0
}
376
IPC::Message*
377
Reply_NPN_PostURL(int32_t routingId)
378
0
{
379
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_PostURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
380
0
}
381
IPC::Message*
382
Msg_PStreamNotifyConstructor(int32_t routingId)
383
0
{
384
0
    return IPC::Message::IPDLMessage(routingId, Msg_PStreamNotifyConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
385
0
}
386
IPC::Message*
387
Reply_PStreamNotifyConstructor(int32_t routingId)
388
0
{
389
0
    return IPC::Message::IPDLMessage(routingId, Reply_PStreamNotifyConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
390
0
}
391
IPC::Message*
392
Msg_NPN_InvalidateRect(int32_t routingId)
393
0
{
394
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_InvalidateRect__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
395
0
}
396
IPC::Message*
397
Msg_RevokeCurrentDirectSurface(int32_t routingId)
398
0
{
399
0
    return IPC::Message::IPDLMessage(routingId, Msg_RevokeCurrentDirectSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
400
0
}
401
IPC::Message*
402
Reply_RevokeCurrentDirectSurface(int32_t routingId)
403
0
{
404
0
    return IPC::Message::IPDLMessage(routingId, Reply_RevokeCurrentDirectSurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
405
0
}
406
IPC::Message*
407
Msg_InitDXGISurface(int32_t routingId)
408
0
{
409
0
    return IPC::Message::IPDLMessage(routingId, Msg_InitDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
410
0
}
411
IPC::Message*
412
Reply_InitDXGISurface(int32_t routingId)
413
0
{
414
0
    return IPC::Message::IPDLMessage(routingId, Reply_InitDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
415
0
}
416
IPC::Message*
417
Msg_FinalizeDXGISurface(int32_t routingId)
418
0
{
419
0
    return IPC::Message::IPDLMessage(routingId, Msg_FinalizeDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
420
0
}
421
IPC::Message*
422
Reply_FinalizeDXGISurface(int32_t routingId)
423
0
{
424
0
    return IPC::Message::IPDLMessage(routingId, Reply_FinalizeDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
425
0
}
426
IPC::Message*
427
Msg_ShowDirectBitmap(int32_t routingId)
428
0
{
429
0
    return IPC::Message::IPDLMessage(routingId, Msg_ShowDirectBitmap__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
430
0
}
431
IPC::Message*
432
Reply_ShowDirectBitmap(int32_t routingId)
433
0
{
434
0
    return IPC::Message::IPDLMessage(routingId, Reply_ShowDirectBitmap__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
435
0
}
436
IPC::Message*
437
Msg_ShowDirectDXGISurface(int32_t routingId)
438
0
{
439
0
    return IPC::Message::IPDLMessage(routingId, Msg_ShowDirectDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
440
0
}
441
IPC::Message*
442
Reply_ShowDirectDXGISurface(int32_t routingId)
443
0
{
444
0
    return IPC::Message::IPDLMessage(routingId, Reply_ShowDirectDXGISurface__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
445
0
}
446
IPC::Message*
447
Msg_Show(int32_t routingId)
448
0
{
449
0
    return IPC::Message::IPDLMessage(routingId, Msg_Show__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
450
0
}
451
IPC::Message*
452
Reply_Show(int32_t routingId)
453
0
{
454
0
    return IPC::Message::IPDLMessage(routingId, Reply_Show__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
455
0
}
456
IPC::Message*
457
Msg_PPluginSurfaceConstructor(int32_t routingId)
458
0
{
459
0
    return IPC::Message::IPDLMessage(routingId, Msg_PPluginSurfaceConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
460
0
}
461
IPC::Message*
462
Reply_PPluginSurfaceConstructor(int32_t routingId)
463
0
{
464
0
    return IPC::Message::IPDLMessage(routingId, Reply_PPluginSurfaceConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
465
0
}
466
IPC::Message*
467
Msg_NPN_PushPopupsEnabledState(int32_t routingId)
468
0
{
469
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_PushPopupsEnabledState__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
470
0
}
471
IPC::Message*
472
Reply_NPN_PushPopupsEnabledState(int32_t routingId)
473
0
{
474
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_PushPopupsEnabledState__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
475
0
}
476
IPC::Message*
477
Msg_NPN_PopPopupsEnabledState(int32_t routingId)
478
0
{
479
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_PopPopupsEnabledState__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
480
0
}
481
IPC::Message*
482
Reply_NPN_PopPopupsEnabledState(int32_t routingId)
483
0
{
484
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_PopPopupsEnabledState__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
485
0
}
486
IPC::Message*
487
Msg_NPN_GetValueForURL(int32_t routingId)
488
0
{
489
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_GetValueForURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
490
0
}
491
IPC::Message*
492
Reply_NPN_GetValueForURL(int32_t routingId)
493
0
{
494
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_GetValueForURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
495
0
}
496
IPC::Message*
497
Msg_NPN_SetValueForURL(int32_t routingId)
498
0
{
499
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_SetValueForURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
500
0
}
501
IPC::Message*
502
Reply_NPN_SetValueForURL(int32_t routingId)
503
0
{
504
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_SetValueForURL__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
505
0
}
506
IPC::Message*
507
Msg_NPN_ConvertPoint(int32_t routingId)
508
0
{
509
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPN_ConvertPoint__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
510
0
}
511
IPC::Message*
512
Reply_NPN_ConvertPoint(int32_t routingId)
513
0
{
514
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPN_ConvertPoint__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
515
0
}
516
IPC::Message*
517
Msg_RedrawPlugin(int32_t routingId)
518
0
{
519
0
    return IPC::Message::IPDLMessage(routingId, Msg_RedrawPlugin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
520
0
}
521
IPC::Message*
522
Msg_SetNetscapeWindowAsParent(int32_t routingId)
523
0
{
524
0
    return IPC::Message::IPDLMessage(routingId, Msg_SetNetscapeWindowAsParent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
525
0
}
526
IPC::Message*
527
Msg_GetCompositionString(int32_t routingId)
528
0
{
529
0
    return IPC::Message::IPDLMessage(routingId, Msg_GetCompositionString__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
530
0
}
531
IPC::Message*
532
Reply_GetCompositionString(int32_t routingId)
533
0
{
534
0
    return IPC::Message::IPDLMessage(routingId, Reply_GetCompositionString__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
535
0
}
536
IPC::Message*
537
Msg_SetCandidateWindow(int32_t routingId)
538
0
{
539
0
    return IPC::Message::IPDLMessage(routingId, Msg_SetCandidateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
540
0
}
541
IPC::Message*
542
Msg_RequestCommitOrCancel(int32_t routingId)
543
0
{
544
0
    return IPC::Message::IPDLMessage(routingId, Msg_RequestCommitOrCancel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
545
0
}
546
IPC::Message*
547
Msg_EnableIME(int32_t routingId)
548
0
{
549
0
    return IPC::Message::IPDLMessage(routingId, Msg_EnableIME__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
550
0
}
551
IPC::Message*
552
Msg_OnWindowedPluginKeyEvent(int32_t routingId)
553
0
{
554
0
    return IPC::Message::IPDLMessage(routingId, Msg_OnWindowedPluginKeyEvent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
555
0
}
556
IPC::Message*
557
Msg_PPluginScriptableObjectConstructor(int32_t routingId)
558
0
{
559
0
    return IPC::Message::IPDLMessage(routingId, Msg_PPluginScriptableObjectConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
560
0
}
561
IPC::Message*
562
Reply_PPluginScriptableObjectConstructor(int32_t routingId)
563
0
{
564
0
    return IPC::Message::IPDLMessage(routingId, Reply_PPluginScriptableObjectConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
565
0
}
566
IPC::Message*
567
Msg_PBrowserStreamConstructor(int32_t routingId)
568
0
{
569
0
    return IPC::Message::IPDLMessage(routingId, Msg_PBrowserStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
570
0
}
571
IPC::Message*
572
Reply_PBrowserStreamConstructor(int32_t routingId)
573
0
{
574
0
    return IPC::Message::IPDLMessage(routingId, Reply_PBrowserStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
575
0
}
576
IPC::Message*
577
Msg_NPP_NewStream(int32_t routingId)
578
0
{
579
0
    return IPC::Message::IPDLMessage(routingId, Msg_NPP_NewStream__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
580
0
}
581
IPC::Message*
582
Reply_NPP_NewStream(int32_t routingId)
583
0
{
584
0
    return IPC::Message::IPDLMessage(routingId, Reply_NPP_NewStream__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
585
0
}
586
IPC::Message*
587
Msg_PluginFocusChange(int32_t routingId)
588
0
{
589
0
    return IPC::Message::IPDLMessage(routingId, Msg_PluginFocusChange__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
590
0
}
591
IPC::Message*
592
Reply_PluginFocusChange(int32_t routingId)
593
0
{
594
0
    return IPC::Message::IPDLMessage(routingId, Reply_PluginFocusChange__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
595
0
}
596
IPC::Message*
597
Msg_SetPluginFocus(int32_t routingId)
598
0
{
599
0
    return IPC::Message::IPDLMessage(routingId, Msg_SetPluginFocus__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
600
0
}
601
IPC::Message*
602
Reply_SetPluginFocus(int32_t routingId)
603
0
{
604
0
    return IPC::Message::IPDLMessage(routingId, Reply_SetPluginFocus__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
605
0
}
606
IPC::Message*
607
Msg_UpdateWindow(int32_t routingId)
608
0
{
609
0
    return IPC::Message::IPDLMessage(routingId, Msg_UpdateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::NOT_REPLY));
610
0
}
611
IPC::Message*
612
Reply_UpdateWindow(int32_t routingId)
613
0
{
614
0
    return IPC::Message::IPDLMessage(routingId, Reply_UpdateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::INTERRUPT, IPC::Message::REPLY));
615
0
}
616
IPC::Message*
617
Msg_PPluginBackgroundDestroyerConstructor(int32_t routingId)
618
0
{
619
0
    return IPC::Message::IPDLMessage(routingId, Msg_PPluginBackgroundDestroyerConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY));
620
0
}
621
IPC::Message*
622
Reply_PPluginBackgroundDestroyerConstructor(int32_t routingId)
623
0
{
624
0
    return IPC::Message::IPDLMessage(routingId, Reply_PPluginBackgroundDestroyerConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY));
625
0
}
626
627
} // namespace PPluginInstance
628
} // namespace plugins
629
} // namespace mozilla
630
631
//-----------------------------------------------------------------------------
632
// Method definitions for the IPDL type |struct IOSurfaceDescriptor|
633
//
634
namespace mozilla {
635
namespace plugins {
636
auto IOSurfaceDescriptor::operator==(const IOSurfaceDescriptor& _o) const -> bool
637
0
{
638
0
    if ((!((surfaceId()) == ((_o).surfaceId())))) {
639
0
        return false;
640
0
    }
641
0
    if ((!((contentsScaleFactor()) == ((_o).contentsScaleFactor())))) {
642
0
        return false;
643
0
    }
644
0
    return true;
645
0
}
646
647
auto IOSurfaceDescriptor::operator!=(const IOSurfaceDescriptor& _o) const -> bool
648
0
{
649
0
    return (!(operator==(_o)));
650
0
}
651
652
} // namespace plugins
653
} // namespace mozilla
654
655
namespace mozilla {
656
namespace ipc {
657
auto IPDLParamTraits<mozilla::plugins::IOSurfaceDescriptor>::Write(
658
        IPC::Message* aMsg,
659
        mozilla::ipc::IProtocol* aActor,
660
        const paramType& aVar) -> void
661
0
{
662
0
    WriteIPDLParam(aMsg, aActor, (aVar).surfaceId());
663
0
    // Sentinel = 'surfaceId'
664
0
    (aMsg)->WriteSentinel(4108848731);
665
0
    WriteIPDLParam(aMsg, aActor, (aVar).contentsScaleFactor());
666
0
    // Sentinel = 'contentsScaleFactor'
667
0
    (aMsg)->WriteSentinel(1302021034);
668
0
}
669
670
auto IPDLParamTraits<mozilla::plugins::IOSurfaceDescriptor>::Read(
671
        const IPC::Message* aMsg,
672
        PickleIterator* aIter,
673
        mozilla::ipc::IProtocol* aActor,
674
        paramType* aVar) -> bool
675
0
{
676
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->surfaceId())))))) {
677
0
        (aActor)->FatalError("Error deserializing 'surfaceId' (uint32_t) member of 'IOSurfaceDescriptor'");
678
0
        return false;
679
0
    }
680
0
    // Sentinel = 'surfaceId'
681
0
    if ((!((aMsg)->ReadSentinel(aIter, 4108848731)))) {
682
0
        mozilla::ipc::SentinelReadError("Error deserializing 'surfaceId' (uint32_t) member of 'IOSurfaceDescriptor'");
683
0
        return false;
684
0
    }
685
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->contentsScaleFactor())))))) {
686
0
        (aActor)->FatalError("Error deserializing 'contentsScaleFactor' (double) member of 'IOSurfaceDescriptor'");
687
0
        return false;
688
0
    }
689
0
    // Sentinel = 'contentsScaleFactor'
690
0
    if ((!((aMsg)->ReadSentinel(aIter, 1302021034)))) {
691
0
        mozilla::ipc::SentinelReadError("Error deserializing 'contentsScaleFactor' (double) member of 'IOSurfaceDescriptor'");
692
0
        return false;
693
0
    }
694
0
    return true;
695
0
}
696
697
} // namespace ipc
698
} // namespace mozilla
699
700
//-----------------------------------------------------------------------------
701
// Method definitions for the IPDL type |union SurfaceDescriptor|
702
//
703
namespace mozilla {
704
namespace plugins {
705
auto SurfaceDescriptor::MaybeDestroy(Type aNewType) -> bool
706
0
{
707
0
    if ((mType) == (T__None)) {
708
0
        return true;
709
0
    }
710
0
    if ((mType) == (aNewType)) {
711
0
        return false;
712
0
    }
713
0
    switch (mType) {
714
0
    case TShmem:
715
0
        {
716
0
            (ptr_Shmem())->~Shmem__tdef();
717
0
            break;
718
0
        }
719
0
    case TSurfaceDescriptorX11:
720
0
        {
721
0
            (ptr_SurfaceDescriptorX11())->~SurfaceDescriptorX11__tdef();
722
0
            break;
723
0
        }
724
0
    case TPPluginSurfaceParent:
725
0
        {
726
0
            (ptr_PPluginSurfaceParent())->~PPluginSurfaceParent__tdef();
727
0
            break;
728
0
        }
729
0
    case TPPluginSurfaceChild:
730
0
        {
731
0
            (ptr_PPluginSurfaceChild())->~PPluginSurfaceChild__tdef();
732
0
            break;
733
0
        }
734
0
    case TIOSurfaceDescriptor:
735
0
        {
736
0
            (ptr_IOSurfaceDescriptor())->~IOSurfaceDescriptor__tdef();
737
0
            break;
738
0
        }
739
0
    case Tnull_t:
740
0
        {
741
0
            (ptr_null_t())->~null_t__tdef();
742
0
            break;
743
0
        }
744
0
    default:
745
0
        {
746
0
            mozilla::ipc::LogicError("not reached");
747
0
            break;
748
0
        }
749
0
    }
750
0
    return true;
751
0
}
752
753
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(Shmem& aOther)
754
0
{
755
0
    new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(aOther);
756
0
    mType = TShmem;
757
0
}
758
759
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(Shmem&& aOther)
760
0
{
761
0
    new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move(aOther));
762
0
    mType = TShmem;
763
0
}
764
765
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(const SurfaceDescriptorX11& aOther)
766
0
{
767
0
    new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11(aOther);
768
0
    mType = TSurfaceDescriptorX11;
769
0
}
770
771
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(SurfaceDescriptorX11&& aOther)
772
0
{
773
0
    new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11(std::move(aOther));
774
0
    mType = TSurfaceDescriptorX11;
775
0
}
776
777
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(PPluginSurfaceParent* aOther)
778
0
{
779
0
    new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*(const_cast<PPluginSurfaceParent*>(aOther));
780
0
    mType = TPPluginSurfaceParent;
781
0
}
782
783
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(PPluginSurfaceChild* aOther)
784
0
{
785
0
    new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*(const_cast<PPluginSurfaceChild*>(aOther));
786
0
    mType = TPPluginSurfaceChild;
787
0
}
788
789
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(const IOSurfaceDescriptor& aOther)
790
0
{
791
0
    new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor(aOther);
792
0
    mType = TIOSurfaceDescriptor;
793
0
}
794
795
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(IOSurfaceDescriptor&& aOther)
796
0
{
797
0
    new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor(std::move(aOther));
798
0
    mType = TIOSurfaceDescriptor;
799
0
}
800
801
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(const null_t& aOther)
802
0
{
803
0
    new (mozilla::KnownNotNull, ptr_null_t()) null_t(aOther);
804
0
    mType = Tnull_t;
805
0
}
806
807
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(null_t&& aOther)
808
0
{
809
0
    new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move(aOther));
810
0
    mType = Tnull_t;
811
0
}
812
813
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(const SurfaceDescriptor& aOther)
814
0
{
815
0
    (aOther).AssertSanity();
816
0
    switch ((aOther).type()) {
817
0
    case TShmem:
818
0
        {
819
0
            new (mozilla::KnownNotNull, ptr_Shmem()) Shmem((aOther).get_Shmem());
820
0
            break;
821
0
        }
822
0
    case TSurfaceDescriptorX11:
823
0
        {
824
0
            new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11((aOther).get_SurfaceDescriptorX11());
825
0
            break;
826
0
        }
827
0
    case TPPluginSurfaceParent:
828
0
        {
829
0
            new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*(const_cast<PPluginSurfaceParent*>((aOther).get_PPluginSurfaceParent()));
830
0
            break;
831
0
        }
832
0
    case TPPluginSurfaceChild:
833
0
        {
834
0
            new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*(const_cast<PPluginSurfaceChild*>((aOther).get_PPluginSurfaceChild()));
835
0
            break;
836
0
        }
837
0
    case TIOSurfaceDescriptor:
838
0
        {
839
0
            new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor((aOther).get_IOSurfaceDescriptor());
840
0
            break;
841
0
        }
842
0
    case Tnull_t:
843
0
        {
844
0
            new (mozilla::KnownNotNull, ptr_null_t()) null_t((aOther).get_null_t());
845
0
            break;
846
0
        }
847
0
    case T__None:
848
0
        {
849
0
            break;
850
0
        }
851
0
    default:
852
0
        {
853
0
            mozilla::ipc::LogicError("unreached");
854
0
            return;
855
0
        }
856
0
    }
857
0
    mType = (aOther).type();
858
0
}
859
860
MOZ_IMPLICIT SurfaceDescriptor::SurfaceDescriptor(SurfaceDescriptor&& aOther)
861
0
{
862
0
    (aOther).AssertSanity();
863
0
    Type t = (aOther).type();
864
0
    switch (t) {
865
0
    case TShmem:
866
0
        {
867
0
            new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move((aOther).get_Shmem()));
868
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
869
0
            break;
870
0
        }
871
0
    case TSurfaceDescriptorX11:
872
0
        {
873
0
            new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11(std::move((aOther).get_SurfaceDescriptorX11()));
874
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
875
0
            break;
876
0
        }
877
0
    case TPPluginSurfaceParent:
878
0
        {
879
0
            new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*(const_cast<PPluginSurfaceParent*>(std::move((aOther).get_PPluginSurfaceParent())));
880
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
881
0
            break;
882
0
        }
883
0
    case TPPluginSurfaceChild:
884
0
        {
885
0
            new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*(const_cast<PPluginSurfaceChild*>(std::move((aOther).get_PPluginSurfaceChild())));
886
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
887
0
            break;
888
0
        }
889
0
    case TIOSurfaceDescriptor:
890
0
        {
891
0
            new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor(std::move((aOther).get_IOSurfaceDescriptor()));
892
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
893
0
            break;
894
0
        }
895
0
    case Tnull_t:
896
0
        {
897
0
            new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move((aOther).get_null_t()));
898
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
899
0
            break;
900
0
        }
901
0
    case T__None:
902
0
        {
903
0
            break;
904
0
        }
905
0
    default:
906
0
        {
907
0
            mozilla::ipc::LogicError("unreached");
908
0
            return;
909
0
        }
910
0
    }
911
0
    (aOther).mType = T__None;
912
0
    mType = t;
913
0
}
914
915
SurfaceDescriptor::~SurfaceDescriptor()
916
0
{
917
0
    static_cast<void>(MaybeDestroy(T__None));
918
0
}
919
920
auto SurfaceDescriptor::operator=(Shmem& aRhs) -> SurfaceDescriptor&
921
0
{
922
0
    if (MaybeDestroy(TShmem)) {
923
0
        new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
924
0
    }
925
0
    (*(ptr_Shmem())) = aRhs;
926
0
    mType = TShmem;
927
0
    return (*(this));
928
0
}
929
930
auto SurfaceDescriptor::operator=(Shmem&& aRhs) -> SurfaceDescriptor&
931
0
{
932
0
    if (MaybeDestroy(TShmem)) {
933
0
        new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
934
0
    }
935
0
    (*(ptr_Shmem())) = std::move(aRhs);
936
0
    mType = TShmem;
937
0
    return (*(this));
938
0
}
939
940
auto SurfaceDescriptor::operator=(const SurfaceDescriptorX11& aRhs) -> SurfaceDescriptor&
941
0
{
942
0
    if (MaybeDestroy(TSurfaceDescriptorX11)) {
943
0
        new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11;
944
0
    }
945
0
    (*(ptr_SurfaceDescriptorX11())) = aRhs;
946
0
    mType = TSurfaceDescriptorX11;
947
0
    return (*(this));
948
0
}
949
950
auto SurfaceDescriptor::operator=(SurfaceDescriptorX11&& aRhs) -> SurfaceDescriptor&
951
0
{
952
0
    if (MaybeDestroy(TSurfaceDescriptorX11)) {
953
0
        new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11;
954
0
    }
955
0
    (*(ptr_SurfaceDescriptorX11())) = std::move(aRhs);
956
0
    mType = TSurfaceDescriptorX11;
957
0
    return (*(this));
958
0
}
959
960
auto SurfaceDescriptor::operator=(PPluginSurfaceParent* aRhs) -> SurfaceDescriptor&
961
0
{
962
0
    if (MaybeDestroy(TPPluginSurfaceParent)) {
963
0
        new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*;
964
0
    }
965
0
    (*(ptr_PPluginSurfaceParent())) = const_cast<PPluginSurfaceParent*>(aRhs);
966
0
    mType = TPPluginSurfaceParent;
967
0
    return (*(this));
968
0
}
969
970
auto SurfaceDescriptor::operator=(PPluginSurfaceChild* aRhs) -> SurfaceDescriptor&
971
0
{
972
0
    if (MaybeDestroy(TPPluginSurfaceChild)) {
973
0
        new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*;
974
0
    }
975
0
    (*(ptr_PPluginSurfaceChild())) = const_cast<PPluginSurfaceChild*>(aRhs);
976
0
    mType = TPPluginSurfaceChild;
977
0
    return (*(this));
978
0
}
979
980
auto SurfaceDescriptor::operator=(const IOSurfaceDescriptor& aRhs) -> SurfaceDescriptor&
981
0
{
982
0
    if (MaybeDestroy(TIOSurfaceDescriptor)) {
983
0
        new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor;
984
0
    }
985
0
    (*(ptr_IOSurfaceDescriptor())) = aRhs;
986
0
    mType = TIOSurfaceDescriptor;
987
0
    return (*(this));
988
0
}
989
990
auto SurfaceDescriptor::operator=(IOSurfaceDescriptor&& aRhs) -> SurfaceDescriptor&
991
0
{
992
0
    if (MaybeDestroy(TIOSurfaceDescriptor)) {
993
0
        new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor;
994
0
    }
995
0
    (*(ptr_IOSurfaceDescriptor())) = std::move(aRhs);
996
0
    mType = TIOSurfaceDescriptor;
997
0
    return (*(this));
998
0
}
999
1000
auto SurfaceDescriptor::operator=(const null_t& aRhs) -> SurfaceDescriptor&
1001
0
{
1002
0
    if (MaybeDestroy(Tnull_t)) {
1003
0
        new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1004
0
    }
1005
0
    (*(ptr_null_t())) = aRhs;
1006
0
    mType = Tnull_t;
1007
0
    return (*(this));
1008
0
}
1009
1010
auto SurfaceDescriptor::operator=(null_t&& aRhs) -> SurfaceDescriptor&
1011
0
{
1012
0
    if (MaybeDestroy(Tnull_t)) {
1013
0
        new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1014
0
    }
1015
0
    (*(ptr_null_t())) = std::move(aRhs);
1016
0
    mType = Tnull_t;
1017
0
    return (*(this));
1018
0
}
1019
1020
auto SurfaceDescriptor::operator=(const SurfaceDescriptor& aRhs) -> SurfaceDescriptor&
1021
0
{
1022
0
    (aRhs).AssertSanity();
1023
0
    Type t = (aRhs).type();
1024
0
    switch (t) {
1025
0
    case TShmem:
1026
0
        {
1027
0
            if (MaybeDestroy(t)) {
1028
0
                new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1029
0
            }
1030
0
            (*(ptr_Shmem())) = (aRhs).get_Shmem();
1031
0
            break;
1032
0
        }
1033
0
    case TSurfaceDescriptorX11:
1034
0
        {
1035
0
            if (MaybeDestroy(t)) {
1036
0
                new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11;
1037
0
            }
1038
0
            (*(ptr_SurfaceDescriptorX11())) = (aRhs).get_SurfaceDescriptorX11();
1039
0
            break;
1040
0
        }
1041
0
    case TPPluginSurfaceParent:
1042
0
        {
1043
0
            if (MaybeDestroy(t)) {
1044
0
                new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*;
1045
0
            }
1046
0
            (*(ptr_PPluginSurfaceParent())) = const_cast<PPluginSurfaceParent*>((aRhs).get_PPluginSurfaceParent());
1047
0
            break;
1048
0
        }
1049
0
    case TPPluginSurfaceChild:
1050
0
        {
1051
0
            if (MaybeDestroy(t)) {
1052
0
                new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*;
1053
0
            }
1054
0
            (*(ptr_PPluginSurfaceChild())) = const_cast<PPluginSurfaceChild*>((aRhs).get_PPluginSurfaceChild());
1055
0
            break;
1056
0
        }
1057
0
    case TIOSurfaceDescriptor:
1058
0
        {
1059
0
            if (MaybeDestroy(t)) {
1060
0
                new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor;
1061
0
            }
1062
0
            (*(ptr_IOSurfaceDescriptor())) = (aRhs).get_IOSurfaceDescriptor();
1063
0
            break;
1064
0
        }
1065
0
    case Tnull_t:
1066
0
        {
1067
0
            if (MaybeDestroy(t)) {
1068
0
                new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1069
0
            }
1070
0
            (*(ptr_null_t())) = (aRhs).get_null_t();
1071
0
            break;
1072
0
        }
1073
0
    case T__None:
1074
0
        {
1075
0
            static_cast<void>(MaybeDestroy(t));
1076
0
            break;
1077
0
        }
1078
0
    default:
1079
0
        {
1080
0
            mozilla::ipc::LogicError("unreached");
1081
0
            break;
1082
0
        }
1083
0
    }
1084
0
    mType = t;
1085
0
    return (*(this));
1086
0
}
1087
1088
auto SurfaceDescriptor::operator=(SurfaceDescriptor&& aRhs) -> SurfaceDescriptor&
1089
0
{
1090
0
    (aRhs).AssertSanity();
1091
0
    Type t = (aRhs).type();
1092
0
    switch (t) {
1093
0
    case TShmem:
1094
0
        {
1095
0
            if (MaybeDestroy(t)) {
1096
0
                new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1097
0
            }
1098
0
            (*(ptr_Shmem())) = std::move((aRhs).get_Shmem());
1099
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1100
0
            break;
1101
0
        }
1102
0
    case TSurfaceDescriptorX11:
1103
0
        {
1104
0
            if (MaybeDestroy(t)) {
1105
0
                new (mozilla::KnownNotNull, ptr_SurfaceDescriptorX11()) SurfaceDescriptorX11;
1106
0
            }
1107
0
            (*(ptr_SurfaceDescriptorX11())) = std::move((aRhs).get_SurfaceDescriptorX11());
1108
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1109
0
            break;
1110
0
        }
1111
0
    case TPPluginSurfaceParent:
1112
0
        {
1113
0
            if (MaybeDestroy(t)) {
1114
0
                new (mozilla::KnownNotNull, ptr_PPluginSurfaceParent()) PPluginSurfaceParent*;
1115
0
            }
1116
0
            (*(ptr_PPluginSurfaceParent())) = const_cast<PPluginSurfaceParent*>(std::move((aRhs).get_PPluginSurfaceParent()));
1117
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1118
0
            break;
1119
0
        }
1120
0
    case TPPluginSurfaceChild:
1121
0
        {
1122
0
            if (MaybeDestroy(t)) {
1123
0
                new (mozilla::KnownNotNull, ptr_PPluginSurfaceChild()) PPluginSurfaceChild*;
1124
0
            }
1125
0
            (*(ptr_PPluginSurfaceChild())) = const_cast<PPluginSurfaceChild*>(std::move((aRhs).get_PPluginSurfaceChild()));
1126
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1127
0
            break;
1128
0
        }
1129
0
    case TIOSurfaceDescriptor:
1130
0
        {
1131
0
            if (MaybeDestroy(t)) {
1132
0
                new (mozilla::KnownNotNull, ptr_IOSurfaceDescriptor()) IOSurfaceDescriptor;
1133
0
            }
1134
0
            (*(ptr_IOSurfaceDescriptor())) = std::move((aRhs).get_IOSurfaceDescriptor());
1135
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1136
0
            break;
1137
0
        }
1138
0
    case Tnull_t:
1139
0
        {
1140
0
            if (MaybeDestroy(t)) {
1141
0
                new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1142
0
            }
1143
0
            (*(ptr_null_t())) = std::move((aRhs).get_null_t());
1144
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1145
0
            break;
1146
0
        }
1147
0
    case T__None:
1148
0
        {
1149
0
            static_cast<void>(MaybeDestroy(t));
1150
0
            break;
1151
0
        }
1152
0
    default:
1153
0
        {
1154
0
            mozilla::ipc::LogicError("unreached");
1155
0
            break;
1156
0
        }
1157
0
    }
1158
0
    (aRhs).mType = T__None;
1159
0
    mType = t;
1160
0
    return (*(this));
1161
0
}
1162
1163
auto SurfaceDescriptor::operator==(Shmem& aRhs) const -> bool
1164
0
{
1165
0
    return (get_Shmem()) == (aRhs);
1166
0
}
1167
1168
auto SurfaceDescriptor::operator==(const SurfaceDescriptorX11& aRhs) const -> bool
1169
0
{
1170
0
    return (get_SurfaceDescriptorX11()) == (aRhs);
1171
0
}
1172
1173
auto SurfaceDescriptor::operator==(PPluginSurfaceParent* aRhs) const -> bool
1174
0
{
1175
0
    return (get_PPluginSurfaceParent()) == (aRhs);
1176
0
}
1177
1178
auto SurfaceDescriptor::operator==(PPluginSurfaceChild* aRhs) const -> bool
1179
0
{
1180
0
    return (get_PPluginSurfaceChild()) == (aRhs);
1181
0
}
1182
1183
auto SurfaceDescriptor::operator==(const IOSurfaceDescriptor& aRhs) const -> bool
1184
0
{
1185
0
    return (get_IOSurfaceDescriptor()) == (aRhs);
1186
0
}
1187
1188
auto SurfaceDescriptor::operator==(const null_t& aRhs) const -> bool
1189
0
{
1190
0
    return (get_null_t()) == (aRhs);
1191
0
}
1192
1193
auto SurfaceDescriptor::operator==(const SurfaceDescriptor& aRhs) const -> bool
1194
0
{
1195
0
    if ((type()) != ((aRhs).type())) {
1196
0
        return false;
1197
0
    }
1198
0
1199
0
    switch (type()) {
1200
0
    case TShmem:
1201
0
        {
1202
0
            return (get_Shmem()) == ((aRhs).get_Shmem());
1203
0
        }
1204
0
    case TSurfaceDescriptorX11:
1205
0
        {
1206
0
            return (get_SurfaceDescriptorX11()) == ((aRhs).get_SurfaceDescriptorX11());
1207
0
        }
1208
0
    case TPPluginSurfaceParent:
1209
0
        {
1210
0
            return (get_PPluginSurfaceParent()) == ((aRhs).get_PPluginSurfaceParent());
1211
0
        }
1212
0
    case TPPluginSurfaceChild:
1213
0
        {
1214
0
            return (get_PPluginSurfaceChild()) == ((aRhs).get_PPluginSurfaceChild());
1215
0
        }
1216
0
    case TIOSurfaceDescriptor:
1217
0
        {
1218
0
            return (get_IOSurfaceDescriptor()) == ((aRhs).get_IOSurfaceDescriptor());
1219
0
        }
1220
0
    case Tnull_t:
1221
0
        {
1222
0
            return (get_null_t()) == ((aRhs).get_null_t());
1223
0
        }
1224
0
    default:
1225
0
        {
1226
0
            mozilla::ipc::LogicError("unreached");
1227
0
            return false;
1228
0
        }
1229
0
    }
1230
0
}
1231
1232
auto SurfaceDescriptor::get(Shmem* aOutValue) const -> void
1233
0
{
1234
0
    (*(aOutValue)) = get_Shmem();
1235
0
}
1236
1237
auto SurfaceDescriptor::get(SurfaceDescriptorX11* aOutValue) const -> void
1238
0
{
1239
0
    (*(aOutValue)) = get_SurfaceDescriptorX11();
1240
0
}
1241
1242
auto SurfaceDescriptor::get(PPluginSurfaceParent** aOutValue) const -> void
1243
0
{
1244
0
    (*(aOutValue)) = get_PPluginSurfaceParent();
1245
0
}
1246
1247
auto SurfaceDescriptor::get(PPluginSurfaceChild** aOutValue) const -> void
1248
0
{
1249
0
    (*(aOutValue)) = get_PPluginSurfaceChild();
1250
0
}
1251
1252
auto SurfaceDescriptor::get(IOSurfaceDescriptor* aOutValue) const -> void
1253
0
{
1254
0
    (*(aOutValue)) = get_IOSurfaceDescriptor();
1255
0
}
1256
1257
auto SurfaceDescriptor::get(null_t* aOutValue) const -> void
1258
0
{
1259
0
    (*(aOutValue)) = get_null_t();
1260
0
}
1261
1262
} // namespace plugins
1263
} // namespace mozilla
1264
1265
namespace mozilla {
1266
namespace ipc {
1267
auto IPDLParamTraits<mozilla::plugins::SurfaceDescriptor>::Write(
1268
        IPC::Message* aMsg,
1269
        mozilla::ipc::IProtocol* aActor,
1270
        const paramType& aVar) -> void
1271
0
{
1272
0
    typedef mozilla::plugins::SurfaceDescriptor union__;
1273
0
    int type;
1274
0
    type = (aVar).type();
1275
0
    WriteIPDLParam(aMsg, aActor, type);
1276
0
    // Sentinel = 'SurfaceDescriptor'
1277
0
    (aMsg)->WriteSentinel(1058499359);
1278
0
1279
0
    switch (type) {
1280
0
    case union__::TShmem:
1281
0
        {
1282
0
            WriteIPDLParam(aMsg, aActor, (aVar).get_Shmem());
1283
0
            // Sentinel = 'TShmem'
1284
0
            (aMsg)->WriteSentinel(3517971266);
1285
0
            return;
1286
0
        }
1287
0
    case union__::TSurfaceDescriptorX11:
1288
0
        {
1289
0
            WriteIPDLParam(aMsg, aActor, (aVar).get_SurfaceDescriptorX11());
1290
0
            // Sentinel = 'TSurfaceDescriptorX11'
1291
0
            (aMsg)->WriteSentinel(3923930613);
1292
0
            return;
1293
0
        }
1294
0
    case union__::TPPluginSurfaceParent:
1295
0
        {
1296
0
            if ((mozilla::ipc::ParentSide) == ((aActor)->GetSide())) {
1297
0
                MOZ_RELEASE_ASSERT((aVar).get_PPluginSurfaceParent(), "NULL actor value passed to non-nullable param");
1298
0
                WriteIPDLParam(aMsg, aActor, (aVar).get_PPluginSurfaceParent());
1299
0
                // Sentinel = 'TPPluginSurfaceParent'
1300
0
                (aMsg)->WriteSentinel(1596158763);
1301
0
            }
1302
0
            else {
1303
0
                (aActor)->FatalError("wrong side!");
1304
0
            }
1305
0
            return;
1306
0
        }
1307
0
    case union__::TPPluginSurfaceChild:
1308
0
        {
1309
0
            if ((mozilla::ipc::ChildSide) == ((aActor)->GetSide())) {
1310
0
                MOZ_RELEASE_ASSERT((aVar).get_PPluginSurfaceChild(), "NULL actor value passed to non-nullable param");
1311
0
                WriteIPDLParam(aMsg, aActor, (aVar).get_PPluginSurfaceChild());
1312
0
                // Sentinel = 'TPPluginSurfaceChild'
1313
0
                (aMsg)->WriteSentinel(4004727756);
1314
0
            }
1315
0
            else {
1316
0
                (aActor)->FatalError("wrong side!");
1317
0
            }
1318
0
            return;
1319
0
        }
1320
0
    case union__::TIOSurfaceDescriptor:
1321
0
        {
1322
0
            WriteIPDLParam(aMsg, aActor, (aVar).get_IOSurfaceDescriptor());
1323
0
            // Sentinel = 'TIOSurfaceDescriptor'
1324
0
            (aMsg)->WriteSentinel(4218865066);
1325
0
            return;
1326
0
        }
1327
0
    case union__::Tnull_t:
1328
0
        {
1329
0
            WriteIPDLParam(aMsg, aActor, (aVar).get_null_t());
1330
0
            // Sentinel = 'Tnull_t'
1331
0
            (aMsg)->WriteSentinel(3731137201);
1332
0
            return;
1333
0
        }
1334
0
    default:
1335
0
        {
1336
0
            (aActor)->FatalError("unknown union type");
1337
0
            return;
1338
0
        }
1339
0
    }
1340
0
}
1341
1342
auto IPDLParamTraits<mozilla::plugins::SurfaceDescriptor>::Read(
1343
        const IPC::Message* aMsg,
1344
        PickleIterator* aIter,
1345
        mozilla::ipc::IProtocol* aActor,
1346
        paramType* aVar) -> bool
1347
0
{
1348
0
    typedef mozilla::plugins::SurfaceDescriptor union__;
1349
0
    int type;
1350
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) {
1351
0
        (aActor)->FatalError("Error deserializing type of union SurfaceDescriptor");
1352
0
        return false;
1353
0
    }
1354
0
    // Sentinel = 'SurfaceDescriptor'
1355
0
    if ((!((aMsg)->ReadSentinel(aIter, 1058499359)))) {
1356
0
        mozilla::ipc::SentinelReadError("Error deserializing type of union SurfaceDescriptor");
1357
0
        return false;
1358
0
    }
1359
0
1360
0
    switch (type) {
1361
0
    case union__::TShmem:
1362
0
        {
1363
0
            mozilla::ipc::Shmem tmp = mozilla::ipc::Shmem();
1364
0
            (*(aVar)) = tmp;
1365
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_Shmem())))))) {
1366
0
                (aActor)->FatalError("Error deserializing variant TShmem of union SurfaceDescriptor");
1367
0
                return false;
1368
0
            }
1369
0
            // Sentinel = 'TShmem'
1370
0
            if ((!((aMsg)->ReadSentinel(aIter, 3517971266)))) {
1371
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TShmem of union SurfaceDescriptor");
1372
0
                return false;
1373
0
            }
1374
0
            return true;
1375
0
        }
1376
0
    case union__::TSurfaceDescriptorX11:
1377
0
        {
1378
0
            mozilla::layers::SurfaceDescriptorX11 tmp = mozilla::layers::SurfaceDescriptorX11();
1379
0
            (*(aVar)) = tmp;
1380
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_SurfaceDescriptorX11())))))) {
1381
0
                (aActor)->FatalError("Error deserializing variant TSurfaceDescriptorX11 of union SurfaceDescriptor");
1382
0
                return false;
1383
0
            }
1384
0
            // Sentinel = 'TSurfaceDescriptorX11'
1385
0
            if ((!((aMsg)->ReadSentinel(aIter, 3923930613)))) {
1386
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TSurfaceDescriptorX11 of union SurfaceDescriptor");
1387
0
                return false;
1388
0
            }
1389
0
            return true;
1390
0
        }
1391
0
    case union__::TPPluginSurfaceParent:
1392
0
        {
1393
0
            if ((mozilla::ipc::ParentSide) == ((aActor)->GetSide())) {
1394
0
                {
1395
0
                    (aActor)->FatalError("wrong side!");
1396
0
                    return false;
1397
0
                }
1398
0
            }
1399
0
            mozilla::plugins::PPluginSurfaceChild* tmp = nullptr;
1400
0
            (*(aVar)) = tmp;
1401
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_PPluginSurfaceChild())))))) {
1402
0
                (aActor)->FatalError("Error deserializing variant TPPluginSurfaceParent of union SurfaceDescriptor");
1403
0
                return false;
1404
0
            }
1405
0
            if ((!((*((&((aVar)->get_PPluginSurfaceChild()))))))) {
1406
0
                (aActor)->FatalError("Error deserializing variant TPPluginSurfaceParent of union SurfaceDescriptor");
1407
0
                return false;
1408
0
            }
1409
0
            // Sentinel = 'TPPluginSurfaceParent'
1410
0
            if ((!((aMsg)->ReadSentinel(aIter, 1596158763)))) {
1411
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TPPluginSurfaceParent of union SurfaceDescriptor");
1412
0
                return false;
1413
0
            }
1414
0
            return true;
1415
0
        }
1416
0
    case union__::TPPluginSurfaceChild:
1417
0
        {
1418
0
            if ((mozilla::ipc::ChildSide) == ((aActor)->GetSide())) {
1419
0
                {
1420
0
                    (aActor)->FatalError("wrong side!");
1421
0
                    return false;
1422
0
                }
1423
0
            }
1424
0
            mozilla::plugins::PPluginSurfaceParent* tmp = nullptr;
1425
0
            (*(aVar)) = tmp;
1426
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_PPluginSurfaceParent())))))) {
1427
0
                (aActor)->FatalError("Error deserializing variant TPPluginSurfaceChild of union SurfaceDescriptor");
1428
0
                return false;
1429
0
            }
1430
0
            if ((!((*((&((aVar)->get_PPluginSurfaceParent()))))))) {
1431
0
                (aActor)->FatalError("Error deserializing variant TPPluginSurfaceChild of union SurfaceDescriptor");
1432
0
                return false;
1433
0
            }
1434
0
            // Sentinel = 'TPPluginSurfaceChild'
1435
0
            if ((!((aMsg)->ReadSentinel(aIter, 4004727756)))) {
1436
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TPPluginSurfaceChild of union SurfaceDescriptor");
1437
0
                return false;
1438
0
            }
1439
0
            return true;
1440
0
        }
1441
0
    case union__::TIOSurfaceDescriptor:
1442
0
        {
1443
0
            mozilla::plugins::IOSurfaceDescriptor tmp = mozilla::plugins::IOSurfaceDescriptor();
1444
0
            (*(aVar)) = tmp;
1445
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_IOSurfaceDescriptor())))))) {
1446
0
                (aActor)->FatalError("Error deserializing variant TIOSurfaceDescriptor of union SurfaceDescriptor");
1447
0
                return false;
1448
0
            }
1449
0
            // Sentinel = 'TIOSurfaceDescriptor'
1450
0
            if ((!((aMsg)->ReadSentinel(aIter, 4218865066)))) {
1451
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TIOSurfaceDescriptor of union SurfaceDescriptor");
1452
0
                return false;
1453
0
            }
1454
0
            return true;
1455
0
        }
1456
0
    case union__::Tnull_t:
1457
0
        {
1458
0
            mozilla::null_t tmp = mozilla::null_t();
1459
0
            (*(aVar)) = tmp;
1460
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_null_t())))))) {
1461
0
                (aActor)->FatalError("Error deserializing variant Tnull_t of union SurfaceDescriptor");
1462
0
                return false;
1463
0
            }
1464
0
            // Sentinel = 'Tnull_t'
1465
0
            if ((!((aMsg)->ReadSentinel(aIter, 3731137201)))) {
1466
0
                mozilla::ipc::SentinelReadError("Error deserializing variant Tnull_t of union SurfaceDescriptor");
1467
0
                return false;
1468
0
            }
1469
0
            return true;
1470
0
        }
1471
0
    default:
1472
0
        {
1473
0
            (aActor)->FatalError("unknown union type");
1474
0
            return false;
1475
0
        }
1476
0
    }
1477
0
}
1478
1479
} // namespace ipc
1480
} // namespace mozilla
1481
1482
//-----------------------------------------------------------------------------
1483
// Method definitions for the IPDL type |union OptionalShmem|
1484
//
1485
namespace mozilla {
1486
namespace plugins {
1487
auto OptionalShmem::MaybeDestroy(Type aNewType) -> bool
1488
0
{
1489
0
    if ((mType) == (T__None)) {
1490
0
        return true;
1491
0
    }
1492
0
    if ((mType) == (aNewType)) {
1493
0
        return false;
1494
0
    }
1495
0
    switch (mType) {
1496
0
    case TShmem:
1497
0
        {
1498
0
            (ptr_Shmem())->~Shmem__tdef();
1499
0
            break;
1500
0
        }
1501
0
    case Tnull_t:
1502
0
        {
1503
0
            (ptr_null_t())->~null_t__tdef();
1504
0
            break;
1505
0
        }
1506
0
    default:
1507
0
        {
1508
0
            mozilla::ipc::LogicError("not reached");
1509
0
            break;
1510
0
        }
1511
0
    }
1512
0
    return true;
1513
0
}
1514
1515
MOZ_IMPLICIT OptionalShmem::OptionalShmem(Shmem& aOther)
1516
0
{
1517
0
    new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(aOther);
1518
0
    mType = TShmem;
1519
0
}
1520
1521
MOZ_IMPLICIT OptionalShmem::OptionalShmem(Shmem&& aOther)
1522
0
{
1523
0
    new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move(aOther));
1524
0
    mType = TShmem;
1525
0
}
1526
1527
MOZ_IMPLICIT OptionalShmem::OptionalShmem(const null_t& aOther)
1528
0
{
1529
0
    new (mozilla::KnownNotNull, ptr_null_t()) null_t(aOther);
1530
0
    mType = Tnull_t;
1531
0
}
1532
1533
MOZ_IMPLICIT OptionalShmem::OptionalShmem(null_t&& aOther)
1534
0
{
1535
0
    new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move(aOther));
1536
0
    mType = Tnull_t;
1537
0
}
1538
1539
MOZ_IMPLICIT OptionalShmem::OptionalShmem(const OptionalShmem& aOther)
1540
0
{
1541
0
    (aOther).AssertSanity();
1542
0
    switch ((aOther).type()) {
1543
0
    case TShmem:
1544
0
        {
1545
0
            new (mozilla::KnownNotNull, ptr_Shmem()) Shmem((aOther).get_Shmem());
1546
0
            break;
1547
0
        }
1548
0
    case Tnull_t:
1549
0
        {
1550
0
            new (mozilla::KnownNotNull, ptr_null_t()) null_t((aOther).get_null_t());
1551
0
            break;
1552
0
        }
1553
0
    case T__None:
1554
0
        {
1555
0
            break;
1556
0
        }
1557
0
    default:
1558
0
        {
1559
0
            mozilla::ipc::LogicError("unreached");
1560
0
            return;
1561
0
        }
1562
0
    }
1563
0
    mType = (aOther).type();
1564
0
}
1565
1566
MOZ_IMPLICIT OptionalShmem::OptionalShmem(OptionalShmem&& aOther)
1567
0
{
1568
0
    (aOther).AssertSanity();
1569
0
    Type t = (aOther).type();
1570
0
    switch (t) {
1571
0
    case TShmem:
1572
0
        {
1573
0
            new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move((aOther).get_Shmem()));
1574
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
1575
0
            break;
1576
0
        }
1577
0
    case Tnull_t:
1578
0
        {
1579
0
            new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move((aOther).get_null_t()));
1580
0
            static_cast<void>((aOther).MaybeDestroy(T__None));
1581
0
            break;
1582
0
        }
1583
0
    case T__None:
1584
0
        {
1585
0
            break;
1586
0
        }
1587
0
    default:
1588
0
        {
1589
0
            mozilla::ipc::LogicError("unreached");
1590
0
            return;
1591
0
        }
1592
0
    }
1593
0
    (aOther).mType = T__None;
1594
0
    mType = t;
1595
0
}
1596
1597
OptionalShmem::~OptionalShmem()
1598
0
{
1599
0
    static_cast<void>(MaybeDestroy(T__None));
1600
0
}
1601
1602
auto OptionalShmem::operator=(Shmem& aRhs) -> OptionalShmem&
1603
0
{
1604
0
    if (MaybeDestroy(TShmem)) {
1605
0
        new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1606
0
    }
1607
0
    (*(ptr_Shmem())) = aRhs;
1608
0
    mType = TShmem;
1609
0
    return (*(this));
1610
0
}
1611
1612
auto OptionalShmem::operator=(Shmem&& aRhs) -> OptionalShmem&
1613
0
{
1614
0
    if (MaybeDestroy(TShmem)) {
1615
0
        new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1616
0
    }
1617
0
    (*(ptr_Shmem())) = std::move(aRhs);
1618
0
    mType = TShmem;
1619
0
    return (*(this));
1620
0
}
1621
1622
auto OptionalShmem::operator=(const null_t& aRhs) -> OptionalShmem&
1623
0
{
1624
0
    if (MaybeDestroy(Tnull_t)) {
1625
0
        new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1626
0
    }
1627
0
    (*(ptr_null_t())) = aRhs;
1628
0
    mType = Tnull_t;
1629
0
    return (*(this));
1630
0
}
1631
1632
auto OptionalShmem::operator=(null_t&& aRhs) -> OptionalShmem&
1633
0
{
1634
0
    if (MaybeDestroy(Tnull_t)) {
1635
0
        new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1636
0
    }
1637
0
    (*(ptr_null_t())) = std::move(aRhs);
1638
0
    mType = Tnull_t;
1639
0
    return (*(this));
1640
0
}
1641
1642
auto OptionalShmem::operator=(const OptionalShmem& aRhs) -> OptionalShmem&
1643
0
{
1644
0
    (aRhs).AssertSanity();
1645
0
    Type t = (aRhs).type();
1646
0
    switch (t) {
1647
0
    case TShmem:
1648
0
        {
1649
0
            if (MaybeDestroy(t)) {
1650
0
                new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1651
0
            }
1652
0
            (*(ptr_Shmem())) = (aRhs).get_Shmem();
1653
0
            break;
1654
0
        }
1655
0
    case Tnull_t:
1656
0
        {
1657
0
            if (MaybeDestroy(t)) {
1658
0
                new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1659
0
            }
1660
0
            (*(ptr_null_t())) = (aRhs).get_null_t();
1661
0
            break;
1662
0
        }
1663
0
    case T__None:
1664
0
        {
1665
0
            static_cast<void>(MaybeDestroy(t));
1666
0
            break;
1667
0
        }
1668
0
    default:
1669
0
        {
1670
0
            mozilla::ipc::LogicError("unreached");
1671
0
            break;
1672
0
        }
1673
0
    }
1674
0
    mType = t;
1675
0
    return (*(this));
1676
0
}
1677
1678
auto OptionalShmem::operator=(OptionalShmem&& aRhs) -> OptionalShmem&
1679
0
{
1680
0
    (aRhs).AssertSanity();
1681
0
    Type t = (aRhs).type();
1682
0
    switch (t) {
1683
0
    case TShmem:
1684
0
        {
1685
0
            if (MaybeDestroy(t)) {
1686
0
                new (mozilla::KnownNotNull, ptr_Shmem()) Shmem;
1687
0
            }
1688
0
            (*(ptr_Shmem())) = std::move((aRhs).get_Shmem());
1689
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1690
0
            break;
1691
0
        }
1692
0
    case Tnull_t:
1693
0
        {
1694
0
            if (MaybeDestroy(t)) {
1695
0
                new (mozilla::KnownNotNull, ptr_null_t()) null_t;
1696
0
            }
1697
0
            (*(ptr_null_t())) = std::move((aRhs).get_null_t());
1698
0
            static_cast<void>((aRhs).MaybeDestroy(T__None));
1699
0
            break;
1700
0
        }
1701
0
    case T__None:
1702
0
        {
1703
0
            static_cast<void>(MaybeDestroy(t));
1704
0
            break;
1705
0
        }
1706
0
    default:
1707
0
        {
1708
0
            mozilla::ipc::LogicError("unreached");
1709
0
            break;
1710
0
        }
1711
0
    }
1712
0
    (aRhs).mType = T__None;
1713
0
    mType = t;
1714
0
    return (*(this));
1715
0
}
1716
1717
auto OptionalShmem::operator==(Shmem& aRhs) const -> bool
1718
0
{
1719
0
    return (get_Shmem()) == (aRhs);
1720
0
}
1721
1722
auto OptionalShmem::operator==(const null_t& aRhs) const -> bool
1723
0
{
1724
0
    return (get_null_t()) == (aRhs);
1725
0
}
1726
1727
auto OptionalShmem::operator==(const OptionalShmem& aRhs) const -> bool
1728
0
{
1729
0
    if ((type()) != ((aRhs).type())) {
1730
0
        return false;
1731
0
    }
1732
0
1733
0
    switch (type()) {
1734
0
    case TShmem:
1735
0
        {
1736
0
            return (get_Shmem()) == ((aRhs).get_Shmem());
1737
0
        }
1738
0
    case Tnull_t:
1739
0
        {
1740
0
            return (get_null_t()) == ((aRhs).get_null_t());
1741
0
        }
1742
0
    default:
1743
0
        {
1744
0
            mozilla::ipc::LogicError("unreached");
1745
0
            return false;
1746
0
        }
1747
0
    }
1748
0
}
1749
1750
auto OptionalShmem::get(Shmem* aOutValue) const -> void
1751
0
{
1752
0
    (*(aOutValue)) = get_Shmem();
1753
0
}
1754
1755
auto OptionalShmem::get(null_t* aOutValue) const -> void
1756
0
{
1757
0
    (*(aOutValue)) = get_null_t();
1758
0
}
1759
1760
} // namespace plugins
1761
} // namespace mozilla
1762
1763
namespace mozilla {
1764
namespace ipc {
1765
auto IPDLParamTraits<mozilla::plugins::OptionalShmem>::Write(
1766
        IPC::Message* aMsg,
1767
        mozilla::ipc::IProtocol* aActor,
1768
        const paramType& aVar) -> void
1769
{
1770
    typedef mozilla::plugins::OptionalShmem union__;
1771
    int type;
1772
    type = (aVar).type();
1773
    WriteIPDLParam(aMsg, aActor, type);
1774
    // Sentinel = 'OptionalShmem'
1775
    (aMsg)->WriteSentinel(45577065);
1776
1777
    switch (type) {
1778
    case union__::TShmem:
1779
        {
1780
            WriteIPDLParam(aMsg, aActor, (aVar).get_Shmem());
1781
            // Sentinel = 'TShmem'
1782
            (aMsg)->WriteSentinel(3517971266);
1783
            return;
1784
        }
1785
    case union__::Tnull_t:
1786
        {
1787
            WriteIPDLParam(aMsg, aActor, (aVar).get_null_t());
1788
            // Sentinel = 'Tnull_t'
1789
            (aMsg)->WriteSentinel(3731137201);
1790
            return;
1791
        }
1792
    default:
1793
        {
1794
            (aActor)->FatalError("unknown union type");
1795
            return;
1796
        }
1797
    }
1798
}
1799
1800
auto IPDLParamTraits<mozilla::plugins::OptionalShmem>::Read(
1801
        const IPC::Message* aMsg,
1802
        PickleIterator* aIter,
1803
        mozilla::ipc::IProtocol* aActor,
1804
        paramType* aVar) -> bool
1805
0
{
1806
0
    typedef mozilla::plugins::OptionalShmem union__;
1807
0
    int type;
1808
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) {
1809
0
        (aActor)->FatalError("Error deserializing type of union OptionalShmem");
1810
0
        return false;
1811
0
    }
1812
0
    // Sentinel = 'OptionalShmem'
1813
0
    if ((!((aMsg)->ReadSentinel(aIter, 45577065)))) {
1814
0
        mozilla::ipc::SentinelReadError("Error deserializing type of union OptionalShmem");
1815
0
        return false;
1816
0
    }
1817
0
1818
0
    switch (type) {
1819
0
    case union__::TShmem:
1820
0
        {
1821
0
            mozilla::ipc::Shmem tmp = mozilla::ipc::Shmem();
1822
0
            (*(aVar)) = tmp;
1823
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_Shmem())))))) {
1824
0
                (aActor)->FatalError("Error deserializing variant TShmem of union OptionalShmem");
1825
0
                return false;
1826
0
            }
1827
0
            // Sentinel = 'TShmem'
1828
0
            if ((!((aMsg)->ReadSentinel(aIter, 3517971266)))) {
1829
0
                mozilla::ipc::SentinelReadError("Error deserializing variant TShmem of union OptionalShmem");
1830
0
                return false;
1831
0
            }
1832
0
            return true;
1833
0
        }
1834
0
    case union__::Tnull_t:
1835
0
        {
1836
0
            mozilla::null_t tmp = mozilla::null_t();
1837
0
            (*(aVar)) = tmp;
1838
0
            if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_null_t())))))) {
1839
0
                (aActor)->FatalError("Error deserializing variant Tnull_t of union OptionalShmem");
1840
0
                return false;
1841
0
            }
1842
0
            // Sentinel = 'Tnull_t'
1843
0
            if ((!((aMsg)->ReadSentinel(aIter, 3731137201)))) {
1844
0
                mozilla::ipc::SentinelReadError("Error deserializing variant Tnull_t of union OptionalShmem");
1845
0
                return false;
1846
0
            }
1847
0
            return true;
1848
0
        }
1849
0
    default:
1850
0
        {
1851
0
            (aActor)->FatalError("unknown union type");
1852
0
            return false;
1853
0
        }
1854
0
    }
1855
0
}
1856
1857
} // namespace ipc
1858
} // namespace mozilla