/work/obj-fuzz/ipc/ipdl/PDocAccessibleChild.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/a11y/PDocAccessibleChild.h" |
8 | | |
9 | | #include "mozilla/ipc/PFileDescriptorSetChild.h" |
10 | | #include "mozilla/dom/PBrowserChild.h" |
11 | | |
12 | | #include "nsIFile.h" |
13 | | #include "GeckoProfiler.h" |
14 | | |
15 | | namespace mozilla { |
16 | | namespace a11y { |
17 | | |
18 | | |
19 | | auto PDocAccessibleChild::Recv__delete__() -> mozilla::ipc::IPCResult |
20 | 0 | { |
21 | 0 | return IPC_OK(); |
22 | 0 | } |
23 | | |
24 | | auto PDocAccessibleChild::ActorDestroy(ActorDestroyReason aWhy) -> void |
25 | 0 | { |
26 | 0 | } |
27 | | |
28 | | MOZ_IMPLICIT PDocAccessibleChild::PDocAccessibleChild() : |
29 | | mozilla::ipc::IProtocol(mozilla::ipc::ChildSide), |
30 | | mLivenessState(mozilla::ipc::LivenessState::Dead) |
31 | 0 | { |
32 | 0 | MOZ_COUNT_CTOR(PDocAccessibleChild); |
33 | 0 | } |
34 | | |
35 | | PDocAccessibleChild::~PDocAccessibleChild() |
36 | 0 | { |
37 | 0 | MOZ_COUNT_DTOR(PDocAccessibleChild); |
38 | 0 | } |
39 | | |
40 | | auto PDocAccessibleChild::Manager() const -> PBrowserChild* |
41 | 0 | { |
42 | 0 | return static_cast<PBrowserChild*>(IProtocol::Manager()); |
43 | 0 | } |
44 | | |
45 | | auto PDocAccessibleChild::SendShutdown() -> bool |
46 | 0 | { |
47 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Shutdown(Id()); |
48 | 0 |
|
49 | 0 |
|
50 | 0 |
|
51 | 0 |
|
52 | 0 |
|
53 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
54 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
55 | 0 | } |
56 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Shutdown", OTHER); |
57 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
58 | 0 | mozilla::ipc::LogicError("Transition error"); |
59 | 0 | } |
60 | 0 |
|
61 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
62 | 0 | return sendok__; |
63 | 0 | } |
64 | | |
65 | | auto PDocAccessibleChild::SendEvent( |
66 | | const uint64_t& aID, |
67 | | const uint32_t& type) -> bool |
68 | 0 | { |
69 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Event(Id()); |
70 | 0 |
|
71 | 0 | WriteIPDLParam(msg__, this, aID); |
72 | 0 | // Sentinel = 'aID' |
73 | 0 | (msg__)->WriteSentinel(2735041849); |
74 | 0 | WriteIPDLParam(msg__, this, type); |
75 | 0 | // Sentinel = 'type' |
76 | 0 | (msg__)->WriteSentinel(2982068540); |
77 | 0 |
|
78 | 0 |
|
79 | 0 |
|
80 | 0 |
|
81 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
82 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
83 | 0 | } |
84 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Event", OTHER); |
85 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
86 | 0 | mozilla::ipc::LogicError("Transition error"); |
87 | 0 | } |
88 | 0 |
|
89 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
90 | 0 | return sendok__; |
91 | 0 | } |
92 | | |
93 | | auto PDocAccessibleChild::SendShowEvent( |
94 | | const ShowEventData& data, |
95 | | const bool& aFromuser) -> bool |
96 | 0 | { |
97 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ShowEvent(Id()); |
98 | 0 |
|
99 | 0 | WriteIPDLParam(msg__, this, data); |
100 | 0 | // Sentinel = 'data' |
101 | 0 | (msg__)->WriteSentinel(843352540); |
102 | 0 | WriteIPDLParam(msg__, this, aFromuser); |
103 | 0 | // Sentinel = 'aFromuser' |
104 | 0 | (msg__)->WriteSentinel(3160995885); |
105 | 0 |
|
106 | 0 |
|
107 | 0 |
|
108 | 0 |
|
109 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
110 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
111 | 0 | } |
112 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ShowEvent", OTHER); |
113 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
114 | 0 | mozilla::ipc::LogicError("Transition error"); |
115 | 0 | } |
116 | 0 |
|
117 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
118 | 0 | return sendok__; |
119 | 0 | } |
120 | | |
121 | | auto PDocAccessibleChild::SendHideEvent( |
122 | | const uint64_t& aRootID, |
123 | | const bool& aFromUser) -> bool |
124 | 0 | { |
125 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_HideEvent(Id()); |
126 | 0 |
|
127 | 0 | WriteIPDLParam(msg__, this, aRootID); |
128 | 0 | // Sentinel = 'aRootID' |
129 | 0 | (msg__)->WriteSentinel(2354475633); |
130 | 0 | WriteIPDLParam(msg__, this, aFromUser); |
131 | 0 | // Sentinel = 'aFromUser' |
132 | 0 | (msg__)->WriteSentinel(526185101); |
133 | 0 |
|
134 | 0 |
|
135 | 0 |
|
136 | 0 |
|
137 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
138 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
139 | 0 | } |
140 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_HideEvent", OTHER); |
141 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
142 | 0 | mozilla::ipc::LogicError("Transition error"); |
143 | 0 | } |
144 | 0 |
|
145 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
146 | 0 | return sendok__; |
147 | 0 | } |
148 | | |
149 | | auto PDocAccessibleChild::SendStateChangeEvent( |
150 | | const uint64_t& aID, |
151 | | const uint64_t& aState, |
152 | | const bool& aEnabled) -> bool |
153 | 0 | { |
154 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_StateChangeEvent(Id()); |
155 | 0 |
|
156 | 0 | WriteIPDLParam(msg__, this, aID); |
157 | 0 | // Sentinel = 'aID' |
158 | 0 | (msg__)->WriteSentinel(2735041849); |
159 | 0 | WriteIPDLParam(msg__, this, aState); |
160 | 0 | // Sentinel = 'aState' |
161 | 0 | (msg__)->WriteSentinel(3694751962); |
162 | 0 | WriteIPDLParam(msg__, this, aEnabled); |
163 | 0 | // Sentinel = 'aEnabled' |
164 | 0 | (msg__)->WriteSentinel(2225039408); |
165 | 0 |
|
166 | 0 |
|
167 | 0 |
|
168 | 0 |
|
169 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
170 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
171 | 0 | } |
172 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_StateChangeEvent", OTHER); |
173 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
174 | 0 | mozilla::ipc::LogicError("Transition error"); |
175 | 0 | } |
176 | 0 |
|
177 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
178 | 0 | return sendok__; |
179 | 0 | } |
180 | | |
181 | | auto PDocAccessibleChild::SendCaretMoveEvent( |
182 | | const uint64_t& aID, |
183 | | const int32_t& aOffset) -> bool |
184 | 0 | { |
185 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CaretMoveEvent(Id()); |
186 | 0 |
|
187 | 0 | WriteIPDLParam(msg__, this, aID); |
188 | 0 | // Sentinel = 'aID' |
189 | 0 | (msg__)->WriteSentinel(2735041849); |
190 | 0 | WriteIPDLParam(msg__, this, aOffset); |
191 | 0 | // Sentinel = 'aOffset' |
192 | 0 | (msg__)->WriteSentinel(2656388039); |
193 | 0 |
|
194 | 0 |
|
195 | 0 |
|
196 | 0 |
|
197 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
198 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
199 | 0 | } |
200 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretMoveEvent", OTHER); |
201 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
202 | 0 | mozilla::ipc::LogicError("Transition error"); |
203 | 0 | } |
204 | 0 |
|
205 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
206 | 0 | return sendok__; |
207 | 0 | } |
208 | | |
209 | | auto PDocAccessibleChild::SendTextChangeEvent( |
210 | | const uint64_t& aID, |
211 | | const nsString& aStr, |
212 | | const int32_t& aStart, |
213 | | const uint32_t& aLen, |
214 | | const bool& aIsInsert, |
215 | | const bool& aFromUser) -> bool |
216 | 0 | { |
217 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TextChangeEvent(Id()); |
218 | 0 |
|
219 | 0 | WriteIPDLParam(msg__, this, aID); |
220 | 0 | // Sentinel = 'aID' |
221 | 0 | (msg__)->WriteSentinel(2735041849); |
222 | 0 | WriteIPDLParam(msg__, this, aStr); |
223 | 0 | // Sentinel = 'aStr' |
224 | 0 | (msg__)->WriteSentinel(2114818906); |
225 | 0 | WriteIPDLParam(msg__, this, aStart); |
226 | 0 | // Sentinel = 'aStart' |
227 | 0 | (msg__)->WriteSentinel(3696751949); |
228 | 0 | WriteIPDLParam(msg__, this, aLen); |
229 | 0 | // Sentinel = 'aLen' |
230 | 0 | (msg__)->WriteSentinel(2715198354); |
231 | 0 | WriteIPDLParam(msg__, this, aIsInsert); |
232 | 0 | // Sentinel = 'aIsInsert' |
233 | 0 | (msg__)->WriteSentinel(659069939); |
234 | 0 | WriteIPDLParam(msg__, this, aFromUser); |
235 | 0 | // Sentinel = 'aFromUser' |
236 | 0 | (msg__)->WriteSentinel(526185101); |
237 | 0 |
|
238 | 0 |
|
239 | 0 |
|
240 | 0 |
|
241 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
242 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
243 | 0 | } |
244 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextChangeEvent", OTHER); |
245 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
246 | 0 | mozilla::ipc::LogicError("Transition error"); |
247 | 0 | } |
248 | 0 |
|
249 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
250 | 0 | return sendok__; |
251 | 0 | } |
252 | | |
253 | | auto PDocAccessibleChild::SendSelectionEvent( |
254 | | const uint64_t& aID, |
255 | | const uint64_t& aWidgetID, |
256 | | const uint32_t& aType) -> bool |
257 | 0 | { |
258 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectionEvent(Id()); |
259 | 0 |
|
260 | 0 | WriteIPDLParam(msg__, this, aID); |
261 | 0 | // Sentinel = 'aID' |
262 | 0 | (msg__)->WriteSentinel(2735041849); |
263 | 0 | WriteIPDLParam(msg__, this, aWidgetID); |
264 | 0 | // Sentinel = 'aWidgetID' |
265 | 0 | (msg__)->WriteSentinel(3308517459); |
266 | 0 | WriteIPDLParam(msg__, this, aType); |
267 | 0 | // Sentinel = 'aType' |
268 | 0 | (msg__)->WriteSentinel(1819585676); |
269 | 0 |
|
270 | 0 |
|
271 | 0 |
|
272 | 0 |
|
273 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
274 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
275 | 0 | } |
276 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionEvent", OTHER); |
277 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
278 | 0 | mozilla::ipc::LogicError("Transition error"); |
279 | 0 | } |
280 | 0 |
|
281 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
282 | 0 | return sendok__; |
283 | 0 | } |
284 | | |
285 | | auto PDocAccessibleChild::SendRoleChangedEvent(const role& aRole) -> bool |
286 | 0 | { |
287 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RoleChangedEvent(Id()); |
288 | 0 |
|
289 | 0 | WriteIPDLParam(msg__, this, aRole); |
290 | 0 | // Sentinel = 'aRole' |
291 | 0 | (msg__)->WriteSentinel(985916136); |
292 | 0 |
|
293 | 0 |
|
294 | 0 |
|
295 | 0 |
|
296 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
297 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
298 | 0 | } |
299 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RoleChangedEvent", OTHER); |
300 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
301 | 0 | mozilla::ipc::LogicError("Transition error"); |
302 | 0 | } |
303 | 0 |
|
304 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
305 | 0 | return sendok__; |
306 | 0 | } |
307 | | |
308 | | auto PDocAccessibleChild::SendVirtualCursorChangeEvent( |
309 | | const uint64_t& aID, |
310 | | const uint64_t& aOldPosition, |
311 | | const int32_t& aOldStartOffset, |
312 | | const int32_t& aOldEndOffset, |
313 | | const uint64_t& aPosition, |
314 | | const int32_t& aStartOffset, |
315 | | const int32_t& aEndOffset, |
316 | | const int16_t& aReason, |
317 | | const int16_t& aBoundaryType, |
318 | | const bool& aFromUservcEvent) -> bool |
319 | 0 | { |
320 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_VirtualCursorChangeEvent(Id()); |
321 | 0 |
|
322 | 0 | WriteIPDLParam(msg__, this, aID); |
323 | 0 | // Sentinel = 'aID' |
324 | 0 | (msg__)->WriteSentinel(2735041849); |
325 | 0 | WriteIPDLParam(msg__, this, aOldPosition); |
326 | 0 | // Sentinel = 'aOldPosition' |
327 | 0 | (msg__)->WriteSentinel(3595446289); |
328 | 0 | WriteIPDLParam(msg__, this, aOldStartOffset); |
329 | 0 | // Sentinel = 'aOldStartOffset' |
330 | 0 | (msg__)->WriteSentinel(4257762598); |
331 | 0 | WriteIPDLParam(msg__, this, aOldEndOffset); |
332 | 0 | // Sentinel = 'aOldEndOffset' |
333 | 0 | (msg__)->WriteSentinel(2881231711); |
334 | 0 | WriteIPDLParam(msg__, this, aPosition); |
335 | 0 | // Sentinel = 'aPosition' |
336 | 0 | (msg__)->WriteSentinel(2753958473); |
337 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
338 | 0 | // Sentinel = 'aStartOffset' |
339 | 0 | (msg__)->WriteSentinel(1066059254); |
340 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
341 | 0 | // Sentinel = 'aEndOffset' |
342 | 0 | (msg__)->WriteSentinel(2439813419); |
343 | 0 | WriteIPDLParam(msg__, this, aReason); |
344 | 0 | // Sentinel = 'aReason' |
345 | 0 | (msg__)->WriteSentinel(829905706); |
346 | 0 | WriteIPDLParam(msg__, this, aBoundaryType); |
347 | 0 | // Sentinel = 'aBoundaryType' |
348 | 0 | (msg__)->WriteSentinel(1823260482); |
349 | 0 | WriteIPDLParam(msg__, this, aFromUservcEvent); |
350 | 0 | // Sentinel = 'aFromUservcEvent' |
351 | 0 | (msg__)->WriteSentinel(888350935); |
352 | 0 |
|
353 | 0 |
|
354 | 0 |
|
355 | 0 |
|
356 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
357 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
358 | 0 | } |
359 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_VirtualCursorChangeEvent", OTHER); |
360 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
361 | 0 | mozilla::ipc::LogicError("Transition error"); |
362 | 0 | } |
363 | 0 |
|
364 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
365 | 0 | return sendok__; |
366 | 0 | } |
367 | | |
368 | | auto PDocAccessibleChild::SendScrollingEvent( |
369 | | const uint64_t& aID, |
370 | | const uint64_t& aType, |
371 | | const uint32_t& aScrollX, |
372 | | const uint32_t& aScrollY, |
373 | | const uint32_t& aMaxScrollX, |
374 | | const uint32_t& aMaxScrollY) -> bool |
375 | 0 | { |
376 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ScrollingEvent(Id()); |
377 | 0 |
|
378 | 0 | WriteIPDLParam(msg__, this, aID); |
379 | 0 | // Sentinel = 'aID' |
380 | 0 | (msg__)->WriteSentinel(2735041849); |
381 | 0 | WriteIPDLParam(msg__, this, aType); |
382 | 0 | // Sentinel = 'aType' |
383 | 0 | (msg__)->WriteSentinel(1819585676); |
384 | 0 | WriteIPDLParam(msg__, this, aScrollX); |
385 | 0 | // Sentinel = 'aScrollX' |
386 | 0 | (msg__)->WriteSentinel(3337677706); |
387 | 0 | WriteIPDLParam(msg__, this, aScrollY); |
388 | 0 | // Sentinel = 'aScrollY' |
389 | 0 | (msg__)->WriteSentinel(3337677707); |
390 | 0 | WriteIPDLParam(msg__, this, aMaxScrollX); |
391 | 0 | // Sentinel = 'aMaxScrollX' |
392 | 0 | (msg__)->WriteSentinel(3082106721); |
393 | 0 | WriteIPDLParam(msg__, this, aMaxScrollY); |
394 | 0 | // Sentinel = 'aMaxScrollY' |
395 | 0 | (msg__)->WriteSentinel(3082106720); |
396 | 0 |
|
397 | 0 |
|
398 | 0 |
|
399 | 0 |
|
400 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
401 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
402 | 0 | } |
403 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollingEvent", OTHER); |
404 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
405 | 0 | mozilla::ipc::LogicError("Transition error"); |
406 | 0 | } |
407 | 0 |
|
408 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
409 | 0 | return sendok__; |
410 | 0 | } |
411 | | |
412 | | auto PDocAccessibleChild::SendBindChildDoc( |
413 | | PDocAccessibleChild* aChildDoc, |
414 | | const uint64_t& aID) -> bool |
415 | 0 | { |
416 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_BindChildDoc(Id()); |
417 | 0 |
|
418 | 0 | MOZ_RELEASE_ASSERT(aChildDoc, "NULL actor value passed to non-nullable param"); |
419 | 0 | WriteIPDLParam(msg__, this, aChildDoc); |
420 | 0 | // Sentinel = 'aChildDoc' |
421 | 0 | (msg__)->WriteSentinel(3137363820); |
422 | 0 | WriteIPDLParam(msg__, this, aID); |
423 | 0 | // Sentinel = 'aID' |
424 | 0 | (msg__)->WriteSentinel(2735041849); |
425 | 0 |
|
426 | 0 |
|
427 | 0 |
|
428 | 0 |
|
429 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
430 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
431 | 0 | } |
432 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_BindChildDoc", OTHER); |
433 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
434 | 0 | mozilla::ipc::LogicError("Transition error"); |
435 | 0 | } |
436 | 0 |
|
437 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
438 | 0 | return sendok__; |
439 | 0 | } |
440 | | |
441 | | auto PDocAccessibleChild::RemoveManagee( |
442 | | int32_t aProtocolId, |
443 | | IProtocol* aListener) -> void |
444 | 0 | { |
445 | 0 | FatalError("unreached"); |
446 | 0 | return; |
447 | 0 | } |
448 | | |
449 | | auto PDocAccessibleChild::OnMessageReceived(const Message& msg__) -> PDocAccessibleChild::Result |
450 | 0 | { |
451 | 0 | switch ((msg__).type()) { |
452 | 0 | case PDocAccessible::Msg___delete____ID: |
453 | 0 | { |
454 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
455 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
456 | 0 | } |
457 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg___delete__", OTHER); |
458 | 0 |
|
459 | 0 | PickleIterator iter__(msg__); |
460 | 0 | PDocAccessibleChild* actor; |
461 | 0 |
|
462 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(actor)))))) { |
463 | 0 | FatalError("Error deserializing 'PDocAccessibleChild'"); |
464 | 0 | return MsgValueError; |
465 | 0 | } |
466 | 0 | if ((!((*((&(actor))))))) { |
467 | 0 | FatalError("Error deserializing 'PDocAccessibleChild'"); |
468 | 0 | return MsgValueError; |
469 | 0 | } |
470 | 0 | // Sentinel = 'actor' |
471 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) { |
472 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'PDocAccessibleChild'"); |
473 | 0 | return MsgValueError; |
474 | 0 | } |
475 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
476 | 0 | if ((!(StateTransition(true, (&(mLivenessState)))))) { |
477 | 0 | FatalError("Transition error"); |
478 | 0 | return MsgValueError; |
479 | 0 | } |
480 | 0 | if ((!(Recv__delete__()))) { |
481 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
482 | 0 | // Error handled in mozilla::ipc::IPCResult |
483 | 0 | return MsgProcessingError; |
484 | 0 | } |
485 | 0 | |
486 | 0 | |
487 | 0 | IProtocol* mgr = (actor)->Manager(); |
488 | 0 | (actor)->DestroySubtree(Deletion); |
489 | 0 | (actor)->DeallocSubtree(); |
490 | 0 | (mgr)->RemoveManagee(PDocAccessibleMsgStart, actor); |
491 | 0 |
|
492 | 0 | return MsgProcessed; |
493 | 0 | } |
494 | 0 | case PDocAccessible::Msg_RestoreFocus__ID: |
495 | 0 | { |
496 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
497 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
498 | 0 | } |
499 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RestoreFocus", OTHER); |
500 | 0 |
|
501 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
502 | 0 | FatalError("Transition error"); |
503 | 0 | return MsgValueError; |
504 | 0 | } |
505 | 0 | if ((!(RecvRestoreFocus()))) { |
506 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
507 | 0 | // Error handled in mozilla::ipc::IPCResult |
508 | 0 | return MsgProcessingError; |
509 | 0 | } |
510 | 0 | |
511 | 0 | return MsgProcessed; |
512 | 0 | } |
513 | 0 | case PDocAccessible::Msg_ScrollTo__ID: |
514 | 0 | { |
515 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
516 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
517 | 0 | } |
518 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollTo", OTHER); |
519 | 0 |
|
520 | 0 | PickleIterator iter__(msg__); |
521 | 0 | uint64_t aID; |
522 | 0 | uint32_t aScrollType; |
523 | 0 |
|
524 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
525 | 0 | FatalError("Error deserializing 'uint64_t'"); |
526 | 0 | return MsgValueError; |
527 | 0 | } |
528 | 0 | // Sentinel = 'aID' |
529 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
530 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
531 | 0 | return MsgValueError; |
532 | 0 | } |
533 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aScrollType)))))) { |
534 | 0 | FatalError("Error deserializing 'uint32_t'"); |
535 | 0 | return MsgValueError; |
536 | 0 | } |
537 | 0 | // Sentinel = 'aScrollType' |
538 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2343471605)))) { |
539 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
540 | 0 | return MsgValueError; |
541 | 0 | } |
542 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
543 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
544 | 0 | FatalError("Transition error"); |
545 | 0 | return MsgValueError; |
546 | 0 | } |
547 | 0 | if ((!(RecvScrollTo(aID, aScrollType)))) { |
548 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
549 | 0 | // Error handled in mozilla::ipc::IPCResult |
550 | 0 | return MsgProcessingError; |
551 | 0 | } |
552 | 0 | |
553 | 0 | return MsgProcessed; |
554 | 0 | } |
555 | 0 | case PDocAccessible::Msg_ScrollToPoint__ID: |
556 | 0 | { |
557 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
558 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
559 | 0 | } |
560 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollToPoint", OTHER); |
561 | 0 |
|
562 | 0 | PickleIterator iter__(msg__); |
563 | 0 | uint64_t aID; |
564 | 0 | uint32_t aScrollType; |
565 | 0 | int32_t aX; |
566 | 0 | int32_t aY; |
567 | 0 |
|
568 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
569 | 0 | FatalError("Error deserializing 'uint64_t'"); |
570 | 0 | return MsgValueError; |
571 | 0 | } |
572 | 0 | // Sentinel = 'aID' |
573 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
574 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
575 | 0 | return MsgValueError; |
576 | 0 | } |
577 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aScrollType)))))) { |
578 | 0 | FatalError("Error deserializing 'uint32_t'"); |
579 | 0 | return MsgValueError; |
580 | 0 | } |
581 | 0 | // Sentinel = 'aScrollType' |
582 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2343471605)))) { |
583 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
584 | 0 | return MsgValueError; |
585 | 0 | } |
586 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aX)))))) { |
587 | 0 | FatalError("Error deserializing 'int32_t'"); |
588 | 0 | return MsgValueError; |
589 | 0 | } |
590 | 0 | // Sentinel = 'aX' |
591 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
592 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
593 | 0 | return MsgValueError; |
594 | 0 | } |
595 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aY)))))) { |
596 | 0 | FatalError("Error deserializing 'int32_t'"); |
597 | 0 | return MsgValueError; |
598 | 0 | } |
599 | 0 | // Sentinel = 'aY' |
600 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
601 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
602 | 0 | return MsgValueError; |
603 | 0 | } |
604 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
605 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
606 | 0 | FatalError("Transition error"); |
607 | 0 | return MsgValueError; |
608 | 0 | } |
609 | 0 | if ((!(RecvScrollToPoint(aID, aScrollType, aX, aY)))) { |
610 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
611 | 0 | // Error handled in mozilla::ipc::IPCResult |
612 | 0 | return MsgProcessingError; |
613 | 0 | } |
614 | 0 | |
615 | 0 | return MsgProcessed; |
616 | 0 | } |
617 | 0 | case PDocAccessible::Msg_SetCaretOffset__ID: |
618 | 0 | { |
619 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
620 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
621 | 0 | } |
622 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetCaretOffset", OTHER); |
623 | 0 |
|
624 | 0 | PickleIterator iter__(msg__); |
625 | 0 | uint64_t aID; |
626 | 0 | int32_t aOffset; |
627 | 0 |
|
628 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
629 | 0 | FatalError("Error deserializing 'uint64_t'"); |
630 | 0 | return MsgValueError; |
631 | 0 | } |
632 | 0 | // Sentinel = 'aID' |
633 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
634 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
635 | 0 | return MsgValueError; |
636 | 0 | } |
637 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
638 | 0 | FatalError("Error deserializing 'int32_t'"); |
639 | 0 | return MsgValueError; |
640 | 0 | } |
641 | 0 | // Sentinel = 'aOffset' |
642 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
643 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
644 | 0 | return MsgValueError; |
645 | 0 | } |
646 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
647 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
648 | 0 | FatalError("Transition error"); |
649 | 0 | return MsgValueError; |
650 | 0 | } |
651 | 0 | if ((!(RecvSetCaretOffset(aID, aOffset)))) { |
652 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
653 | 0 | // Error handled in mozilla::ipc::IPCResult |
654 | 0 | return MsgProcessingError; |
655 | 0 | } |
656 | 0 | |
657 | 0 | return MsgProcessed; |
658 | 0 | } |
659 | 0 | case PDocAccessible::Msg_ScrollSubstringTo__ID: |
660 | 0 | { |
661 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
662 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
663 | 0 | } |
664 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollSubstringTo", OTHER); |
665 | 0 |
|
666 | 0 | PickleIterator iter__(msg__); |
667 | 0 | uint64_t aID; |
668 | 0 | int32_t aStartOffset; |
669 | 0 | int32_t aEndOffset; |
670 | 0 | uint32_t aScrollType; |
671 | 0 |
|
672 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
673 | 0 | FatalError("Error deserializing 'uint64_t'"); |
674 | 0 | return MsgValueError; |
675 | 0 | } |
676 | 0 | // Sentinel = 'aID' |
677 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
678 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
679 | 0 | return MsgValueError; |
680 | 0 | } |
681 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
682 | 0 | FatalError("Error deserializing 'int32_t'"); |
683 | 0 | return MsgValueError; |
684 | 0 | } |
685 | 0 | // Sentinel = 'aStartOffset' |
686 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
687 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
688 | 0 | return MsgValueError; |
689 | 0 | } |
690 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
691 | 0 | FatalError("Error deserializing 'int32_t'"); |
692 | 0 | return MsgValueError; |
693 | 0 | } |
694 | 0 | // Sentinel = 'aEndOffset' |
695 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
696 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
697 | 0 | return MsgValueError; |
698 | 0 | } |
699 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aScrollType)))))) { |
700 | 0 | FatalError("Error deserializing 'uint32_t'"); |
701 | 0 | return MsgValueError; |
702 | 0 | } |
703 | 0 | // Sentinel = 'aScrollType' |
704 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2343471605)))) { |
705 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
706 | 0 | return MsgValueError; |
707 | 0 | } |
708 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
709 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
710 | 0 | FatalError("Transition error"); |
711 | 0 | return MsgValueError; |
712 | 0 | } |
713 | 0 | if ((!(RecvScrollSubstringTo(aID, aStartOffset, aEndOffset, aScrollType)))) { |
714 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
715 | 0 | // Error handled in mozilla::ipc::IPCResult |
716 | 0 | return MsgProcessingError; |
717 | 0 | } |
718 | 0 | |
719 | 0 | return MsgProcessed; |
720 | 0 | } |
721 | 0 | case PDocAccessible::Msg_ScrollSubstringToPoint__ID: |
722 | 0 | { |
723 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
724 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
725 | 0 | } |
726 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollSubstringToPoint", OTHER); |
727 | 0 |
|
728 | 0 | PickleIterator iter__(msg__); |
729 | 0 | uint64_t aID; |
730 | 0 | int32_t aStartOffset; |
731 | 0 | int32_t aEndOffset; |
732 | 0 | uint32_t aCoordinateType; |
733 | 0 | int32_t aX; |
734 | 0 | int32_t aY; |
735 | 0 |
|
736 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
737 | 0 | FatalError("Error deserializing 'uint64_t'"); |
738 | 0 | return MsgValueError; |
739 | 0 | } |
740 | 0 | // Sentinel = 'aID' |
741 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
742 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
743 | 0 | return MsgValueError; |
744 | 0 | } |
745 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
746 | 0 | FatalError("Error deserializing 'int32_t'"); |
747 | 0 | return MsgValueError; |
748 | 0 | } |
749 | 0 | // Sentinel = 'aStartOffset' |
750 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
751 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
752 | 0 | return MsgValueError; |
753 | 0 | } |
754 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
755 | 0 | FatalError("Error deserializing 'int32_t'"); |
756 | 0 | return MsgValueError; |
757 | 0 | } |
758 | 0 | // Sentinel = 'aEndOffset' |
759 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
760 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
761 | 0 | return MsgValueError; |
762 | 0 | } |
763 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCoordinateType)))))) { |
764 | 0 | FatalError("Error deserializing 'uint32_t'"); |
765 | 0 | return MsgValueError; |
766 | 0 | } |
767 | 0 | // Sentinel = 'aCoordinateType' |
768 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 861667008)))) { |
769 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
770 | 0 | return MsgValueError; |
771 | 0 | } |
772 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aX)))))) { |
773 | 0 | FatalError("Error deserializing 'int32_t'"); |
774 | 0 | return MsgValueError; |
775 | 0 | } |
776 | 0 | // Sentinel = 'aX' |
777 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
778 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
779 | 0 | return MsgValueError; |
780 | 0 | } |
781 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aY)))))) { |
782 | 0 | FatalError("Error deserializing 'int32_t'"); |
783 | 0 | return MsgValueError; |
784 | 0 | } |
785 | 0 | // Sentinel = 'aY' |
786 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
787 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
788 | 0 | return MsgValueError; |
789 | 0 | } |
790 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
791 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
792 | 0 | FatalError("Transition error"); |
793 | 0 | return MsgValueError; |
794 | 0 | } |
795 | 0 | if ((!(RecvScrollSubstringToPoint(aID, aStartOffset, aEndOffset, aCoordinateType, aX, aY)))) { |
796 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
797 | 0 | // Error handled in mozilla::ipc::IPCResult |
798 | 0 | return MsgProcessingError; |
799 | 0 | } |
800 | 0 | |
801 | 0 | return MsgProcessed; |
802 | 0 | } |
803 | 0 | case PDocAccessible::Msg_TakeSelection__ID: |
804 | 0 | { |
805 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
806 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
807 | 0 | } |
808 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TakeSelection", OTHER); |
809 | 0 |
|
810 | 0 | PickleIterator iter__(msg__); |
811 | 0 | uint64_t aID; |
812 | 0 |
|
813 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
814 | 0 | FatalError("Error deserializing 'uint64_t'"); |
815 | 0 | return MsgValueError; |
816 | 0 | } |
817 | 0 | // Sentinel = 'aID' |
818 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
819 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
820 | 0 | return MsgValueError; |
821 | 0 | } |
822 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
823 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
824 | 0 | FatalError("Transition error"); |
825 | 0 | return MsgValueError; |
826 | 0 | } |
827 | 0 | if ((!(RecvTakeSelection(aID)))) { |
828 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
829 | 0 | // Error handled in mozilla::ipc::IPCResult |
830 | 0 | return MsgProcessingError; |
831 | 0 | } |
832 | 0 | |
833 | 0 | return MsgProcessed; |
834 | 0 | } |
835 | 0 | case PDocAccessible::Msg_SetSelected__ID: |
836 | 0 | { |
837 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
838 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
839 | 0 | } |
840 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetSelected", OTHER); |
841 | 0 |
|
842 | 0 | PickleIterator iter__(msg__); |
843 | 0 | uint64_t aID; |
844 | 0 | bool aSelected; |
845 | 0 |
|
846 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
847 | 0 | FatalError("Error deserializing 'uint64_t'"); |
848 | 0 | return MsgValueError; |
849 | 0 | } |
850 | 0 | // Sentinel = 'aID' |
851 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
852 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
853 | 0 | return MsgValueError; |
854 | 0 | } |
855 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aSelected)))))) { |
856 | 0 | FatalError("Error deserializing 'bool'"); |
857 | 0 | return MsgValueError; |
858 | 0 | } |
859 | 0 | // Sentinel = 'aSelected' |
860 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
861 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
862 | 0 | return MsgValueError; |
863 | 0 | } |
864 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
865 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
866 | 0 | FatalError("Transition error"); |
867 | 0 | return MsgValueError; |
868 | 0 | } |
869 | 0 | if ((!(RecvSetSelected(aID, aSelected)))) { |
870 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
871 | 0 | // Error handled in mozilla::ipc::IPCResult |
872 | 0 | return MsgProcessingError; |
873 | 0 | } |
874 | 0 | |
875 | 0 | return MsgProcessed; |
876 | 0 | } |
877 | 0 | case PDocAccessible::Msg_TakeFocus__ID: |
878 | 0 | { |
879 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
880 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
881 | 0 | } |
882 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TakeFocus", OTHER); |
883 | 0 |
|
884 | 0 | PickleIterator iter__(msg__); |
885 | 0 | uint64_t aID; |
886 | 0 |
|
887 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
888 | 0 | FatalError("Error deserializing 'uint64_t'"); |
889 | 0 | return MsgValueError; |
890 | 0 | } |
891 | 0 | // Sentinel = 'aID' |
892 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
893 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
894 | 0 | return MsgValueError; |
895 | 0 | } |
896 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
897 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
898 | 0 | FatalError("Transition error"); |
899 | 0 | return MsgValueError; |
900 | 0 | } |
901 | 0 | if ((!(RecvTakeFocus(aID)))) { |
902 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
903 | 0 | // Error handled in mozilla::ipc::IPCResult |
904 | 0 | return MsgProcessingError; |
905 | 0 | } |
906 | 0 | |
907 | 0 | return MsgProcessed; |
908 | 0 | } |
909 | 0 | default: |
910 | 0 | { |
911 | 0 | return MsgNotKnown; |
912 | 0 | } |
913 | 0 | } |
914 | 0 | } |
915 | | |
916 | | auto PDocAccessibleChild::OnMessageReceived( |
917 | | const Message& msg__, |
918 | | Message*& reply__) -> PDocAccessibleChild::Result |
919 | 0 | { |
920 | 0 | switch ((msg__).type()) { |
921 | 0 | case PDocAccessible::Msg_State__ID: |
922 | 0 | { |
923 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
924 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
925 | 0 | } |
926 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_State", OTHER); |
927 | 0 |
|
928 | 0 | PickleIterator iter__(msg__); |
929 | 0 | uint64_t aID; |
930 | 0 |
|
931 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
932 | 0 | FatalError("Error deserializing 'uint64_t'"); |
933 | 0 | return MsgValueError; |
934 | 0 | } |
935 | 0 | // Sentinel = 'aID' |
936 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
937 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
938 | 0 | return MsgValueError; |
939 | 0 | } |
940 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
941 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
942 | 0 | FatalError("Transition error"); |
943 | 0 | return MsgValueError; |
944 | 0 | } |
945 | 0 | int32_t id__ = Id(); |
946 | 0 | uint64_t states; |
947 | 0 | if ((!(RecvState(aID, (&(states)))))) { |
948 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
949 | 0 | // Error handled in mozilla::ipc::IPCResult |
950 | 0 | return MsgProcessingError; |
951 | 0 | } |
952 | 0 | |
953 | 0 | reply__ = PDocAccessible::Reply_State(id__); |
954 | 0 |
|
955 | 0 | WriteIPDLParam(reply__, this, states); |
956 | 0 | // Sentinel = 'states' |
957 | 0 | (reply__)->WriteSentinel(3730608528); |
958 | 0 |
|
959 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
960 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
961 | 0 | } |
962 | 0 | return MsgProcessed; |
963 | 0 | } |
964 | 0 | case PDocAccessible::Msg_NativeState__ID: |
965 | 0 | { |
966 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
967 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
968 | 0 | } |
969 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_NativeState", OTHER); |
970 | 0 |
|
971 | 0 | PickleIterator iter__(msg__); |
972 | 0 | uint64_t aID; |
973 | 0 |
|
974 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
975 | 0 | FatalError("Error deserializing 'uint64_t'"); |
976 | 0 | return MsgValueError; |
977 | 0 | } |
978 | 0 | // Sentinel = 'aID' |
979 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
980 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
981 | 0 | return MsgValueError; |
982 | 0 | } |
983 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
984 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
985 | 0 | FatalError("Transition error"); |
986 | 0 | return MsgValueError; |
987 | 0 | } |
988 | 0 | int32_t id__ = Id(); |
989 | 0 | uint64_t states; |
990 | 0 | if ((!(RecvNativeState(aID, (&(states)))))) { |
991 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
992 | 0 | // Error handled in mozilla::ipc::IPCResult |
993 | 0 | return MsgProcessingError; |
994 | 0 | } |
995 | 0 | |
996 | 0 | reply__ = PDocAccessible::Reply_NativeState(id__); |
997 | 0 |
|
998 | 0 | WriteIPDLParam(reply__, this, states); |
999 | 0 | // Sentinel = 'states' |
1000 | 0 | (reply__)->WriteSentinel(3730608528); |
1001 | 0 |
|
1002 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1003 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1004 | 0 | } |
1005 | 0 | return MsgProcessed; |
1006 | 0 | } |
1007 | 0 | case PDocAccessible::Msg_Name__ID: |
1008 | 0 | { |
1009 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1010 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1011 | 0 | } |
1012 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Name", OTHER); |
1013 | 0 |
|
1014 | 0 | PickleIterator iter__(msg__); |
1015 | 0 | uint64_t aID; |
1016 | 0 |
|
1017 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1018 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1019 | 0 | return MsgValueError; |
1020 | 0 | } |
1021 | 0 | // Sentinel = 'aID' |
1022 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1023 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1024 | 0 | return MsgValueError; |
1025 | 0 | } |
1026 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1027 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1028 | 0 | FatalError("Transition error"); |
1029 | 0 | return MsgValueError; |
1030 | 0 | } |
1031 | 0 | int32_t id__ = Id(); |
1032 | 0 | nsString name; |
1033 | 0 | if ((!(RecvName(aID, (&(name)))))) { |
1034 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1035 | 0 | // Error handled in mozilla::ipc::IPCResult |
1036 | 0 | return MsgProcessingError; |
1037 | 0 | } |
1038 | 0 | |
1039 | 0 | reply__ = PDocAccessible::Reply_Name(id__); |
1040 | 0 |
|
1041 | 0 | WriteIPDLParam(reply__, this, name); |
1042 | 0 | // Sentinel = 'name' |
1043 | 0 | (reply__)->WriteSentinel(15034981); |
1044 | 0 |
|
1045 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1046 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1047 | 0 | } |
1048 | 0 | return MsgProcessed; |
1049 | 0 | } |
1050 | 0 | case PDocAccessible::Msg_Value__ID: |
1051 | 0 | { |
1052 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1053 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1054 | 0 | } |
1055 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Value", OTHER); |
1056 | 0 |
|
1057 | 0 | PickleIterator iter__(msg__); |
1058 | 0 | uint64_t aID; |
1059 | 0 |
|
1060 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1061 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1062 | 0 | return MsgValueError; |
1063 | 0 | } |
1064 | 0 | // Sentinel = 'aID' |
1065 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1066 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1067 | 0 | return MsgValueError; |
1068 | 0 | } |
1069 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1070 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1071 | 0 | FatalError("Transition error"); |
1072 | 0 | return MsgValueError; |
1073 | 0 | } |
1074 | 0 | int32_t id__ = Id(); |
1075 | 0 | nsString value; |
1076 | 0 | if ((!(RecvValue(aID, (&(value)))))) { |
1077 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1078 | 0 | // Error handled in mozilla::ipc::IPCResult |
1079 | 0 | return MsgProcessingError; |
1080 | 0 | } |
1081 | 0 | |
1082 | 0 | reply__ = PDocAccessible::Reply_Value(id__); |
1083 | 0 |
|
1084 | 0 | WriteIPDLParam(reply__, this, value); |
1085 | 0 | // Sentinel = 'value' |
1086 | 0 | (reply__)->WriteSentinel(3456818542); |
1087 | 0 |
|
1088 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1089 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1090 | 0 | } |
1091 | 0 | return MsgProcessed; |
1092 | 0 | } |
1093 | 0 | case PDocAccessible::Msg_Help__ID: |
1094 | 0 | { |
1095 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1096 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1097 | 0 | } |
1098 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Help", OTHER); |
1099 | 0 |
|
1100 | 0 | PickleIterator iter__(msg__); |
1101 | 0 | uint64_t aID; |
1102 | 0 |
|
1103 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1104 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1105 | 0 | return MsgValueError; |
1106 | 0 | } |
1107 | 0 | // Sentinel = 'aID' |
1108 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1109 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1110 | 0 | return MsgValueError; |
1111 | 0 | } |
1112 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1113 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1114 | 0 | FatalError("Transition error"); |
1115 | 0 | return MsgValueError; |
1116 | 0 | } |
1117 | 0 | int32_t id__ = Id(); |
1118 | 0 | nsString help; |
1119 | 0 | if ((!(RecvHelp(aID, (&(help)))))) { |
1120 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1121 | 0 | // Error handled in mozilla::ipc::IPCResult |
1122 | 0 | return MsgProcessingError; |
1123 | 0 | } |
1124 | 0 | |
1125 | 0 | reply__ = PDocAccessible::Reply_Help(id__); |
1126 | 0 |
|
1127 | 0 | WriteIPDLParam(reply__, this, help); |
1128 | 0 | // Sentinel = 'help' |
1129 | 0 | (reply__)->WriteSentinel(4023988741); |
1130 | 0 |
|
1131 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1132 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1133 | 0 | } |
1134 | 0 | return MsgProcessed; |
1135 | 0 | } |
1136 | 0 | case PDocAccessible::Msg_Description__ID: |
1137 | 0 | { |
1138 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1139 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1140 | 0 | } |
1141 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Description", OTHER); |
1142 | 0 |
|
1143 | 0 | PickleIterator iter__(msg__); |
1144 | 0 | uint64_t aID; |
1145 | 0 |
|
1146 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1147 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1148 | 0 | return MsgValueError; |
1149 | 0 | } |
1150 | 0 | // Sentinel = 'aID' |
1151 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1152 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1153 | 0 | return MsgValueError; |
1154 | 0 | } |
1155 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1156 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1157 | 0 | FatalError("Transition error"); |
1158 | 0 | return MsgValueError; |
1159 | 0 | } |
1160 | 0 | int32_t id__ = Id(); |
1161 | 0 | nsString desc; |
1162 | 0 | if ((!(RecvDescription(aID, (&(desc)))))) { |
1163 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1164 | 0 | // Error handled in mozilla::ipc::IPCResult |
1165 | 0 | return MsgProcessingError; |
1166 | 0 | } |
1167 | 0 | |
1168 | 0 | reply__ = PDocAccessible::Reply_Description(id__); |
1169 | 0 |
|
1170 | 0 | WriteIPDLParam(reply__, this, desc); |
1171 | 0 | // Sentinel = 'desc' |
1172 | 0 | (reply__)->WriteSentinel(3761872479); |
1173 | 0 |
|
1174 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1175 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1176 | 0 | } |
1177 | 0 | return MsgProcessed; |
1178 | 0 | } |
1179 | 0 | case PDocAccessible::Msg_Attributes__ID: |
1180 | 0 | { |
1181 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1182 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1183 | 0 | } |
1184 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Attributes", OTHER); |
1185 | 0 |
|
1186 | 0 | PickleIterator iter__(msg__); |
1187 | 0 | uint64_t aID; |
1188 | 0 |
|
1189 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1190 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1191 | 0 | return MsgValueError; |
1192 | 0 | } |
1193 | 0 | // Sentinel = 'aID' |
1194 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1195 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1196 | 0 | return MsgValueError; |
1197 | 0 | } |
1198 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1199 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1200 | 0 | FatalError("Transition error"); |
1201 | 0 | return MsgValueError; |
1202 | 0 | } |
1203 | 0 | int32_t id__ = Id(); |
1204 | 0 | nsTArray<Attribute> attributes; |
1205 | 0 | if ((!(RecvAttributes(aID, (&(attributes)))))) { |
1206 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1207 | 0 | // Error handled in mozilla::ipc::IPCResult |
1208 | 0 | return MsgProcessingError; |
1209 | 0 | } |
1210 | 0 | |
1211 | 0 | reply__ = PDocAccessible::Reply_Attributes(id__); |
1212 | 0 |
|
1213 | 0 | WriteIPDLParam(reply__, this, attributes); |
1214 | 0 | // Sentinel = 'attributes' |
1215 | 0 | (reply__)->WriteSentinel(673635577); |
1216 | 0 |
|
1217 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1218 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1219 | 0 | } |
1220 | 0 | return MsgProcessed; |
1221 | 0 | } |
1222 | 0 | case PDocAccessible::Msg_RelationByType__ID: |
1223 | 0 | { |
1224 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1225 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1226 | 0 | } |
1227 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RelationByType", OTHER); |
1228 | 0 |
|
1229 | 0 | PickleIterator iter__(msg__); |
1230 | 0 | uint64_t aID; |
1231 | 0 | uint32_t aRelationType; |
1232 | 0 |
|
1233 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1234 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1235 | 0 | return MsgValueError; |
1236 | 0 | } |
1237 | 0 | // Sentinel = 'aID' |
1238 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1239 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1240 | 0 | return MsgValueError; |
1241 | 0 | } |
1242 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRelationType)))))) { |
1243 | 0 | FatalError("Error deserializing 'uint32_t'"); |
1244 | 0 | return MsgValueError; |
1245 | 0 | } |
1246 | 0 | // Sentinel = 'aRelationType' |
1247 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 402082796)))) { |
1248 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
1249 | 0 | return MsgValueError; |
1250 | 0 | } |
1251 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1252 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1253 | 0 | FatalError("Transition error"); |
1254 | 0 | return MsgValueError; |
1255 | 0 | } |
1256 | 0 | int32_t id__ = Id(); |
1257 | 0 | nsTArray<uint64_t> targets; |
1258 | 0 | if ((!(RecvRelationByType(aID, aRelationType, (&(targets)))))) { |
1259 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1260 | 0 | // Error handled in mozilla::ipc::IPCResult |
1261 | 0 | return MsgProcessingError; |
1262 | 0 | } |
1263 | 0 | |
1264 | 0 | reply__ = PDocAccessible::Reply_RelationByType(id__); |
1265 | 0 |
|
1266 | 0 | WriteIPDLParam(reply__, this, targets); |
1267 | 0 | // Sentinel = 'targets' |
1268 | 0 | (reply__)->WriteSentinel(2649770141); |
1269 | 0 |
|
1270 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1271 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1272 | 0 | } |
1273 | 0 | return MsgProcessed; |
1274 | 0 | } |
1275 | 0 | case PDocAccessible::Msg_Relations__ID: |
1276 | 0 | { |
1277 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1278 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1279 | 0 | } |
1280 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Relations", OTHER); |
1281 | 0 |
|
1282 | 0 | PickleIterator iter__(msg__); |
1283 | 0 | uint64_t aID; |
1284 | 0 |
|
1285 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1286 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1287 | 0 | return MsgValueError; |
1288 | 0 | } |
1289 | 0 | // Sentinel = 'aID' |
1290 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1291 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1292 | 0 | return MsgValueError; |
1293 | 0 | } |
1294 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1295 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1296 | 0 | FatalError("Transition error"); |
1297 | 0 | return MsgValueError; |
1298 | 0 | } |
1299 | 0 | int32_t id__ = Id(); |
1300 | 0 | nsTArray<RelationTargets> relations; |
1301 | 0 | if ((!(RecvRelations(aID, (&(relations)))))) { |
1302 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1303 | 0 | // Error handled in mozilla::ipc::IPCResult |
1304 | 0 | return MsgProcessingError; |
1305 | 0 | } |
1306 | 0 | |
1307 | 0 | reply__ = PDocAccessible::Reply_Relations(id__); |
1308 | 0 |
|
1309 | 0 | WriteIPDLParam(reply__, this, relations); |
1310 | 0 | // Sentinel = 'relations' |
1311 | 0 | (reply__)->WriteSentinel(3577985838); |
1312 | 0 |
|
1313 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1314 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1315 | 0 | } |
1316 | 0 | return MsgProcessed; |
1317 | 0 | } |
1318 | 0 | case PDocAccessible::Msg_IsSearchbox__ID: |
1319 | 0 | { |
1320 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1321 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1322 | 0 | } |
1323 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsSearchbox", OTHER); |
1324 | 0 |
|
1325 | 0 | PickleIterator iter__(msg__); |
1326 | 0 | uint64_t aID; |
1327 | 0 |
|
1328 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1329 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1330 | 0 | return MsgValueError; |
1331 | 0 | } |
1332 | 0 | // Sentinel = 'aID' |
1333 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1334 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1335 | 0 | return MsgValueError; |
1336 | 0 | } |
1337 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1338 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1339 | 0 | FatalError("Transition error"); |
1340 | 0 | return MsgValueError; |
1341 | 0 | } |
1342 | 0 | int32_t id__ = Id(); |
1343 | 0 | bool retval; |
1344 | 0 | if ((!(RecvIsSearchbox(aID, (&(retval)))))) { |
1345 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1346 | 0 | // Error handled in mozilla::ipc::IPCResult |
1347 | 0 | return MsgProcessingError; |
1348 | 0 | } |
1349 | 0 | |
1350 | 0 | reply__ = PDocAccessible::Reply_IsSearchbox(id__); |
1351 | 0 |
|
1352 | 0 | WriteIPDLParam(reply__, this, retval); |
1353 | 0 | // Sentinel = 'retval' |
1354 | 0 | (reply__)->WriteSentinel(3130628604); |
1355 | 0 |
|
1356 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1357 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1358 | 0 | } |
1359 | 0 | return MsgProcessed; |
1360 | 0 | } |
1361 | 0 | case PDocAccessible::Msg_LandmarkRole__ID: |
1362 | 0 | { |
1363 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1364 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1365 | 0 | } |
1366 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LandmarkRole", OTHER); |
1367 | 0 |
|
1368 | 0 | PickleIterator iter__(msg__); |
1369 | 0 | uint64_t aID; |
1370 | 0 |
|
1371 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1372 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1373 | 0 | return MsgValueError; |
1374 | 0 | } |
1375 | 0 | // Sentinel = 'aID' |
1376 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1377 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1378 | 0 | return MsgValueError; |
1379 | 0 | } |
1380 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1381 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1382 | 0 | FatalError("Transition error"); |
1383 | 0 | return MsgValueError; |
1384 | 0 | } |
1385 | 0 | int32_t id__ = Id(); |
1386 | 0 | nsString landmark; |
1387 | 0 | if ((!(RecvLandmarkRole(aID, (&(landmark)))))) { |
1388 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1389 | 0 | // Error handled in mozilla::ipc::IPCResult |
1390 | 0 | return MsgProcessingError; |
1391 | 0 | } |
1392 | 0 | |
1393 | 0 | reply__ = PDocAccessible::Reply_LandmarkRole(id__); |
1394 | 0 |
|
1395 | 0 | WriteIPDLParam(reply__, this, landmark); |
1396 | 0 | // Sentinel = 'landmark' |
1397 | 0 | (reply__)->WriteSentinel(4039038456); |
1398 | 0 |
|
1399 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1400 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1401 | 0 | } |
1402 | 0 | return MsgProcessed; |
1403 | 0 | } |
1404 | 0 | case PDocAccessible::Msg_ARIARoleAtom__ID: |
1405 | 0 | { |
1406 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1407 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1408 | 0 | } |
1409 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ARIARoleAtom", OTHER); |
1410 | 0 |
|
1411 | 0 | PickleIterator iter__(msg__); |
1412 | 0 | uint64_t aID; |
1413 | 0 |
|
1414 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1415 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1416 | 0 | return MsgValueError; |
1417 | 0 | } |
1418 | 0 | // Sentinel = 'aID' |
1419 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1420 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1421 | 0 | return MsgValueError; |
1422 | 0 | } |
1423 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1424 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1425 | 0 | FatalError("Transition error"); |
1426 | 0 | return MsgValueError; |
1427 | 0 | } |
1428 | 0 | int32_t id__ = Id(); |
1429 | 0 | nsString ariaRole; |
1430 | 0 | if ((!(RecvARIARoleAtom(aID, (&(ariaRole)))))) { |
1431 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1432 | 0 | // Error handled in mozilla::ipc::IPCResult |
1433 | 0 | return MsgProcessingError; |
1434 | 0 | } |
1435 | 0 | |
1436 | 0 | reply__ = PDocAccessible::Reply_ARIARoleAtom(id__); |
1437 | 0 |
|
1438 | 0 | WriteIPDLParam(reply__, this, ariaRole); |
1439 | 0 | // Sentinel = 'ariaRole' |
1440 | 0 | (reply__)->WriteSentinel(412369859); |
1441 | 0 |
|
1442 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1443 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1444 | 0 | } |
1445 | 0 | return MsgProcessed; |
1446 | 0 | } |
1447 | 0 | case PDocAccessible::Msg_GetLevelInternal__ID: |
1448 | 0 | { |
1449 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1450 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1451 | 0 | } |
1452 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetLevelInternal", OTHER); |
1453 | 0 |
|
1454 | 0 | PickleIterator iter__(msg__); |
1455 | 0 | uint64_t aID; |
1456 | 0 |
|
1457 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1458 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1459 | 0 | return MsgValueError; |
1460 | 0 | } |
1461 | 0 | // Sentinel = 'aID' |
1462 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1463 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1464 | 0 | return MsgValueError; |
1465 | 0 | } |
1466 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1467 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1468 | 0 | FatalError("Transition error"); |
1469 | 0 | return MsgValueError; |
1470 | 0 | } |
1471 | 0 | int32_t id__ = Id(); |
1472 | 0 | int32_t aLevel; |
1473 | 0 | if ((!(RecvGetLevelInternal(aID, (&(aLevel)))))) { |
1474 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1475 | 0 | // Error handled in mozilla::ipc::IPCResult |
1476 | 0 | return MsgProcessingError; |
1477 | 0 | } |
1478 | 0 | |
1479 | 0 | reply__ = PDocAccessible::Reply_GetLevelInternal(id__); |
1480 | 0 |
|
1481 | 0 | WriteIPDLParam(reply__, this, aLevel); |
1482 | 0 | // Sentinel = 'aLevel' |
1483 | 0 | (reply__)->WriteSentinel(1717579975); |
1484 | 0 |
|
1485 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1486 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1487 | 0 | } |
1488 | 0 | return MsgProcessed; |
1489 | 0 | } |
1490 | 0 | case PDocAccessible::Msg_CaretLineNumber__ID: |
1491 | 0 | { |
1492 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1493 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1494 | 0 | } |
1495 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretLineNumber", OTHER); |
1496 | 0 |
|
1497 | 0 | PickleIterator iter__(msg__); |
1498 | 0 | uint64_t aID; |
1499 | 0 |
|
1500 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1501 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1502 | 0 | return MsgValueError; |
1503 | 0 | } |
1504 | 0 | // Sentinel = 'aID' |
1505 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1506 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1507 | 0 | return MsgValueError; |
1508 | 0 | } |
1509 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1510 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1511 | 0 | FatalError("Transition error"); |
1512 | 0 | return MsgValueError; |
1513 | 0 | } |
1514 | 0 | int32_t id__ = Id(); |
1515 | 0 | int32_t aLineNumber; |
1516 | 0 | if ((!(RecvCaretLineNumber(aID, (&(aLineNumber)))))) { |
1517 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1518 | 0 | // Error handled in mozilla::ipc::IPCResult |
1519 | 0 | return MsgProcessingError; |
1520 | 0 | } |
1521 | 0 | |
1522 | 0 | reply__ = PDocAccessible::Reply_CaretLineNumber(id__); |
1523 | 0 |
|
1524 | 0 | WriteIPDLParam(reply__, this, aLineNumber); |
1525 | 0 | // Sentinel = 'aLineNumber' |
1526 | 0 | (reply__)->WriteSentinel(321757991); |
1527 | 0 |
|
1528 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1529 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1530 | 0 | } |
1531 | 0 | return MsgProcessed; |
1532 | 0 | } |
1533 | 0 | case PDocAccessible::Msg_CaretOffset__ID: |
1534 | 0 | { |
1535 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1536 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1537 | 0 | } |
1538 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretOffset", OTHER); |
1539 | 0 |
|
1540 | 0 | PickleIterator iter__(msg__); |
1541 | 0 | uint64_t aID; |
1542 | 0 |
|
1543 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1544 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1545 | 0 | return MsgValueError; |
1546 | 0 | } |
1547 | 0 | // Sentinel = 'aID' |
1548 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1549 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1550 | 0 | return MsgValueError; |
1551 | 0 | } |
1552 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1553 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1554 | 0 | FatalError("Transition error"); |
1555 | 0 | return MsgValueError; |
1556 | 0 | } |
1557 | 0 | int32_t id__ = Id(); |
1558 | 0 | int32_t aOffset; |
1559 | 0 | if ((!(RecvCaretOffset(aID, (&(aOffset)))))) { |
1560 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1561 | 0 | // Error handled in mozilla::ipc::IPCResult |
1562 | 0 | return MsgProcessingError; |
1563 | 0 | } |
1564 | 0 | |
1565 | 0 | reply__ = PDocAccessible::Reply_CaretOffset(id__); |
1566 | 0 |
|
1567 | 0 | WriteIPDLParam(reply__, this, aOffset); |
1568 | 0 | // Sentinel = 'aOffset' |
1569 | 0 | (reply__)->WriteSentinel(2656388039); |
1570 | 0 |
|
1571 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1572 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1573 | 0 | } |
1574 | 0 | return MsgProcessed; |
1575 | 0 | } |
1576 | 0 | case PDocAccessible::Msg_CharacterCount__ID: |
1577 | 0 | { |
1578 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1579 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1580 | 0 | } |
1581 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharacterCount", OTHER); |
1582 | 0 |
|
1583 | 0 | PickleIterator iter__(msg__); |
1584 | 0 | uint64_t aID; |
1585 | 0 |
|
1586 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1587 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1588 | 0 | return MsgValueError; |
1589 | 0 | } |
1590 | 0 | // Sentinel = 'aID' |
1591 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1592 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1593 | 0 | return MsgValueError; |
1594 | 0 | } |
1595 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1596 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1597 | 0 | FatalError("Transition error"); |
1598 | 0 | return MsgValueError; |
1599 | 0 | } |
1600 | 0 | int32_t id__ = Id(); |
1601 | 0 | int32_t aCount; |
1602 | 0 | if ((!(RecvCharacterCount(aID, (&(aCount)))))) { |
1603 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1604 | 0 | // Error handled in mozilla::ipc::IPCResult |
1605 | 0 | return MsgProcessingError; |
1606 | 0 | } |
1607 | 0 | |
1608 | 0 | reply__ = PDocAccessible::Reply_CharacterCount(id__); |
1609 | 0 |
|
1610 | 0 | WriteIPDLParam(reply__, this, aCount); |
1611 | 0 | // Sentinel = 'aCount' |
1612 | 0 | (reply__)->WriteSentinel(2344199296); |
1613 | 0 |
|
1614 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1615 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1616 | 0 | } |
1617 | 0 | return MsgProcessed; |
1618 | 0 | } |
1619 | 0 | case PDocAccessible::Msg_SelectionCount__ID: |
1620 | 0 | { |
1621 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1622 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1623 | 0 | } |
1624 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionCount", OTHER); |
1625 | 0 |
|
1626 | 0 | PickleIterator iter__(msg__); |
1627 | 0 | uint64_t aID; |
1628 | 0 |
|
1629 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1630 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1631 | 0 | return MsgValueError; |
1632 | 0 | } |
1633 | 0 | // Sentinel = 'aID' |
1634 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1635 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1636 | 0 | return MsgValueError; |
1637 | 0 | } |
1638 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1639 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1640 | 0 | FatalError("Transition error"); |
1641 | 0 | return MsgValueError; |
1642 | 0 | } |
1643 | 0 | int32_t id__ = Id(); |
1644 | 0 | int32_t aCount; |
1645 | 0 | if ((!(RecvSelectionCount(aID, (&(aCount)))))) { |
1646 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1647 | 0 | // Error handled in mozilla::ipc::IPCResult |
1648 | 0 | return MsgProcessingError; |
1649 | 0 | } |
1650 | 0 | |
1651 | 0 | reply__ = PDocAccessible::Reply_SelectionCount(id__); |
1652 | 0 |
|
1653 | 0 | WriteIPDLParam(reply__, this, aCount); |
1654 | 0 | // Sentinel = 'aCount' |
1655 | 0 | (reply__)->WriteSentinel(2344199296); |
1656 | 0 |
|
1657 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1658 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1659 | 0 | } |
1660 | 0 | return MsgProcessed; |
1661 | 0 | } |
1662 | 0 | case PDocAccessible::Msg_TextSubstring__ID: |
1663 | 0 | { |
1664 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1665 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1666 | 0 | } |
1667 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextSubstring", OTHER); |
1668 | 0 |
|
1669 | 0 | PickleIterator iter__(msg__); |
1670 | 0 | uint64_t aID; |
1671 | 0 | int32_t aStartOffset; |
1672 | 0 | int32_t aEndOffset; |
1673 | 0 |
|
1674 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1675 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1676 | 0 | return MsgValueError; |
1677 | 0 | } |
1678 | 0 | // Sentinel = 'aID' |
1679 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1680 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1681 | 0 | return MsgValueError; |
1682 | 0 | } |
1683 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
1684 | 0 | FatalError("Error deserializing 'int32_t'"); |
1685 | 0 | return MsgValueError; |
1686 | 0 | } |
1687 | 0 | // Sentinel = 'aStartOffset' |
1688 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1689 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1690 | 0 | return MsgValueError; |
1691 | 0 | } |
1692 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
1693 | 0 | FatalError("Error deserializing 'int32_t'"); |
1694 | 0 | return MsgValueError; |
1695 | 0 | } |
1696 | 0 | // Sentinel = 'aEndOffset' |
1697 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1698 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1699 | 0 | return MsgValueError; |
1700 | 0 | } |
1701 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1702 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1703 | 0 | FatalError("Transition error"); |
1704 | 0 | return MsgValueError; |
1705 | 0 | } |
1706 | 0 | int32_t id__ = Id(); |
1707 | 0 | nsString aText; |
1708 | 0 | bool aValid; |
1709 | 0 | if ((!(RecvTextSubstring(aID, aStartOffset, aEndOffset, (&(aText)), (&(aValid)))))) { |
1710 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1711 | 0 | // Error handled in mozilla::ipc::IPCResult |
1712 | 0 | return MsgProcessingError; |
1713 | 0 | } |
1714 | 0 | |
1715 | 0 | reply__ = PDocAccessible::Reply_TextSubstring(id__); |
1716 | 0 |
|
1717 | 0 | WriteIPDLParam(reply__, this, aText); |
1718 | 0 | // Sentinel = 'aText' |
1719 | 0 | (reply__)->WriteSentinel(711388569); |
1720 | 0 | WriteIPDLParam(reply__, this, aValid); |
1721 | 0 | // Sentinel = 'aValid' |
1722 | 0 | (reply__)->WriteSentinel(2510186467); |
1723 | 0 |
|
1724 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1725 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1726 | 0 | } |
1727 | 0 | return MsgProcessed; |
1728 | 0 | } |
1729 | 0 | case PDocAccessible::Msg_GetTextAfterOffset__ID: |
1730 | 0 | { |
1731 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1732 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1733 | 0 | } |
1734 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextAfterOffset", OTHER); |
1735 | 0 |
|
1736 | 0 | PickleIterator iter__(msg__); |
1737 | 0 | uint64_t aID; |
1738 | 0 | int32_t aOffset; |
1739 | 0 | int32_t aBoundaryType; |
1740 | 0 |
|
1741 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1742 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1743 | 0 | return MsgValueError; |
1744 | 0 | } |
1745 | 0 | // Sentinel = 'aID' |
1746 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1747 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1748 | 0 | return MsgValueError; |
1749 | 0 | } |
1750 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
1751 | 0 | FatalError("Error deserializing 'int32_t'"); |
1752 | 0 | return MsgValueError; |
1753 | 0 | } |
1754 | 0 | // Sentinel = 'aOffset' |
1755 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
1756 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1757 | 0 | return MsgValueError; |
1758 | 0 | } |
1759 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aBoundaryType)))))) { |
1760 | 0 | FatalError("Error deserializing 'int32_t'"); |
1761 | 0 | return MsgValueError; |
1762 | 0 | } |
1763 | 0 | // Sentinel = 'aBoundaryType' |
1764 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1823260482)))) { |
1765 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1766 | 0 | return MsgValueError; |
1767 | 0 | } |
1768 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1769 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1770 | 0 | FatalError("Transition error"); |
1771 | 0 | return MsgValueError; |
1772 | 0 | } |
1773 | 0 | int32_t id__ = Id(); |
1774 | 0 | nsString aText; |
1775 | 0 | int32_t aStartOffset; |
1776 | 0 | int32_t aEndOffset; |
1777 | 0 | if ((!(RecvGetTextAfterOffset(aID, aOffset, aBoundaryType, (&(aText)), (&(aStartOffset)), (&(aEndOffset)))))) { |
1778 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1779 | 0 | // Error handled in mozilla::ipc::IPCResult |
1780 | 0 | return MsgProcessingError; |
1781 | 0 | } |
1782 | 0 | |
1783 | 0 | reply__ = PDocAccessible::Reply_GetTextAfterOffset(id__); |
1784 | 0 |
|
1785 | 0 | WriteIPDLParam(reply__, this, aText); |
1786 | 0 | // Sentinel = 'aText' |
1787 | 0 | (reply__)->WriteSentinel(711388569); |
1788 | 0 | WriteIPDLParam(reply__, this, aStartOffset); |
1789 | 0 | // Sentinel = 'aStartOffset' |
1790 | 0 | (reply__)->WriteSentinel(1066059254); |
1791 | 0 | WriteIPDLParam(reply__, this, aEndOffset); |
1792 | 0 | // Sentinel = 'aEndOffset' |
1793 | 0 | (reply__)->WriteSentinel(2439813419); |
1794 | 0 |
|
1795 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1796 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1797 | 0 | } |
1798 | 0 | return MsgProcessed; |
1799 | 0 | } |
1800 | 0 | case PDocAccessible::Msg_GetTextAtOffset__ID: |
1801 | 0 | { |
1802 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1803 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1804 | 0 | } |
1805 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextAtOffset", OTHER); |
1806 | 0 |
|
1807 | 0 | PickleIterator iter__(msg__); |
1808 | 0 | uint64_t aID; |
1809 | 0 | int32_t aOffset; |
1810 | 0 | int32_t aBoundaryType; |
1811 | 0 |
|
1812 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1813 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1814 | 0 | return MsgValueError; |
1815 | 0 | } |
1816 | 0 | // Sentinel = 'aID' |
1817 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1818 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1819 | 0 | return MsgValueError; |
1820 | 0 | } |
1821 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
1822 | 0 | FatalError("Error deserializing 'int32_t'"); |
1823 | 0 | return MsgValueError; |
1824 | 0 | } |
1825 | 0 | // Sentinel = 'aOffset' |
1826 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
1827 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1828 | 0 | return MsgValueError; |
1829 | 0 | } |
1830 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aBoundaryType)))))) { |
1831 | 0 | FatalError("Error deserializing 'int32_t'"); |
1832 | 0 | return MsgValueError; |
1833 | 0 | } |
1834 | 0 | // Sentinel = 'aBoundaryType' |
1835 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1823260482)))) { |
1836 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1837 | 0 | return MsgValueError; |
1838 | 0 | } |
1839 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1840 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1841 | 0 | FatalError("Transition error"); |
1842 | 0 | return MsgValueError; |
1843 | 0 | } |
1844 | 0 | int32_t id__ = Id(); |
1845 | 0 | nsString aText; |
1846 | 0 | int32_t aStartOffset; |
1847 | 0 | int32_t aEndOffset; |
1848 | 0 | if ((!(RecvGetTextAtOffset(aID, aOffset, aBoundaryType, (&(aText)), (&(aStartOffset)), (&(aEndOffset)))))) { |
1849 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1850 | 0 | // Error handled in mozilla::ipc::IPCResult |
1851 | 0 | return MsgProcessingError; |
1852 | 0 | } |
1853 | 0 | |
1854 | 0 | reply__ = PDocAccessible::Reply_GetTextAtOffset(id__); |
1855 | 0 |
|
1856 | 0 | WriteIPDLParam(reply__, this, aText); |
1857 | 0 | // Sentinel = 'aText' |
1858 | 0 | (reply__)->WriteSentinel(711388569); |
1859 | 0 | WriteIPDLParam(reply__, this, aStartOffset); |
1860 | 0 | // Sentinel = 'aStartOffset' |
1861 | 0 | (reply__)->WriteSentinel(1066059254); |
1862 | 0 | WriteIPDLParam(reply__, this, aEndOffset); |
1863 | 0 | // Sentinel = 'aEndOffset' |
1864 | 0 | (reply__)->WriteSentinel(2439813419); |
1865 | 0 |
|
1866 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1867 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1868 | 0 | } |
1869 | 0 | return MsgProcessed; |
1870 | 0 | } |
1871 | 0 | case PDocAccessible::Msg_GetTextBeforeOffset__ID: |
1872 | 0 | { |
1873 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1874 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1875 | 0 | } |
1876 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextBeforeOffset", OTHER); |
1877 | 0 |
|
1878 | 0 | PickleIterator iter__(msg__); |
1879 | 0 | uint64_t aID; |
1880 | 0 | int32_t aOffset; |
1881 | 0 | int32_t aBoundaryType; |
1882 | 0 |
|
1883 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1884 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1885 | 0 | return MsgValueError; |
1886 | 0 | } |
1887 | 0 | // Sentinel = 'aID' |
1888 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1889 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1890 | 0 | return MsgValueError; |
1891 | 0 | } |
1892 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
1893 | 0 | FatalError("Error deserializing 'int32_t'"); |
1894 | 0 | return MsgValueError; |
1895 | 0 | } |
1896 | 0 | // Sentinel = 'aOffset' |
1897 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
1898 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1899 | 0 | return MsgValueError; |
1900 | 0 | } |
1901 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aBoundaryType)))))) { |
1902 | 0 | FatalError("Error deserializing 'int32_t'"); |
1903 | 0 | return MsgValueError; |
1904 | 0 | } |
1905 | 0 | // Sentinel = 'aBoundaryType' |
1906 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1823260482)))) { |
1907 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1908 | 0 | return MsgValueError; |
1909 | 0 | } |
1910 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1911 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1912 | 0 | FatalError("Transition error"); |
1913 | 0 | return MsgValueError; |
1914 | 0 | } |
1915 | 0 | int32_t id__ = Id(); |
1916 | 0 | nsString aText; |
1917 | 0 | int32_t aStartOffset; |
1918 | 0 | int32_t aEndOffset; |
1919 | 0 | if ((!(RecvGetTextBeforeOffset(aID, aOffset, aBoundaryType, (&(aText)), (&(aStartOffset)), (&(aEndOffset)))))) { |
1920 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1921 | 0 | // Error handled in mozilla::ipc::IPCResult |
1922 | 0 | return MsgProcessingError; |
1923 | 0 | } |
1924 | 0 | |
1925 | 0 | reply__ = PDocAccessible::Reply_GetTextBeforeOffset(id__); |
1926 | 0 |
|
1927 | 0 | WriteIPDLParam(reply__, this, aText); |
1928 | 0 | // Sentinel = 'aText' |
1929 | 0 | (reply__)->WriteSentinel(711388569); |
1930 | 0 | WriteIPDLParam(reply__, this, aStartOffset); |
1931 | 0 | // Sentinel = 'aStartOffset' |
1932 | 0 | (reply__)->WriteSentinel(1066059254); |
1933 | 0 | WriteIPDLParam(reply__, this, aEndOffset); |
1934 | 0 | // Sentinel = 'aEndOffset' |
1935 | 0 | (reply__)->WriteSentinel(2439813419); |
1936 | 0 |
|
1937 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1938 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1939 | 0 | } |
1940 | 0 | return MsgProcessed; |
1941 | 0 | } |
1942 | 0 | case PDocAccessible::Msg_CharAt__ID: |
1943 | 0 | { |
1944 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1945 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1946 | 0 | } |
1947 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharAt", OTHER); |
1948 | 0 |
|
1949 | 0 | PickleIterator iter__(msg__); |
1950 | 0 | uint64_t aID; |
1951 | 0 | int32_t aOffset; |
1952 | 0 |
|
1953 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
1954 | 0 | FatalError("Error deserializing 'uint64_t'"); |
1955 | 0 | return MsgValueError; |
1956 | 0 | } |
1957 | 0 | // Sentinel = 'aID' |
1958 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
1959 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
1960 | 0 | return MsgValueError; |
1961 | 0 | } |
1962 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
1963 | 0 | FatalError("Error deserializing 'int32_t'"); |
1964 | 0 | return MsgValueError; |
1965 | 0 | } |
1966 | 0 | // Sentinel = 'aOffset' |
1967 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
1968 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1969 | 0 | return MsgValueError; |
1970 | 0 | } |
1971 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
1972 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1973 | 0 | FatalError("Transition error"); |
1974 | 0 | return MsgValueError; |
1975 | 0 | } |
1976 | 0 | int32_t id__ = Id(); |
1977 | 0 | uint16_t aChar; |
1978 | 0 | if ((!(RecvCharAt(aID, aOffset, (&(aChar)))))) { |
1979 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
1980 | 0 | // Error handled in mozilla::ipc::IPCResult |
1981 | 0 | return MsgProcessingError; |
1982 | 0 | } |
1983 | 0 | |
1984 | 0 | reply__ = PDocAccessible::Reply_CharAt(id__); |
1985 | 0 |
|
1986 | 0 | WriteIPDLParam(reply__, this, aChar); |
1987 | 0 | // Sentinel = 'aChar' |
1988 | 0 | (reply__)->WriteSentinel(3650638428); |
1989 | 0 |
|
1990 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1991 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
1992 | 0 | } |
1993 | 0 | return MsgProcessed; |
1994 | 0 | } |
1995 | 0 | case PDocAccessible::Msg_TextAttributes__ID: |
1996 | 0 | { |
1997 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
1998 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1999 | 0 | } |
2000 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextAttributes", OTHER); |
2001 | 0 |
|
2002 | 0 | PickleIterator iter__(msg__); |
2003 | 0 | uint64_t aID; |
2004 | 0 | bool aIncludeDefAttrs; |
2005 | 0 | int32_t aOffset; |
2006 | 0 |
|
2007 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2008 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2009 | 0 | return MsgValueError; |
2010 | 0 | } |
2011 | 0 | // Sentinel = 'aID' |
2012 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2013 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2014 | 0 | return MsgValueError; |
2015 | 0 | } |
2016 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIncludeDefAttrs)))))) { |
2017 | 0 | FatalError("Error deserializing 'bool'"); |
2018 | 0 | return MsgValueError; |
2019 | 0 | } |
2020 | 0 | // Sentinel = 'aIncludeDefAttrs' |
2021 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1389974536)))) { |
2022 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2023 | 0 | return MsgValueError; |
2024 | 0 | } |
2025 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
2026 | 0 | FatalError("Error deserializing 'int32_t'"); |
2027 | 0 | return MsgValueError; |
2028 | 0 | } |
2029 | 0 | // Sentinel = 'aOffset' |
2030 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
2031 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2032 | 0 | return MsgValueError; |
2033 | 0 | } |
2034 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2035 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2036 | 0 | FatalError("Transition error"); |
2037 | 0 | return MsgValueError; |
2038 | 0 | } |
2039 | 0 | int32_t id__ = Id(); |
2040 | 0 | nsTArray<Attribute> aAttributes; |
2041 | 0 | int32_t aStartOffset; |
2042 | 0 | int32_t aEndOffset; |
2043 | 0 | if ((!(RecvTextAttributes(aID, aIncludeDefAttrs, aOffset, (&(aAttributes)), (&(aStartOffset)), (&(aEndOffset)))))) { |
2044 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2045 | 0 | // Error handled in mozilla::ipc::IPCResult |
2046 | 0 | return MsgProcessingError; |
2047 | 0 | } |
2048 | 0 | |
2049 | 0 | reply__ = PDocAccessible::Reply_TextAttributes(id__); |
2050 | 0 |
|
2051 | 0 | WriteIPDLParam(reply__, this, aAttributes); |
2052 | 0 | // Sentinel = 'aAttributes' |
2053 | 0 | (reply__)->WriteSentinel(951860833); |
2054 | 0 | WriteIPDLParam(reply__, this, aStartOffset); |
2055 | 0 | // Sentinel = 'aStartOffset' |
2056 | 0 | (reply__)->WriteSentinel(1066059254); |
2057 | 0 | WriteIPDLParam(reply__, this, aEndOffset); |
2058 | 0 | // Sentinel = 'aEndOffset' |
2059 | 0 | (reply__)->WriteSentinel(2439813419); |
2060 | 0 |
|
2061 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2062 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2063 | 0 | } |
2064 | 0 | return MsgProcessed; |
2065 | 0 | } |
2066 | 0 | case PDocAccessible::Msg_DefaultTextAttributes__ID: |
2067 | 0 | { |
2068 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2069 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2070 | 0 | } |
2071 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DefaultTextAttributes", OTHER); |
2072 | 0 |
|
2073 | 0 | PickleIterator iter__(msg__); |
2074 | 0 | uint64_t aID; |
2075 | 0 |
|
2076 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2077 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2078 | 0 | return MsgValueError; |
2079 | 0 | } |
2080 | 0 | // Sentinel = 'aID' |
2081 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2082 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2083 | 0 | return MsgValueError; |
2084 | 0 | } |
2085 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2086 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2087 | 0 | FatalError("Transition error"); |
2088 | 0 | return MsgValueError; |
2089 | 0 | } |
2090 | 0 | int32_t id__ = Id(); |
2091 | 0 | nsTArray<Attribute> aAttributes; |
2092 | 0 | if ((!(RecvDefaultTextAttributes(aID, (&(aAttributes)))))) { |
2093 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2094 | 0 | // Error handled in mozilla::ipc::IPCResult |
2095 | 0 | return MsgProcessingError; |
2096 | 0 | } |
2097 | 0 | |
2098 | 0 | reply__ = PDocAccessible::Reply_DefaultTextAttributes(id__); |
2099 | 0 |
|
2100 | 0 | WriteIPDLParam(reply__, this, aAttributes); |
2101 | 0 | // Sentinel = 'aAttributes' |
2102 | 0 | (reply__)->WriteSentinel(951860833); |
2103 | 0 |
|
2104 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2105 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2106 | 0 | } |
2107 | 0 | return MsgProcessed; |
2108 | 0 | } |
2109 | 0 | case PDocAccessible::Msg_TextBounds__ID: |
2110 | 0 | { |
2111 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2112 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2113 | 0 | } |
2114 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextBounds", OTHER); |
2115 | 0 |
|
2116 | 0 | PickleIterator iter__(msg__); |
2117 | 0 | uint64_t aID; |
2118 | 0 | int32_t aStartOffset; |
2119 | 0 | int32_t aEndOffset; |
2120 | 0 | uint32_t aCoordType; |
2121 | 0 |
|
2122 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2123 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2124 | 0 | return MsgValueError; |
2125 | 0 | } |
2126 | 0 | // Sentinel = 'aID' |
2127 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2128 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2129 | 0 | return MsgValueError; |
2130 | 0 | } |
2131 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
2132 | 0 | FatalError("Error deserializing 'int32_t'"); |
2133 | 0 | return MsgValueError; |
2134 | 0 | } |
2135 | 0 | // Sentinel = 'aStartOffset' |
2136 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
2137 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2138 | 0 | return MsgValueError; |
2139 | 0 | } |
2140 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
2141 | 0 | FatalError("Error deserializing 'int32_t'"); |
2142 | 0 | return MsgValueError; |
2143 | 0 | } |
2144 | 0 | // Sentinel = 'aEndOffset' |
2145 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
2146 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2147 | 0 | return MsgValueError; |
2148 | 0 | } |
2149 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCoordType)))))) { |
2150 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2151 | 0 | return MsgValueError; |
2152 | 0 | } |
2153 | 0 | // Sentinel = 'aCoordType' |
2154 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3719390058)))) { |
2155 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2156 | 0 | return MsgValueError; |
2157 | 0 | } |
2158 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2159 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2160 | 0 | FatalError("Transition error"); |
2161 | 0 | return MsgValueError; |
2162 | 0 | } |
2163 | 0 | int32_t id__ = Id(); |
2164 | 0 | nsIntRect aRetVal; |
2165 | 0 | if ((!(RecvTextBounds(aID, aStartOffset, aEndOffset, aCoordType, (&(aRetVal)))))) { |
2166 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2167 | 0 | // Error handled in mozilla::ipc::IPCResult |
2168 | 0 | return MsgProcessingError; |
2169 | 0 | } |
2170 | 0 | |
2171 | 0 | reply__ = PDocAccessible::Reply_TextBounds(id__); |
2172 | 0 |
|
2173 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
2174 | 0 | // Sentinel = 'aRetVal' |
2175 | 0 | (reply__)->WriteSentinel(4235942908); |
2176 | 0 |
|
2177 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2178 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2179 | 0 | } |
2180 | 0 | return MsgProcessed; |
2181 | 0 | } |
2182 | 0 | case PDocAccessible::Msg_CharBounds__ID: |
2183 | 0 | { |
2184 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2185 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2186 | 0 | } |
2187 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharBounds", OTHER); |
2188 | 0 |
|
2189 | 0 | PickleIterator iter__(msg__); |
2190 | 0 | uint64_t aID; |
2191 | 0 | int32_t aOffset; |
2192 | 0 | uint32_t aCoordType; |
2193 | 0 |
|
2194 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2195 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2196 | 0 | return MsgValueError; |
2197 | 0 | } |
2198 | 0 | // Sentinel = 'aID' |
2199 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2200 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2201 | 0 | return MsgValueError; |
2202 | 0 | } |
2203 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
2204 | 0 | FatalError("Error deserializing 'int32_t'"); |
2205 | 0 | return MsgValueError; |
2206 | 0 | } |
2207 | 0 | // Sentinel = 'aOffset' |
2208 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
2209 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2210 | 0 | return MsgValueError; |
2211 | 0 | } |
2212 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCoordType)))))) { |
2213 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2214 | 0 | return MsgValueError; |
2215 | 0 | } |
2216 | 0 | // Sentinel = 'aCoordType' |
2217 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3719390058)))) { |
2218 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2219 | 0 | return MsgValueError; |
2220 | 0 | } |
2221 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2222 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2223 | 0 | FatalError("Transition error"); |
2224 | 0 | return MsgValueError; |
2225 | 0 | } |
2226 | 0 | int32_t id__ = Id(); |
2227 | 0 | nsIntRect aRetVal; |
2228 | 0 | if ((!(RecvCharBounds(aID, aOffset, aCoordType, (&(aRetVal)))))) { |
2229 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2230 | 0 | // Error handled in mozilla::ipc::IPCResult |
2231 | 0 | return MsgProcessingError; |
2232 | 0 | } |
2233 | 0 | |
2234 | 0 | reply__ = PDocAccessible::Reply_CharBounds(id__); |
2235 | 0 |
|
2236 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
2237 | 0 | // Sentinel = 'aRetVal' |
2238 | 0 | (reply__)->WriteSentinel(4235942908); |
2239 | 0 |
|
2240 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2241 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2242 | 0 | } |
2243 | 0 | return MsgProcessed; |
2244 | 0 | } |
2245 | 0 | case PDocAccessible::Msg_OffsetAtPoint__ID: |
2246 | 0 | { |
2247 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2248 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2249 | 0 | } |
2250 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_OffsetAtPoint", OTHER); |
2251 | 0 |
|
2252 | 0 | PickleIterator iter__(msg__); |
2253 | 0 | uint64_t aID; |
2254 | 0 | int32_t aX; |
2255 | 0 | int32_t aY; |
2256 | 0 | uint32_t aCoordType; |
2257 | 0 |
|
2258 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2259 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2260 | 0 | return MsgValueError; |
2261 | 0 | } |
2262 | 0 | // Sentinel = 'aID' |
2263 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2264 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2265 | 0 | return MsgValueError; |
2266 | 0 | } |
2267 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aX)))))) { |
2268 | 0 | FatalError("Error deserializing 'int32_t'"); |
2269 | 0 | return MsgValueError; |
2270 | 0 | } |
2271 | 0 | // Sentinel = 'aX' |
2272 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
2273 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2274 | 0 | return MsgValueError; |
2275 | 0 | } |
2276 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aY)))))) { |
2277 | 0 | FatalError("Error deserializing 'int32_t'"); |
2278 | 0 | return MsgValueError; |
2279 | 0 | } |
2280 | 0 | // Sentinel = 'aY' |
2281 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
2282 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2283 | 0 | return MsgValueError; |
2284 | 0 | } |
2285 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCoordType)))))) { |
2286 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2287 | 0 | return MsgValueError; |
2288 | 0 | } |
2289 | 0 | // Sentinel = 'aCoordType' |
2290 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3719390058)))) { |
2291 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2292 | 0 | return MsgValueError; |
2293 | 0 | } |
2294 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2295 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2296 | 0 | FatalError("Transition error"); |
2297 | 0 | return MsgValueError; |
2298 | 0 | } |
2299 | 0 | int32_t id__ = Id(); |
2300 | 0 | int32_t aRetVal; |
2301 | 0 | if ((!(RecvOffsetAtPoint(aID, aX, aY, aCoordType, (&(aRetVal)))))) { |
2302 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2303 | 0 | // Error handled in mozilla::ipc::IPCResult |
2304 | 0 | return MsgProcessingError; |
2305 | 0 | } |
2306 | 0 | |
2307 | 0 | reply__ = PDocAccessible::Reply_OffsetAtPoint(id__); |
2308 | 0 |
|
2309 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
2310 | 0 | // Sentinel = 'aRetVal' |
2311 | 0 | (reply__)->WriteSentinel(4235942908); |
2312 | 0 |
|
2313 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2314 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2315 | 0 | } |
2316 | 0 | return MsgProcessed; |
2317 | 0 | } |
2318 | 0 | case PDocAccessible::Msg_SelectionBoundsAt__ID: |
2319 | 0 | { |
2320 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2321 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2322 | 0 | } |
2323 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionBoundsAt", OTHER); |
2324 | 0 |
|
2325 | 0 | PickleIterator iter__(msg__); |
2326 | 0 | uint64_t aID; |
2327 | 0 | int32_t aSelectionNum; |
2328 | 0 |
|
2329 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2330 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2331 | 0 | return MsgValueError; |
2332 | 0 | } |
2333 | 0 | // Sentinel = 'aID' |
2334 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2335 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2336 | 0 | return MsgValueError; |
2337 | 0 | } |
2338 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aSelectionNum)))))) { |
2339 | 0 | FatalError("Error deserializing 'int32_t'"); |
2340 | 0 | return MsgValueError; |
2341 | 0 | } |
2342 | 0 | // Sentinel = 'aSelectionNum' |
2343 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3877370474)))) { |
2344 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2345 | 0 | return MsgValueError; |
2346 | 0 | } |
2347 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2348 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2349 | 0 | FatalError("Transition error"); |
2350 | 0 | return MsgValueError; |
2351 | 0 | } |
2352 | 0 | int32_t id__ = Id(); |
2353 | 0 | bool aSucceeded; |
2354 | 0 | nsString aData; |
2355 | 0 | int32_t aStartOffset; |
2356 | 0 | int32_t aEndOffset; |
2357 | 0 | if ((!(RecvSelectionBoundsAt(aID, aSelectionNum, (&(aSucceeded)), (&(aData)), (&(aStartOffset)), (&(aEndOffset)))))) { |
2358 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2359 | 0 | // Error handled in mozilla::ipc::IPCResult |
2360 | 0 | return MsgProcessingError; |
2361 | 0 | } |
2362 | 0 | |
2363 | 0 | reply__ = PDocAccessible::Reply_SelectionBoundsAt(id__); |
2364 | 0 |
|
2365 | 0 | WriteIPDLParam(reply__, this, aSucceeded); |
2366 | 0 | // Sentinel = 'aSucceeded' |
2367 | 0 | (reply__)->WriteSentinel(3936867666); |
2368 | 0 | WriteIPDLParam(reply__, this, aData); |
2369 | 0 | // Sentinel = 'aData' |
2370 | 0 | (reply__)->WriteSentinel(3285075324); |
2371 | 0 | WriteIPDLParam(reply__, this, aStartOffset); |
2372 | 0 | // Sentinel = 'aStartOffset' |
2373 | 0 | (reply__)->WriteSentinel(1066059254); |
2374 | 0 | WriteIPDLParam(reply__, this, aEndOffset); |
2375 | 0 | // Sentinel = 'aEndOffset' |
2376 | 0 | (reply__)->WriteSentinel(2439813419); |
2377 | 0 |
|
2378 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2379 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2380 | 0 | } |
2381 | 0 | return MsgProcessed; |
2382 | 0 | } |
2383 | 0 | case PDocAccessible::Msg_SetSelectionBoundsAt__ID: |
2384 | 0 | { |
2385 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2386 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2387 | 0 | } |
2388 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetSelectionBoundsAt", OTHER); |
2389 | 0 |
|
2390 | 0 | PickleIterator iter__(msg__); |
2391 | 0 | uint64_t aID; |
2392 | 0 | int32_t aSelectionNum; |
2393 | 0 | int32_t aStartOffset; |
2394 | 0 | int32_t aEndOffset; |
2395 | 0 |
|
2396 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2397 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2398 | 0 | return MsgValueError; |
2399 | 0 | } |
2400 | 0 | // Sentinel = 'aID' |
2401 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2402 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2403 | 0 | return MsgValueError; |
2404 | 0 | } |
2405 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aSelectionNum)))))) { |
2406 | 0 | FatalError("Error deserializing 'int32_t'"); |
2407 | 0 | return MsgValueError; |
2408 | 0 | } |
2409 | 0 | // Sentinel = 'aSelectionNum' |
2410 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3877370474)))) { |
2411 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2412 | 0 | return MsgValueError; |
2413 | 0 | } |
2414 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
2415 | 0 | FatalError("Error deserializing 'int32_t'"); |
2416 | 0 | return MsgValueError; |
2417 | 0 | } |
2418 | 0 | // Sentinel = 'aStartOffset' |
2419 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
2420 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2421 | 0 | return MsgValueError; |
2422 | 0 | } |
2423 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
2424 | 0 | FatalError("Error deserializing 'int32_t'"); |
2425 | 0 | return MsgValueError; |
2426 | 0 | } |
2427 | 0 | // Sentinel = 'aEndOffset' |
2428 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
2429 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2430 | 0 | return MsgValueError; |
2431 | 0 | } |
2432 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2433 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2434 | 0 | FatalError("Transition error"); |
2435 | 0 | return MsgValueError; |
2436 | 0 | } |
2437 | 0 | int32_t id__ = Id(); |
2438 | 0 | bool aSucceeded; |
2439 | 0 | if ((!(RecvSetSelectionBoundsAt(aID, aSelectionNum, aStartOffset, aEndOffset, (&(aSucceeded)))))) { |
2440 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2441 | 0 | // Error handled in mozilla::ipc::IPCResult |
2442 | 0 | return MsgProcessingError; |
2443 | 0 | } |
2444 | 0 | |
2445 | 0 | reply__ = PDocAccessible::Reply_SetSelectionBoundsAt(id__); |
2446 | 0 |
|
2447 | 0 | WriteIPDLParam(reply__, this, aSucceeded); |
2448 | 0 | // Sentinel = 'aSucceeded' |
2449 | 0 | (reply__)->WriteSentinel(3936867666); |
2450 | 0 |
|
2451 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2452 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2453 | 0 | } |
2454 | 0 | return MsgProcessed; |
2455 | 0 | } |
2456 | 0 | case PDocAccessible::Msg_AddToSelection__ID: |
2457 | 0 | { |
2458 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2459 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2460 | 0 | } |
2461 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AddToSelection", OTHER); |
2462 | 0 |
|
2463 | 0 | PickleIterator iter__(msg__); |
2464 | 0 | uint64_t aID; |
2465 | 0 | int32_t aStartOffset; |
2466 | 0 | int32_t aEndOffset; |
2467 | 0 |
|
2468 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2469 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2470 | 0 | return MsgValueError; |
2471 | 0 | } |
2472 | 0 | // Sentinel = 'aID' |
2473 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2474 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2475 | 0 | return MsgValueError; |
2476 | 0 | } |
2477 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
2478 | 0 | FatalError("Error deserializing 'int32_t'"); |
2479 | 0 | return MsgValueError; |
2480 | 0 | } |
2481 | 0 | // Sentinel = 'aStartOffset' |
2482 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
2483 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2484 | 0 | return MsgValueError; |
2485 | 0 | } |
2486 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
2487 | 0 | FatalError("Error deserializing 'int32_t'"); |
2488 | 0 | return MsgValueError; |
2489 | 0 | } |
2490 | 0 | // Sentinel = 'aEndOffset' |
2491 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
2492 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2493 | 0 | return MsgValueError; |
2494 | 0 | } |
2495 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2496 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2497 | 0 | FatalError("Transition error"); |
2498 | 0 | return MsgValueError; |
2499 | 0 | } |
2500 | 0 | int32_t id__ = Id(); |
2501 | 0 | bool aSucceeded; |
2502 | 0 | if ((!(RecvAddToSelection(aID, aStartOffset, aEndOffset, (&(aSucceeded)))))) { |
2503 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2504 | 0 | // Error handled in mozilla::ipc::IPCResult |
2505 | 0 | return MsgProcessingError; |
2506 | 0 | } |
2507 | 0 | |
2508 | 0 | reply__ = PDocAccessible::Reply_AddToSelection(id__); |
2509 | 0 |
|
2510 | 0 | WriteIPDLParam(reply__, this, aSucceeded); |
2511 | 0 | // Sentinel = 'aSucceeded' |
2512 | 0 | (reply__)->WriteSentinel(3936867666); |
2513 | 0 |
|
2514 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2515 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2516 | 0 | } |
2517 | 0 | return MsgProcessed; |
2518 | 0 | } |
2519 | 0 | case PDocAccessible::Msg_RemoveFromSelection__ID: |
2520 | 0 | { |
2521 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2522 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2523 | 0 | } |
2524 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RemoveFromSelection", OTHER); |
2525 | 0 |
|
2526 | 0 | PickleIterator iter__(msg__); |
2527 | 0 | uint64_t aID; |
2528 | 0 | int32_t aSelectionNum; |
2529 | 0 |
|
2530 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2531 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2532 | 0 | return MsgValueError; |
2533 | 0 | } |
2534 | 0 | // Sentinel = 'aID' |
2535 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2536 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2537 | 0 | return MsgValueError; |
2538 | 0 | } |
2539 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aSelectionNum)))))) { |
2540 | 0 | FatalError("Error deserializing 'int32_t'"); |
2541 | 0 | return MsgValueError; |
2542 | 0 | } |
2543 | 0 | // Sentinel = 'aSelectionNum' |
2544 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3877370474)))) { |
2545 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2546 | 0 | return MsgValueError; |
2547 | 0 | } |
2548 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2549 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2550 | 0 | FatalError("Transition error"); |
2551 | 0 | return MsgValueError; |
2552 | 0 | } |
2553 | 0 | int32_t id__ = Id(); |
2554 | 0 | bool aSucceeded; |
2555 | 0 | if ((!(RecvRemoveFromSelection(aID, aSelectionNum, (&(aSucceeded)))))) { |
2556 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2557 | 0 | // Error handled in mozilla::ipc::IPCResult |
2558 | 0 | return MsgProcessingError; |
2559 | 0 | } |
2560 | 0 | |
2561 | 0 | reply__ = PDocAccessible::Reply_RemoveFromSelection(id__); |
2562 | 0 |
|
2563 | 0 | WriteIPDLParam(reply__, this, aSucceeded); |
2564 | 0 | // Sentinel = 'aSucceeded' |
2565 | 0 | (reply__)->WriteSentinel(3936867666); |
2566 | 0 |
|
2567 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2568 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2569 | 0 | } |
2570 | 0 | return MsgProcessed; |
2571 | 0 | } |
2572 | 0 | case PDocAccessible::Msg_Text__ID: |
2573 | 0 | { |
2574 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2575 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2576 | 0 | } |
2577 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Text", OTHER); |
2578 | 0 |
|
2579 | 0 | PickleIterator iter__(msg__); |
2580 | 0 | uint64_t aID; |
2581 | 0 |
|
2582 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2583 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2584 | 0 | return MsgValueError; |
2585 | 0 | } |
2586 | 0 | // Sentinel = 'aID' |
2587 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2588 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2589 | 0 | return MsgValueError; |
2590 | 0 | } |
2591 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2592 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2593 | 0 | FatalError("Transition error"); |
2594 | 0 | return MsgValueError; |
2595 | 0 | } |
2596 | 0 | int32_t id__ = Id(); |
2597 | 0 | nsString aText; |
2598 | 0 | if ((!(RecvText(aID, (&(aText)))))) { |
2599 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2600 | 0 | // Error handled in mozilla::ipc::IPCResult |
2601 | 0 | return MsgProcessingError; |
2602 | 0 | } |
2603 | 0 | |
2604 | 0 | reply__ = PDocAccessible::Reply_Text(id__); |
2605 | 0 |
|
2606 | 0 | WriteIPDLParam(reply__, this, aText); |
2607 | 0 | // Sentinel = 'aText' |
2608 | 0 | (reply__)->WriteSentinel(711388569); |
2609 | 0 |
|
2610 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2611 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2612 | 0 | } |
2613 | 0 | return MsgProcessed; |
2614 | 0 | } |
2615 | 0 | case PDocAccessible::Msg_ReplaceText__ID: |
2616 | 0 | { |
2617 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2618 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2619 | 0 | } |
2620 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ReplaceText", OTHER); |
2621 | 0 |
|
2622 | 0 | PickleIterator iter__(msg__); |
2623 | 0 | uint64_t aID; |
2624 | 0 | nsString aText; |
2625 | 0 |
|
2626 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2627 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2628 | 0 | return MsgValueError; |
2629 | 0 | } |
2630 | 0 | // Sentinel = 'aID' |
2631 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2632 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2633 | 0 | return MsgValueError; |
2634 | 0 | } |
2635 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aText)))))) { |
2636 | 0 | FatalError("Error deserializing 'nsString'"); |
2637 | 0 | return MsgValueError; |
2638 | 0 | } |
2639 | 0 | // Sentinel = 'aText' |
2640 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 711388569)))) { |
2641 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
2642 | 0 | return MsgValueError; |
2643 | 0 | } |
2644 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2645 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2646 | 0 | FatalError("Transition error"); |
2647 | 0 | return MsgValueError; |
2648 | 0 | } |
2649 | 0 | int32_t id__ = Id(); |
2650 | 0 | if ((!(RecvReplaceText(aID, aText)))) { |
2651 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2652 | 0 | // Error handled in mozilla::ipc::IPCResult |
2653 | 0 | return MsgProcessingError; |
2654 | 0 | } |
2655 | 0 | |
2656 | 0 | reply__ = PDocAccessible::Reply_ReplaceText(id__); |
2657 | 0 |
|
2658 | 0 |
|
2659 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2660 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2661 | 0 | } |
2662 | 0 | return MsgProcessed; |
2663 | 0 | } |
2664 | 0 | case PDocAccessible::Msg_InsertText__ID: |
2665 | 0 | { |
2666 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2667 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2668 | 0 | } |
2669 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_InsertText", OTHER); |
2670 | 0 |
|
2671 | 0 | PickleIterator iter__(msg__); |
2672 | 0 | uint64_t aID; |
2673 | 0 | nsString aText; |
2674 | 0 | int32_t aPosition; |
2675 | 0 |
|
2676 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2677 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2678 | 0 | return MsgValueError; |
2679 | 0 | } |
2680 | 0 | // Sentinel = 'aID' |
2681 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2682 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2683 | 0 | return MsgValueError; |
2684 | 0 | } |
2685 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aText)))))) { |
2686 | 0 | FatalError("Error deserializing 'nsString'"); |
2687 | 0 | return MsgValueError; |
2688 | 0 | } |
2689 | 0 | // Sentinel = 'aText' |
2690 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 711388569)))) { |
2691 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
2692 | 0 | return MsgValueError; |
2693 | 0 | } |
2694 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aPosition)))))) { |
2695 | 0 | FatalError("Error deserializing 'int32_t'"); |
2696 | 0 | return MsgValueError; |
2697 | 0 | } |
2698 | 0 | // Sentinel = 'aPosition' |
2699 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2753958473)))) { |
2700 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2701 | 0 | return MsgValueError; |
2702 | 0 | } |
2703 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2704 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2705 | 0 | FatalError("Transition error"); |
2706 | 0 | return MsgValueError; |
2707 | 0 | } |
2708 | 0 | int32_t id__ = Id(); |
2709 | 0 | bool aValid; |
2710 | 0 | if ((!(RecvInsertText(aID, aText, aPosition, (&(aValid)))))) { |
2711 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2712 | 0 | // Error handled in mozilla::ipc::IPCResult |
2713 | 0 | return MsgProcessingError; |
2714 | 0 | } |
2715 | 0 | |
2716 | 0 | reply__ = PDocAccessible::Reply_InsertText(id__); |
2717 | 0 |
|
2718 | 0 | WriteIPDLParam(reply__, this, aValid); |
2719 | 0 | // Sentinel = 'aValid' |
2720 | 0 | (reply__)->WriteSentinel(2510186467); |
2721 | 0 |
|
2722 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2723 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2724 | 0 | } |
2725 | 0 | return MsgProcessed; |
2726 | 0 | } |
2727 | 0 | case PDocAccessible::Msg_CopyText__ID: |
2728 | 0 | { |
2729 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2730 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2731 | 0 | } |
2732 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CopyText", OTHER); |
2733 | 0 |
|
2734 | 0 | PickleIterator iter__(msg__); |
2735 | 0 | uint64_t aID; |
2736 | 0 | int32_t aStartPos; |
2737 | 0 | int32_t aEndPos; |
2738 | 0 |
|
2739 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2740 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2741 | 0 | return MsgValueError; |
2742 | 0 | } |
2743 | 0 | // Sentinel = 'aID' |
2744 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2745 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2746 | 0 | return MsgValueError; |
2747 | 0 | } |
2748 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartPos)))))) { |
2749 | 0 | FatalError("Error deserializing 'int32_t'"); |
2750 | 0 | return MsgValueError; |
2751 | 0 | } |
2752 | 0 | // Sentinel = 'aStartPos' |
2753 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2464563982)))) { |
2754 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2755 | 0 | return MsgValueError; |
2756 | 0 | } |
2757 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndPos)))))) { |
2758 | 0 | FatalError("Error deserializing 'int32_t'"); |
2759 | 0 | return MsgValueError; |
2760 | 0 | } |
2761 | 0 | // Sentinel = 'aEndPos' |
2762 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2590709049)))) { |
2763 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2764 | 0 | return MsgValueError; |
2765 | 0 | } |
2766 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2767 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2768 | 0 | FatalError("Transition error"); |
2769 | 0 | return MsgValueError; |
2770 | 0 | } |
2771 | 0 | int32_t id__ = Id(); |
2772 | 0 | bool aValid; |
2773 | 0 | if ((!(RecvCopyText(aID, aStartPos, aEndPos, (&(aValid)))))) { |
2774 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2775 | 0 | // Error handled in mozilla::ipc::IPCResult |
2776 | 0 | return MsgProcessingError; |
2777 | 0 | } |
2778 | 0 | |
2779 | 0 | reply__ = PDocAccessible::Reply_CopyText(id__); |
2780 | 0 |
|
2781 | 0 | WriteIPDLParam(reply__, this, aValid); |
2782 | 0 | // Sentinel = 'aValid' |
2783 | 0 | (reply__)->WriteSentinel(2510186467); |
2784 | 0 |
|
2785 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2786 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2787 | 0 | } |
2788 | 0 | return MsgProcessed; |
2789 | 0 | } |
2790 | 0 | case PDocAccessible::Msg_CutText__ID: |
2791 | 0 | { |
2792 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2793 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2794 | 0 | } |
2795 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CutText", OTHER); |
2796 | 0 |
|
2797 | 0 | PickleIterator iter__(msg__); |
2798 | 0 | uint64_t aID; |
2799 | 0 | int32_t aStartPos; |
2800 | 0 | int32_t aEndPos; |
2801 | 0 |
|
2802 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2803 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2804 | 0 | return MsgValueError; |
2805 | 0 | } |
2806 | 0 | // Sentinel = 'aID' |
2807 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2808 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2809 | 0 | return MsgValueError; |
2810 | 0 | } |
2811 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartPos)))))) { |
2812 | 0 | FatalError("Error deserializing 'int32_t'"); |
2813 | 0 | return MsgValueError; |
2814 | 0 | } |
2815 | 0 | // Sentinel = 'aStartPos' |
2816 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2464563982)))) { |
2817 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2818 | 0 | return MsgValueError; |
2819 | 0 | } |
2820 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndPos)))))) { |
2821 | 0 | FatalError("Error deserializing 'int32_t'"); |
2822 | 0 | return MsgValueError; |
2823 | 0 | } |
2824 | 0 | // Sentinel = 'aEndPos' |
2825 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2590709049)))) { |
2826 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2827 | 0 | return MsgValueError; |
2828 | 0 | } |
2829 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2830 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2831 | 0 | FatalError("Transition error"); |
2832 | 0 | return MsgValueError; |
2833 | 0 | } |
2834 | 0 | int32_t id__ = Id(); |
2835 | 0 | bool aValid; |
2836 | 0 | if ((!(RecvCutText(aID, aStartPos, aEndPos, (&(aValid)))))) { |
2837 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2838 | 0 | // Error handled in mozilla::ipc::IPCResult |
2839 | 0 | return MsgProcessingError; |
2840 | 0 | } |
2841 | 0 | |
2842 | 0 | reply__ = PDocAccessible::Reply_CutText(id__); |
2843 | 0 |
|
2844 | 0 | WriteIPDLParam(reply__, this, aValid); |
2845 | 0 | // Sentinel = 'aValid' |
2846 | 0 | (reply__)->WriteSentinel(2510186467); |
2847 | 0 |
|
2848 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2849 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2850 | 0 | } |
2851 | 0 | return MsgProcessed; |
2852 | 0 | } |
2853 | 0 | case PDocAccessible::Msg_DeleteText__ID: |
2854 | 0 | { |
2855 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2856 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2857 | 0 | } |
2858 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DeleteText", OTHER); |
2859 | 0 |
|
2860 | 0 | PickleIterator iter__(msg__); |
2861 | 0 | uint64_t aID; |
2862 | 0 | int32_t aStartPos; |
2863 | 0 | int32_t aEndPos; |
2864 | 0 |
|
2865 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2866 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2867 | 0 | return MsgValueError; |
2868 | 0 | } |
2869 | 0 | // Sentinel = 'aID' |
2870 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2871 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2872 | 0 | return MsgValueError; |
2873 | 0 | } |
2874 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartPos)))))) { |
2875 | 0 | FatalError("Error deserializing 'int32_t'"); |
2876 | 0 | return MsgValueError; |
2877 | 0 | } |
2878 | 0 | // Sentinel = 'aStartPos' |
2879 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2464563982)))) { |
2880 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2881 | 0 | return MsgValueError; |
2882 | 0 | } |
2883 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndPos)))))) { |
2884 | 0 | FatalError("Error deserializing 'int32_t'"); |
2885 | 0 | return MsgValueError; |
2886 | 0 | } |
2887 | 0 | // Sentinel = 'aEndPos' |
2888 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2590709049)))) { |
2889 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2890 | 0 | return MsgValueError; |
2891 | 0 | } |
2892 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2893 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2894 | 0 | FatalError("Transition error"); |
2895 | 0 | return MsgValueError; |
2896 | 0 | } |
2897 | 0 | int32_t id__ = Id(); |
2898 | 0 | bool aValid; |
2899 | 0 | if ((!(RecvDeleteText(aID, aStartPos, aEndPos, (&(aValid)))))) { |
2900 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2901 | 0 | // Error handled in mozilla::ipc::IPCResult |
2902 | 0 | return MsgProcessingError; |
2903 | 0 | } |
2904 | 0 | |
2905 | 0 | reply__ = PDocAccessible::Reply_DeleteText(id__); |
2906 | 0 |
|
2907 | 0 | WriteIPDLParam(reply__, this, aValid); |
2908 | 0 | // Sentinel = 'aValid' |
2909 | 0 | (reply__)->WriteSentinel(2510186467); |
2910 | 0 |
|
2911 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2912 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2913 | 0 | } |
2914 | 0 | return MsgProcessed; |
2915 | 0 | } |
2916 | 0 | case PDocAccessible::Msg_PasteText__ID: |
2917 | 0 | { |
2918 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2919 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2920 | 0 | } |
2921 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_PasteText", OTHER); |
2922 | 0 |
|
2923 | 0 | PickleIterator iter__(msg__); |
2924 | 0 | uint64_t aID; |
2925 | 0 | int32_t aPosition; |
2926 | 0 |
|
2927 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2928 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2929 | 0 | return MsgValueError; |
2930 | 0 | } |
2931 | 0 | // Sentinel = 'aID' |
2932 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2933 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2934 | 0 | return MsgValueError; |
2935 | 0 | } |
2936 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aPosition)))))) { |
2937 | 0 | FatalError("Error deserializing 'int32_t'"); |
2938 | 0 | return MsgValueError; |
2939 | 0 | } |
2940 | 0 | // Sentinel = 'aPosition' |
2941 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2753958473)))) { |
2942 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
2943 | 0 | return MsgValueError; |
2944 | 0 | } |
2945 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2946 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2947 | 0 | FatalError("Transition error"); |
2948 | 0 | return MsgValueError; |
2949 | 0 | } |
2950 | 0 | int32_t id__ = Id(); |
2951 | 0 | bool aValid; |
2952 | 0 | if ((!(RecvPasteText(aID, aPosition, (&(aValid)))))) { |
2953 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
2954 | 0 | // Error handled in mozilla::ipc::IPCResult |
2955 | 0 | return MsgProcessingError; |
2956 | 0 | } |
2957 | 0 | |
2958 | 0 | reply__ = PDocAccessible::Reply_PasteText(id__); |
2959 | 0 |
|
2960 | 0 | WriteIPDLParam(reply__, this, aValid); |
2961 | 0 | // Sentinel = 'aValid' |
2962 | 0 | (reply__)->WriteSentinel(2510186467); |
2963 | 0 |
|
2964 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2965 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
2966 | 0 | } |
2967 | 0 | return MsgProcessed; |
2968 | 0 | } |
2969 | 0 | case PDocAccessible::Msg_ImagePosition__ID: |
2970 | 0 | { |
2971 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
2972 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2973 | 0 | } |
2974 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ImagePosition", OTHER); |
2975 | 0 |
|
2976 | 0 | PickleIterator iter__(msg__); |
2977 | 0 | uint64_t aID; |
2978 | 0 | uint32_t aCoordType; |
2979 | 0 |
|
2980 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
2981 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2982 | 0 | return MsgValueError; |
2983 | 0 | } |
2984 | 0 | // Sentinel = 'aID' |
2985 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
2986 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2987 | 0 | return MsgValueError; |
2988 | 0 | } |
2989 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCoordType)))))) { |
2990 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2991 | 0 | return MsgValueError; |
2992 | 0 | } |
2993 | 0 | // Sentinel = 'aCoordType' |
2994 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3719390058)))) { |
2995 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2996 | 0 | return MsgValueError; |
2997 | 0 | } |
2998 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
2999 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3000 | 0 | FatalError("Transition error"); |
3001 | 0 | return MsgValueError; |
3002 | 0 | } |
3003 | 0 | int32_t id__ = Id(); |
3004 | 0 | IntPoint aRetVal; |
3005 | 0 | if ((!(RecvImagePosition(aID, aCoordType, (&(aRetVal)))))) { |
3006 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3007 | 0 | // Error handled in mozilla::ipc::IPCResult |
3008 | 0 | return MsgProcessingError; |
3009 | 0 | } |
3010 | 0 | |
3011 | 0 | reply__ = PDocAccessible::Reply_ImagePosition(id__); |
3012 | 0 |
|
3013 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3014 | 0 | // Sentinel = 'aRetVal' |
3015 | 0 | (reply__)->WriteSentinel(4235942908); |
3016 | 0 |
|
3017 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3018 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3019 | 0 | } |
3020 | 0 | return MsgProcessed; |
3021 | 0 | } |
3022 | 0 | case PDocAccessible::Msg_ImageSize__ID: |
3023 | 0 | { |
3024 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3025 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3026 | 0 | } |
3027 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ImageSize", OTHER); |
3028 | 0 |
|
3029 | 0 | PickleIterator iter__(msg__); |
3030 | 0 | uint64_t aID; |
3031 | 0 |
|
3032 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3033 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3034 | 0 | return MsgValueError; |
3035 | 0 | } |
3036 | 0 | // Sentinel = 'aID' |
3037 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3038 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3039 | 0 | return MsgValueError; |
3040 | 0 | } |
3041 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3042 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3043 | 0 | FatalError("Transition error"); |
3044 | 0 | return MsgValueError; |
3045 | 0 | } |
3046 | 0 | int32_t id__ = Id(); |
3047 | 0 | IntSize aRetVal; |
3048 | 0 | if ((!(RecvImageSize(aID, (&(aRetVal)))))) { |
3049 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3050 | 0 | // Error handled in mozilla::ipc::IPCResult |
3051 | 0 | return MsgProcessingError; |
3052 | 0 | } |
3053 | 0 | |
3054 | 0 | reply__ = PDocAccessible::Reply_ImageSize(id__); |
3055 | 0 |
|
3056 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3057 | 0 | // Sentinel = 'aRetVal' |
3058 | 0 | (reply__)->WriteSentinel(4235942908); |
3059 | 0 |
|
3060 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3061 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3062 | 0 | } |
3063 | 0 | return MsgProcessed; |
3064 | 0 | } |
3065 | 0 | case PDocAccessible::Msg_StartOffset__ID: |
3066 | 0 | { |
3067 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3068 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3069 | 0 | } |
3070 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_StartOffset", OTHER); |
3071 | 0 |
|
3072 | 0 | PickleIterator iter__(msg__); |
3073 | 0 | uint64_t aID; |
3074 | 0 |
|
3075 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3076 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3077 | 0 | return MsgValueError; |
3078 | 0 | } |
3079 | 0 | // Sentinel = 'aID' |
3080 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3081 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3082 | 0 | return MsgValueError; |
3083 | 0 | } |
3084 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3085 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3086 | 0 | FatalError("Transition error"); |
3087 | 0 | return MsgValueError; |
3088 | 0 | } |
3089 | 0 | int32_t id__ = Id(); |
3090 | 0 | uint32_t aRetVal; |
3091 | 0 | bool aOk; |
3092 | 0 | if ((!(RecvStartOffset(aID, (&(aRetVal)), (&(aOk)))))) { |
3093 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3094 | 0 | // Error handled in mozilla::ipc::IPCResult |
3095 | 0 | return MsgProcessingError; |
3096 | 0 | } |
3097 | 0 | |
3098 | 0 | reply__ = PDocAccessible::Reply_StartOffset(id__); |
3099 | 0 |
|
3100 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3101 | 0 | // Sentinel = 'aRetVal' |
3102 | 0 | (reply__)->WriteSentinel(4235942908); |
3103 | 0 | WriteIPDLParam(reply__, this, aOk); |
3104 | 0 | // Sentinel = 'aOk' |
3105 | 0 | (reply__)->WriteSentinel(2737042028); |
3106 | 0 |
|
3107 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3108 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3109 | 0 | } |
3110 | 0 | return MsgProcessed; |
3111 | 0 | } |
3112 | 0 | case PDocAccessible::Msg_EndOffset__ID: |
3113 | 0 | { |
3114 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3115 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3116 | 0 | } |
3117 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_EndOffset", OTHER); |
3118 | 0 |
|
3119 | 0 | PickleIterator iter__(msg__); |
3120 | 0 | uint64_t aID; |
3121 | 0 |
|
3122 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3123 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3124 | 0 | return MsgValueError; |
3125 | 0 | } |
3126 | 0 | // Sentinel = 'aID' |
3127 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3128 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3129 | 0 | return MsgValueError; |
3130 | 0 | } |
3131 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3132 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3133 | 0 | FatalError("Transition error"); |
3134 | 0 | return MsgValueError; |
3135 | 0 | } |
3136 | 0 | int32_t id__ = Id(); |
3137 | 0 | uint32_t aRetVal; |
3138 | 0 | bool aOk; |
3139 | 0 | if ((!(RecvEndOffset(aID, (&(aRetVal)), (&(aOk)))))) { |
3140 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3141 | 0 | // Error handled in mozilla::ipc::IPCResult |
3142 | 0 | return MsgProcessingError; |
3143 | 0 | } |
3144 | 0 | |
3145 | 0 | reply__ = PDocAccessible::Reply_EndOffset(id__); |
3146 | 0 |
|
3147 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3148 | 0 | // Sentinel = 'aRetVal' |
3149 | 0 | (reply__)->WriteSentinel(4235942908); |
3150 | 0 | WriteIPDLParam(reply__, this, aOk); |
3151 | 0 | // Sentinel = 'aOk' |
3152 | 0 | (reply__)->WriteSentinel(2737042028); |
3153 | 0 |
|
3154 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3155 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3156 | 0 | } |
3157 | 0 | return MsgProcessed; |
3158 | 0 | } |
3159 | 0 | case PDocAccessible::Msg_IsLinkValid__ID: |
3160 | 0 | { |
3161 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3162 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3163 | 0 | } |
3164 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsLinkValid", OTHER); |
3165 | 0 |
|
3166 | 0 | PickleIterator iter__(msg__); |
3167 | 0 | uint64_t aID; |
3168 | 0 |
|
3169 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3170 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3171 | 0 | return MsgValueError; |
3172 | 0 | } |
3173 | 0 | // Sentinel = 'aID' |
3174 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3175 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3176 | 0 | return MsgValueError; |
3177 | 0 | } |
3178 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3179 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3180 | 0 | FatalError("Transition error"); |
3181 | 0 | return MsgValueError; |
3182 | 0 | } |
3183 | 0 | int32_t id__ = Id(); |
3184 | 0 | bool aRetVal; |
3185 | 0 | if ((!(RecvIsLinkValid(aID, (&(aRetVal)))))) { |
3186 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3187 | 0 | // Error handled in mozilla::ipc::IPCResult |
3188 | 0 | return MsgProcessingError; |
3189 | 0 | } |
3190 | 0 | |
3191 | 0 | reply__ = PDocAccessible::Reply_IsLinkValid(id__); |
3192 | 0 |
|
3193 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3194 | 0 | // Sentinel = 'aRetVal' |
3195 | 0 | (reply__)->WriteSentinel(4235942908); |
3196 | 0 |
|
3197 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3198 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3199 | 0 | } |
3200 | 0 | return MsgProcessed; |
3201 | 0 | } |
3202 | 0 | case PDocAccessible::Msg_AnchorCount__ID: |
3203 | 0 | { |
3204 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3205 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3206 | 0 | } |
3207 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorCount", OTHER); |
3208 | 0 |
|
3209 | 0 | PickleIterator iter__(msg__); |
3210 | 0 | uint64_t aID; |
3211 | 0 |
|
3212 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3213 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3214 | 0 | return MsgValueError; |
3215 | 0 | } |
3216 | 0 | // Sentinel = 'aID' |
3217 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3218 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3219 | 0 | return MsgValueError; |
3220 | 0 | } |
3221 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3222 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3223 | 0 | FatalError("Transition error"); |
3224 | 0 | return MsgValueError; |
3225 | 0 | } |
3226 | 0 | int32_t id__ = Id(); |
3227 | 0 | uint32_t aRetVal; |
3228 | 0 | bool aOk; |
3229 | 0 | if ((!(RecvAnchorCount(aID, (&(aRetVal)), (&(aOk)))))) { |
3230 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3231 | 0 | // Error handled in mozilla::ipc::IPCResult |
3232 | 0 | return MsgProcessingError; |
3233 | 0 | } |
3234 | 0 | |
3235 | 0 | reply__ = PDocAccessible::Reply_AnchorCount(id__); |
3236 | 0 |
|
3237 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
3238 | 0 | // Sentinel = 'aRetVal' |
3239 | 0 | (reply__)->WriteSentinel(4235942908); |
3240 | 0 | WriteIPDLParam(reply__, this, aOk); |
3241 | 0 | // Sentinel = 'aOk' |
3242 | 0 | (reply__)->WriteSentinel(2737042028); |
3243 | 0 |
|
3244 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3245 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3246 | 0 | } |
3247 | 0 | return MsgProcessed; |
3248 | 0 | } |
3249 | 0 | case PDocAccessible::Msg_AnchorURIAt__ID: |
3250 | 0 | { |
3251 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3252 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3253 | 0 | } |
3254 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorURIAt", OTHER); |
3255 | 0 |
|
3256 | 0 | PickleIterator iter__(msg__); |
3257 | 0 | uint64_t aID; |
3258 | 0 | uint32_t aIndex; |
3259 | 0 |
|
3260 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3261 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3262 | 0 | return MsgValueError; |
3263 | 0 | } |
3264 | 0 | // Sentinel = 'aID' |
3265 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3266 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3267 | 0 | return MsgValueError; |
3268 | 0 | } |
3269 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
3270 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3271 | 0 | return MsgValueError; |
3272 | 0 | } |
3273 | 0 | // Sentinel = 'aIndex' |
3274 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3275 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3276 | 0 | return MsgValueError; |
3277 | 0 | } |
3278 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3279 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3280 | 0 | FatalError("Transition error"); |
3281 | 0 | return MsgValueError; |
3282 | 0 | } |
3283 | 0 | int32_t id__ = Id(); |
3284 | 0 | nsCString aURI; |
3285 | 0 | bool aOk; |
3286 | 0 | if ((!(RecvAnchorURIAt(aID, aIndex, (&(aURI)), (&(aOk)))))) { |
3287 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3288 | 0 | // Error handled in mozilla::ipc::IPCResult |
3289 | 0 | return MsgProcessingError; |
3290 | 0 | } |
3291 | 0 | |
3292 | 0 | reply__ = PDocAccessible::Reply_AnchorURIAt(id__); |
3293 | 0 |
|
3294 | 0 | WriteIPDLParam(reply__, this, aURI); |
3295 | 0 | // Sentinel = 'aURI' |
3296 | 0 | (reply__)->WriteSentinel(2075506333); |
3297 | 0 | WriteIPDLParam(reply__, this, aOk); |
3298 | 0 | // Sentinel = 'aOk' |
3299 | 0 | (reply__)->WriteSentinel(2737042028); |
3300 | 0 |
|
3301 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3302 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3303 | 0 | } |
3304 | 0 | return MsgProcessed; |
3305 | 0 | } |
3306 | 0 | case PDocAccessible::Msg_AnchorAt__ID: |
3307 | 0 | { |
3308 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3309 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3310 | 0 | } |
3311 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorAt", OTHER); |
3312 | 0 |
|
3313 | 0 | PickleIterator iter__(msg__); |
3314 | 0 | uint64_t aID; |
3315 | 0 | uint32_t aIndex; |
3316 | 0 |
|
3317 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3318 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3319 | 0 | return MsgValueError; |
3320 | 0 | } |
3321 | 0 | // Sentinel = 'aID' |
3322 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3323 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3324 | 0 | return MsgValueError; |
3325 | 0 | } |
3326 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
3327 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3328 | 0 | return MsgValueError; |
3329 | 0 | } |
3330 | 0 | // Sentinel = 'aIndex' |
3331 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3332 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3333 | 0 | return MsgValueError; |
3334 | 0 | } |
3335 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3336 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3337 | 0 | FatalError("Transition error"); |
3338 | 0 | return MsgValueError; |
3339 | 0 | } |
3340 | 0 | int32_t id__ = Id(); |
3341 | 0 | uint64_t aIDOfAnchor; |
3342 | 0 | bool aOk; |
3343 | 0 | if ((!(RecvAnchorAt(aID, aIndex, (&(aIDOfAnchor)), (&(aOk)))))) { |
3344 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3345 | 0 | // Error handled in mozilla::ipc::IPCResult |
3346 | 0 | return MsgProcessingError; |
3347 | 0 | } |
3348 | 0 | |
3349 | 0 | reply__ = PDocAccessible::Reply_AnchorAt(id__); |
3350 | 0 |
|
3351 | 0 | WriteIPDLParam(reply__, this, aIDOfAnchor); |
3352 | 0 | // Sentinel = 'aIDOfAnchor' |
3353 | 0 | (reply__)->WriteSentinel(3054087993); |
3354 | 0 | WriteIPDLParam(reply__, this, aOk); |
3355 | 0 | // Sentinel = 'aOk' |
3356 | 0 | (reply__)->WriteSentinel(2737042028); |
3357 | 0 |
|
3358 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3359 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3360 | 0 | } |
3361 | 0 | return MsgProcessed; |
3362 | 0 | } |
3363 | 0 | case PDocAccessible::Msg_LinkCount__ID: |
3364 | 0 | { |
3365 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3366 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3367 | 0 | } |
3368 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkCount", OTHER); |
3369 | 0 |
|
3370 | 0 | PickleIterator iter__(msg__); |
3371 | 0 | uint64_t aID; |
3372 | 0 |
|
3373 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3374 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3375 | 0 | return MsgValueError; |
3376 | 0 | } |
3377 | 0 | // Sentinel = 'aID' |
3378 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3379 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3380 | 0 | return MsgValueError; |
3381 | 0 | } |
3382 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3383 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3384 | 0 | FatalError("Transition error"); |
3385 | 0 | return MsgValueError; |
3386 | 0 | } |
3387 | 0 | int32_t id__ = Id(); |
3388 | 0 | uint32_t aCount; |
3389 | 0 | if ((!(RecvLinkCount(aID, (&(aCount)))))) { |
3390 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3391 | 0 | // Error handled in mozilla::ipc::IPCResult |
3392 | 0 | return MsgProcessingError; |
3393 | 0 | } |
3394 | 0 | |
3395 | 0 | reply__ = PDocAccessible::Reply_LinkCount(id__); |
3396 | 0 |
|
3397 | 0 | WriteIPDLParam(reply__, this, aCount); |
3398 | 0 | // Sentinel = 'aCount' |
3399 | 0 | (reply__)->WriteSentinel(2344199296); |
3400 | 0 |
|
3401 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3402 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3403 | 0 | } |
3404 | 0 | return MsgProcessed; |
3405 | 0 | } |
3406 | 0 | case PDocAccessible::Msg_LinkAt__ID: |
3407 | 0 | { |
3408 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3409 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3410 | 0 | } |
3411 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkAt", OTHER); |
3412 | 0 |
|
3413 | 0 | PickleIterator iter__(msg__); |
3414 | 0 | uint64_t aID; |
3415 | 0 | uint32_t aIndex; |
3416 | 0 |
|
3417 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3418 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3419 | 0 | return MsgValueError; |
3420 | 0 | } |
3421 | 0 | // Sentinel = 'aID' |
3422 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3423 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3424 | 0 | return MsgValueError; |
3425 | 0 | } |
3426 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
3427 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3428 | 0 | return MsgValueError; |
3429 | 0 | } |
3430 | 0 | // Sentinel = 'aIndex' |
3431 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3432 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3433 | 0 | return MsgValueError; |
3434 | 0 | } |
3435 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3436 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3437 | 0 | FatalError("Transition error"); |
3438 | 0 | return MsgValueError; |
3439 | 0 | } |
3440 | 0 | int32_t id__ = Id(); |
3441 | 0 | uint64_t aIDOfLink; |
3442 | 0 | bool aOk; |
3443 | 0 | if ((!(RecvLinkAt(aID, aIndex, (&(aIDOfLink)), (&(aOk)))))) { |
3444 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3445 | 0 | // Error handled in mozilla::ipc::IPCResult |
3446 | 0 | return MsgProcessingError; |
3447 | 0 | } |
3448 | 0 | |
3449 | 0 | reply__ = PDocAccessible::Reply_LinkAt(id__); |
3450 | 0 |
|
3451 | 0 | WriteIPDLParam(reply__, this, aIDOfLink); |
3452 | 0 | // Sentinel = 'aIDOfLink' |
3453 | 0 | (reply__)->WriteSentinel(915366984); |
3454 | 0 | WriteIPDLParam(reply__, this, aOk); |
3455 | 0 | // Sentinel = 'aOk' |
3456 | 0 | (reply__)->WriteSentinel(2737042028); |
3457 | 0 |
|
3458 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3459 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3460 | 0 | } |
3461 | 0 | return MsgProcessed; |
3462 | 0 | } |
3463 | 0 | case PDocAccessible::Msg_LinkIndexOf__ID: |
3464 | 0 | { |
3465 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3466 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3467 | 0 | } |
3468 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkIndexOf", OTHER); |
3469 | 0 |
|
3470 | 0 | PickleIterator iter__(msg__); |
3471 | 0 | uint64_t aID; |
3472 | 0 | uint64_t aLinkID; |
3473 | 0 |
|
3474 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3475 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3476 | 0 | return MsgValueError; |
3477 | 0 | } |
3478 | 0 | // Sentinel = 'aID' |
3479 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3480 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3481 | 0 | return MsgValueError; |
3482 | 0 | } |
3483 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aLinkID)))))) { |
3484 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3485 | 0 | return MsgValueError; |
3486 | 0 | } |
3487 | 0 | // Sentinel = 'aLinkID' |
3488 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4101703593)))) { |
3489 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3490 | 0 | return MsgValueError; |
3491 | 0 | } |
3492 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3493 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3494 | 0 | FatalError("Transition error"); |
3495 | 0 | return MsgValueError; |
3496 | 0 | } |
3497 | 0 | int32_t id__ = Id(); |
3498 | 0 | int32_t aIndex; |
3499 | 0 | if ((!(RecvLinkIndexOf(aID, aLinkID, (&(aIndex)))))) { |
3500 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3501 | 0 | // Error handled in mozilla::ipc::IPCResult |
3502 | 0 | return MsgProcessingError; |
3503 | 0 | } |
3504 | 0 | |
3505 | 0 | reply__ = PDocAccessible::Reply_LinkIndexOf(id__); |
3506 | 0 |
|
3507 | 0 | WriteIPDLParam(reply__, this, aIndex); |
3508 | 0 | // Sentinel = 'aIndex' |
3509 | 0 | (reply__)->WriteSentinel(3511194741); |
3510 | 0 |
|
3511 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3512 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3513 | 0 | } |
3514 | 0 | return MsgProcessed; |
3515 | 0 | } |
3516 | 0 | case PDocAccessible::Msg_LinkIndexAtOffset__ID: |
3517 | 0 | { |
3518 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3519 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3520 | 0 | } |
3521 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkIndexAtOffset", OTHER); |
3522 | 0 |
|
3523 | 0 | PickleIterator iter__(msg__); |
3524 | 0 | uint64_t aID; |
3525 | 0 | uint32_t aOffset; |
3526 | 0 |
|
3527 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3528 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3529 | 0 | return MsgValueError; |
3530 | 0 | } |
3531 | 0 | // Sentinel = 'aID' |
3532 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3533 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3534 | 0 | return MsgValueError; |
3535 | 0 | } |
3536 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
3537 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3538 | 0 | return MsgValueError; |
3539 | 0 | } |
3540 | 0 | // Sentinel = 'aOffset' |
3541 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
3542 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3543 | 0 | return MsgValueError; |
3544 | 0 | } |
3545 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3546 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3547 | 0 | FatalError("Transition error"); |
3548 | 0 | return MsgValueError; |
3549 | 0 | } |
3550 | 0 | int32_t id__ = Id(); |
3551 | 0 | int32_t aIndex; |
3552 | 0 | if ((!(RecvLinkIndexAtOffset(aID, aOffset, (&(aIndex)))))) { |
3553 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3554 | 0 | // Error handled in mozilla::ipc::IPCResult |
3555 | 0 | return MsgProcessingError; |
3556 | 0 | } |
3557 | 0 | |
3558 | 0 | reply__ = PDocAccessible::Reply_LinkIndexAtOffset(id__); |
3559 | 0 |
|
3560 | 0 | WriteIPDLParam(reply__, this, aIndex); |
3561 | 0 | // Sentinel = 'aIndex' |
3562 | 0 | (reply__)->WriteSentinel(3511194741); |
3563 | 0 |
|
3564 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3565 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3566 | 0 | } |
3567 | 0 | return MsgProcessed; |
3568 | 0 | } |
3569 | 0 | case PDocAccessible::Msg_TableOfACell__ID: |
3570 | 0 | { |
3571 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3572 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3573 | 0 | } |
3574 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableOfACell", OTHER); |
3575 | 0 |
|
3576 | 0 | PickleIterator iter__(msg__); |
3577 | 0 | uint64_t aID; |
3578 | 0 |
|
3579 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3580 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3581 | 0 | return MsgValueError; |
3582 | 0 | } |
3583 | 0 | // Sentinel = 'aID' |
3584 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3585 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3586 | 0 | return MsgValueError; |
3587 | 0 | } |
3588 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3589 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3590 | 0 | FatalError("Transition error"); |
3591 | 0 | return MsgValueError; |
3592 | 0 | } |
3593 | 0 | int32_t id__ = Id(); |
3594 | 0 | uint64_t aTableID; |
3595 | 0 | bool aOk; |
3596 | 0 | if ((!(RecvTableOfACell(aID, (&(aTableID)), (&(aOk)))))) { |
3597 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3598 | 0 | // Error handled in mozilla::ipc::IPCResult |
3599 | 0 | return MsgProcessingError; |
3600 | 0 | } |
3601 | 0 | |
3602 | 0 | reply__ = PDocAccessible::Reply_TableOfACell(id__); |
3603 | 0 |
|
3604 | 0 | WriteIPDLParam(reply__, this, aTableID); |
3605 | 0 | // Sentinel = 'aTableID' |
3606 | 0 | (reply__)->WriteSentinel(333025064); |
3607 | 0 | WriteIPDLParam(reply__, this, aOk); |
3608 | 0 | // Sentinel = 'aOk' |
3609 | 0 | (reply__)->WriteSentinel(2737042028); |
3610 | 0 |
|
3611 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3612 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3613 | 0 | } |
3614 | 0 | return MsgProcessed; |
3615 | 0 | } |
3616 | 0 | case PDocAccessible::Msg_ColIdx__ID: |
3617 | 0 | { |
3618 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3619 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3620 | 0 | } |
3621 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColIdx", OTHER); |
3622 | 0 |
|
3623 | 0 | PickleIterator iter__(msg__); |
3624 | 0 | uint64_t aID; |
3625 | 0 |
|
3626 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3627 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3628 | 0 | return MsgValueError; |
3629 | 0 | } |
3630 | 0 | // Sentinel = 'aID' |
3631 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3632 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3633 | 0 | return MsgValueError; |
3634 | 0 | } |
3635 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3636 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3637 | 0 | FatalError("Transition error"); |
3638 | 0 | return MsgValueError; |
3639 | 0 | } |
3640 | 0 | int32_t id__ = Id(); |
3641 | 0 | uint32_t aIndex; |
3642 | 0 | if ((!(RecvColIdx(aID, (&(aIndex)))))) { |
3643 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3644 | 0 | // Error handled in mozilla::ipc::IPCResult |
3645 | 0 | return MsgProcessingError; |
3646 | 0 | } |
3647 | 0 | |
3648 | 0 | reply__ = PDocAccessible::Reply_ColIdx(id__); |
3649 | 0 |
|
3650 | 0 | WriteIPDLParam(reply__, this, aIndex); |
3651 | 0 | // Sentinel = 'aIndex' |
3652 | 0 | (reply__)->WriteSentinel(3511194741); |
3653 | 0 |
|
3654 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3655 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3656 | 0 | } |
3657 | 0 | return MsgProcessed; |
3658 | 0 | } |
3659 | 0 | case PDocAccessible::Msg_RowIdx__ID: |
3660 | 0 | { |
3661 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3662 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3663 | 0 | } |
3664 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowIdx", OTHER); |
3665 | 0 |
|
3666 | 0 | PickleIterator iter__(msg__); |
3667 | 0 | uint64_t aID; |
3668 | 0 |
|
3669 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3670 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3671 | 0 | return MsgValueError; |
3672 | 0 | } |
3673 | 0 | // Sentinel = 'aID' |
3674 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3675 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3676 | 0 | return MsgValueError; |
3677 | 0 | } |
3678 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3679 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3680 | 0 | FatalError("Transition error"); |
3681 | 0 | return MsgValueError; |
3682 | 0 | } |
3683 | 0 | int32_t id__ = Id(); |
3684 | 0 | uint32_t aIndex; |
3685 | 0 | if ((!(RecvRowIdx(aID, (&(aIndex)))))) { |
3686 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3687 | 0 | // Error handled in mozilla::ipc::IPCResult |
3688 | 0 | return MsgProcessingError; |
3689 | 0 | } |
3690 | 0 | |
3691 | 0 | reply__ = PDocAccessible::Reply_RowIdx(id__); |
3692 | 0 |
|
3693 | 0 | WriteIPDLParam(reply__, this, aIndex); |
3694 | 0 | // Sentinel = 'aIndex' |
3695 | 0 | (reply__)->WriteSentinel(3511194741); |
3696 | 0 |
|
3697 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3698 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3699 | 0 | } |
3700 | 0 | return MsgProcessed; |
3701 | 0 | } |
3702 | 0 | case PDocAccessible::Msg_GetPosition__ID: |
3703 | 0 | { |
3704 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3705 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3706 | 0 | } |
3707 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetPosition", OTHER); |
3708 | 0 |
|
3709 | 0 | PickleIterator iter__(msg__); |
3710 | 0 | uint64_t aID; |
3711 | 0 |
|
3712 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3713 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3714 | 0 | return MsgValueError; |
3715 | 0 | } |
3716 | 0 | // Sentinel = 'aID' |
3717 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3718 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3719 | 0 | return MsgValueError; |
3720 | 0 | } |
3721 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3722 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3723 | 0 | FatalError("Transition error"); |
3724 | 0 | return MsgValueError; |
3725 | 0 | } |
3726 | 0 | int32_t id__ = Id(); |
3727 | 0 | uint32_t aRow; |
3728 | 0 | uint32_t aCol; |
3729 | 0 | if ((!(RecvGetPosition(aID, (&(aRow)), (&(aCol)))))) { |
3730 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3731 | 0 | // Error handled in mozilla::ipc::IPCResult |
3732 | 0 | return MsgProcessingError; |
3733 | 0 | } |
3734 | 0 | |
3735 | 0 | reply__ = PDocAccessible::Reply_GetPosition(id__); |
3736 | 0 |
|
3737 | 0 | WriteIPDLParam(reply__, this, aRow); |
3738 | 0 | // Sentinel = 'aRow' |
3739 | 0 | (reply__)->WriteSentinel(1286438599); |
3740 | 0 | WriteIPDLParam(reply__, this, aCol); |
3741 | 0 | // Sentinel = 'aCol' |
3742 | 0 | (reply__)->WriteSentinel(606995717); |
3743 | 0 |
|
3744 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3745 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3746 | 0 | } |
3747 | 0 | return MsgProcessed; |
3748 | 0 | } |
3749 | 0 | case PDocAccessible::Msg_ColExtent__ID: |
3750 | 0 | { |
3751 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3752 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3753 | 0 | } |
3754 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColExtent", OTHER); |
3755 | 0 |
|
3756 | 0 | PickleIterator iter__(msg__); |
3757 | 0 | uint64_t aID; |
3758 | 0 |
|
3759 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3760 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3761 | 0 | return MsgValueError; |
3762 | 0 | } |
3763 | 0 | // Sentinel = 'aID' |
3764 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3765 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3766 | 0 | return MsgValueError; |
3767 | 0 | } |
3768 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3769 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3770 | 0 | FatalError("Transition error"); |
3771 | 0 | return MsgValueError; |
3772 | 0 | } |
3773 | 0 | int32_t id__ = Id(); |
3774 | 0 | uint32_t aExtent; |
3775 | 0 | if ((!(RecvColExtent(aID, (&(aExtent)))))) { |
3776 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3777 | 0 | // Error handled in mozilla::ipc::IPCResult |
3778 | 0 | return MsgProcessingError; |
3779 | 0 | } |
3780 | 0 | |
3781 | 0 | reply__ = PDocAccessible::Reply_ColExtent(id__); |
3782 | 0 |
|
3783 | 0 | WriteIPDLParam(reply__, this, aExtent); |
3784 | 0 | // Sentinel = 'aExtent' |
3785 | 0 | (reply__)->WriteSentinel(2688935310); |
3786 | 0 |
|
3787 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3788 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3789 | 0 | } |
3790 | 0 | return MsgProcessed; |
3791 | 0 | } |
3792 | 0 | case PDocAccessible::Msg_RowExtent__ID: |
3793 | 0 | { |
3794 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3795 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3796 | 0 | } |
3797 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowExtent", OTHER); |
3798 | 0 |
|
3799 | 0 | PickleIterator iter__(msg__); |
3800 | 0 | uint64_t aID; |
3801 | 0 |
|
3802 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3803 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3804 | 0 | return MsgValueError; |
3805 | 0 | } |
3806 | 0 | // Sentinel = 'aID' |
3807 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3808 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3809 | 0 | return MsgValueError; |
3810 | 0 | } |
3811 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3812 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3813 | 0 | FatalError("Transition error"); |
3814 | 0 | return MsgValueError; |
3815 | 0 | } |
3816 | 0 | int32_t id__ = Id(); |
3817 | 0 | uint32_t aExtent; |
3818 | 0 | if ((!(RecvRowExtent(aID, (&(aExtent)))))) { |
3819 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3820 | 0 | // Error handled in mozilla::ipc::IPCResult |
3821 | 0 | return MsgProcessingError; |
3822 | 0 | } |
3823 | 0 | |
3824 | 0 | reply__ = PDocAccessible::Reply_RowExtent(id__); |
3825 | 0 |
|
3826 | 0 | WriteIPDLParam(reply__, this, aExtent); |
3827 | 0 | // Sentinel = 'aExtent' |
3828 | 0 | (reply__)->WriteSentinel(2688935310); |
3829 | 0 |
|
3830 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3831 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3832 | 0 | } |
3833 | 0 | return MsgProcessed; |
3834 | 0 | } |
3835 | 0 | case PDocAccessible::Msg_GetColRowExtents__ID: |
3836 | 0 | { |
3837 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3838 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3839 | 0 | } |
3840 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetColRowExtents", OTHER); |
3841 | 0 |
|
3842 | 0 | PickleIterator iter__(msg__); |
3843 | 0 | uint64_t aID; |
3844 | 0 |
|
3845 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3846 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3847 | 0 | return MsgValueError; |
3848 | 0 | } |
3849 | 0 | // Sentinel = 'aID' |
3850 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3851 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3852 | 0 | return MsgValueError; |
3853 | 0 | } |
3854 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3855 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3856 | 0 | FatalError("Transition error"); |
3857 | 0 | return MsgValueError; |
3858 | 0 | } |
3859 | 0 | int32_t id__ = Id(); |
3860 | 0 | uint32_t aCol; |
3861 | 0 | uint32_t aRow; |
3862 | 0 | uint32_t aColExtent; |
3863 | 0 | uint32_t aRowExtent; |
3864 | 0 | if ((!(RecvGetColRowExtents(aID, (&(aCol)), (&(aRow)), (&(aColExtent)), (&(aRowExtent)))))) { |
3865 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3866 | 0 | // Error handled in mozilla::ipc::IPCResult |
3867 | 0 | return MsgProcessingError; |
3868 | 0 | } |
3869 | 0 | |
3870 | 0 | reply__ = PDocAccessible::Reply_GetColRowExtents(id__); |
3871 | 0 |
|
3872 | 0 | WriteIPDLParam(reply__, this, aCol); |
3873 | 0 | // Sentinel = 'aCol' |
3874 | 0 | (reply__)->WriteSentinel(606995717); |
3875 | 0 | WriteIPDLParam(reply__, this, aRow); |
3876 | 0 | // Sentinel = 'aRow' |
3877 | 0 | (reply__)->WriteSentinel(1286438599); |
3878 | 0 | WriteIPDLParam(reply__, this, aColExtent); |
3879 | 0 | // Sentinel = 'aColExtent' |
3880 | 0 | (reply__)->WriteSentinel(3232202595); |
3881 | 0 | WriteIPDLParam(reply__, this, aRowExtent); |
3882 | 0 | // Sentinel = 'aRowExtent' |
3883 | 0 | (reply__)->WriteSentinel(3757458781); |
3884 | 0 |
|
3885 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3886 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3887 | 0 | } |
3888 | 0 | return MsgProcessed; |
3889 | 0 | } |
3890 | 0 | case PDocAccessible::Msg_ColHeaderCells__ID: |
3891 | 0 | { |
3892 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3893 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3894 | 0 | } |
3895 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColHeaderCells", OTHER); |
3896 | 0 |
|
3897 | 0 | PickleIterator iter__(msg__); |
3898 | 0 | uint64_t aID; |
3899 | 0 |
|
3900 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3901 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3902 | 0 | return MsgValueError; |
3903 | 0 | } |
3904 | 0 | // Sentinel = 'aID' |
3905 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3906 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3907 | 0 | return MsgValueError; |
3908 | 0 | } |
3909 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3910 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3911 | 0 | FatalError("Transition error"); |
3912 | 0 | return MsgValueError; |
3913 | 0 | } |
3914 | 0 | int32_t id__ = Id(); |
3915 | 0 | nsTArray<uint64_t> aCells; |
3916 | 0 | if ((!(RecvColHeaderCells(aID, (&(aCells)))))) { |
3917 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3918 | 0 | // Error handled in mozilla::ipc::IPCResult |
3919 | 0 | return MsgProcessingError; |
3920 | 0 | } |
3921 | 0 | |
3922 | 0 | reply__ = PDocAccessible::Reply_ColHeaderCells(id__); |
3923 | 0 |
|
3924 | 0 | WriteIPDLParam(reply__, this, aCells); |
3925 | 0 | // Sentinel = 'aCells' |
3926 | 0 | (reply__)->WriteSentinel(1350396922); |
3927 | 0 |
|
3928 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3929 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3930 | 0 | } |
3931 | 0 | return MsgProcessed; |
3932 | 0 | } |
3933 | 0 | case PDocAccessible::Msg_RowHeaderCells__ID: |
3934 | 0 | { |
3935 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3936 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3937 | 0 | } |
3938 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowHeaderCells", OTHER); |
3939 | 0 |
|
3940 | 0 | PickleIterator iter__(msg__); |
3941 | 0 | uint64_t aID; |
3942 | 0 |
|
3943 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3944 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3945 | 0 | return MsgValueError; |
3946 | 0 | } |
3947 | 0 | // Sentinel = 'aID' |
3948 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3949 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3950 | 0 | return MsgValueError; |
3951 | 0 | } |
3952 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3953 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3954 | 0 | FatalError("Transition error"); |
3955 | 0 | return MsgValueError; |
3956 | 0 | } |
3957 | 0 | int32_t id__ = Id(); |
3958 | 0 | nsTArray<uint64_t> aCells; |
3959 | 0 | if ((!(RecvRowHeaderCells(aID, (&(aCells)))))) { |
3960 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
3961 | 0 | // Error handled in mozilla::ipc::IPCResult |
3962 | 0 | return MsgProcessingError; |
3963 | 0 | } |
3964 | 0 | |
3965 | 0 | reply__ = PDocAccessible::Reply_RowHeaderCells(id__); |
3966 | 0 |
|
3967 | 0 | WriteIPDLParam(reply__, this, aCells); |
3968 | 0 | // Sentinel = 'aCells' |
3969 | 0 | (reply__)->WriteSentinel(1350396922); |
3970 | 0 |
|
3971 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3972 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
3973 | 0 | } |
3974 | 0 | return MsgProcessed; |
3975 | 0 | } |
3976 | 0 | case PDocAccessible::Msg_IsCellSelected__ID: |
3977 | 0 | { |
3978 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
3979 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3980 | 0 | } |
3981 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsCellSelected", OTHER); |
3982 | 0 |
|
3983 | 0 | PickleIterator iter__(msg__); |
3984 | 0 | uint64_t aID; |
3985 | 0 |
|
3986 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
3987 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3988 | 0 | return MsgValueError; |
3989 | 0 | } |
3990 | 0 | // Sentinel = 'aID' |
3991 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
3992 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3993 | 0 | return MsgValueError; |
3994 | 0 | } |
3995 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
3996 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3997 | 0 | FatalError("Transition error"); |
3998 | 0 | return MsgValueError; |
3999 | 0 | } |
4000 | 0 | int32_t id__ = Id(); |
4001 | 0 | bool aSelected; |
4002 | 0 | if ((!(RecvIsCellSelected(aID, (&(aSelected)))))) { |
4003 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4004 | 0 | // Error handled in mozilla::ipc::IPCResult |
4005 | 0 | return MsgProcessingError; |
4006 | 0 | } |
4007 | 0 | |
4008 | 0 | reply__ = PDocAccessible::Reply_IsCellSelected(id__); |
4009 | 0 |
|
4010 | 0 | WriteIPDLParam(reply__, this, aSelected); |
4011 | 0 | // Sentinel = 'aSelected' |
4012 | 0 | (reply__)->WriteSentinel(1712258447); |
4013 | 0 |
|
4014 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4015 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4016 | 0 | } |
4017 | 0 | return MsgProcessed; |
4018 | 0 | } |
4019 | 0 | case PDocAccessible::Msg_TableCaption__ID: |
4020 | 0 | { |
4021 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4022 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4023 | 0 | } |
4024 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCaption", OTHER); |
4025 | 0 |
|
4026 | 0 | PickleIterator iter__(msg__); |
4027 | 0 | uint64_t aID; |
4028 | 0 |
|
4029 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4030 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4031 | 0 | return MsgValueError; |
4032 | 0 | } |
4033 | 0 | // Sentinel = 'aID' |
4034 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4035 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4036 | 0 | return MsgValueError; |
4037 | 0 | } |
4038 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4039 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4040 | 0 | FatalError("Transition error"); |
4041 | 0 | return MsgValueError; |
4042 | 0 | } |
4043 | 0 | int32_t id__ = Id(); |
4044 | 0 | uint64_t aCaptionID; |
4045 | 0 | bool aOk; |
4046 | 0 | if ((!(RecvTableCaption(aID, (&(aCaptionID)), (&(aOk)))))) { |
4047 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4048 | 0 | // Error handled in mozilla::ipc::IPCResult |
4049 | 0 | return MsgProcessingError; |
4050 | 0 | } |
4051 | 0 | |
4052 | 0 | reply__ = PDocAccessible::Reply_TableCaption(id__); |
4053 | 0 |
|
4054 | 0 | WriteIPDLParam(reply__, this, aCaptionID); |
4055 | 0 | // Sentinel = 'aCaptionID' |
4056 | 0 | (reply__)->WriteSentinel(2559797456); |
4057 | 0 | WriteIPDLParam(reply__, this, aOk); |
4058 | 0 | // Sentinel = 'aOk' |
4059 | 0 | (reply__)->WriteSentinel(2737042028); |
4060 | 0 |
|
4061 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4062 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4063 | 0 | } |
4064 | 0 | return MsgProcessed; |
4065 | 0 | } |
4066 | 0 | case PDocAccessible::Msg_TableSummary__ID: |
4067 | 0 | { |
4068 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4069 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4070 | 0 | } |
4071 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSummary", OTHER); |
4072 | 0 |
|
4073 | 0 | PickleIterator iter__(msg__); |
4074 | 0 | uint64_t aID; |
4075 | 0 |
|
4076 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4077 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4078 | 0 | return MsgValueError; |
4079 | 0 | } |
4080 | 0 | // Sentinel = 'aID' |
4081 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4082 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4083 | 0 | return MsgValueError; |
4084 | 0 | } |
4085 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4086 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4087 | 0 | FatalError("Transition error"); |
4088 | 0 | return MsgValueError; |
4089 | 0 | } |
4090 | 0 | int32_t id__ = Id(); |
4091 | 0 | nsString aSummary; |
4092 | 0 | if ((!(RecvTableSummary(aID, (&(aSummary)))))) { |
4093 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4094 | 0 | // Error handled in mozilla::ipc::IPCResult |
4095 | 0 | return MsgProcessingError; |
4096 | 0 | } |
4097 | 0 | |
4098 | 0 | reply__ = PDocAccessible::Reply_TableSummary(id__); |
4099 | 0 |
|
4100 | 0 | WriteIPDLParam(reply__, this, aSummary); |
4101 | 0 | // Sentinel = 'aSummary' |
4102 | 0 | (reply__)->WriteSentinel(1147077767); |
4103 | 0 |
|
4104 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4105 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4106 | 0 | } |
4107 | 0 | return MsgProcessed; |
4108 | 0 | } |
4109 | 0 | case PDocAccessible::Msg_TableColumnCount__ID: |
4110 | 0 | { |
4111 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4112 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4113 | 0 | } |
4114 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnCount", OTHER); |
4115 | 0 |
|
4116 | 0 | PickleIterator iter__(msg__); |
4117 | 0 | uint64_t aID; |
4118 | 0 |
|
4119 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4120 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4121 | 0 | return MsgValueError; |
4122 | 0 | } |
4123 | 0 | // Sentinel = 'aID' |
4124 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4125 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4126 | 0 | return MsgValueError; |
4127 | 0 | } |
4128 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4129 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4130 | 0 | FatalError("Transition error"); |
4131 | 0 | return MsgValueError; |
4132 | 0 | } |
4133 | 0 | int32_t id__ = Id(); |
4134 | 0 | uint32_t aColCount; |
4135 | 0 | if ((!(RecvTableColumnCount(aID, (&(aColCount)))))) { |
4136 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4137 | 0 | // Error handled in mozilla::ipc::IPCResult |
4138 | 0 | return MsgProcessingError; |
4139 | 0 | } |
4140 | 0 | |
4141 | 0 | reply__ = PDocAccessible::Reply_TableColumnCount(id__); |
4142 | 0 |
|
4143 | 0 | WriteIPDLParam(reply__, this, aColCount); |
4144 | 0 | // Sentinel = 'aColCount' |
4145 | 0 | (reply__)->WriteSentinel(4099895023); |
4146 | 0 |
|
4147 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4148 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4149 | 0 | } |
4150 | 0 | return MsgProcessed; |
4151 | 0 | } |
4152 | 0 | case PDocAccessible::Msg_TableRowCount__ID: |
4153 | 0 | { |
4154 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4155 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4156 | 0 | } |
4157 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowCount", OTHER); |
4158 | 0 |
|
4159 | 0 | PickleIterator iter__(msg__); |
4160 | 0 | uint64_t aID; |
4161 | 0 |
|
4162 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4163 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4164 | 0 | return MsgValueError; |
4165 | 0 | } |
4166 | 0 | // Sentinel = 'aID' |
4167 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4168 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4169 | 0 | return MsgValueError; |
4170 | 0 | } |
4171 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4172 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4173 | 0 | FatalError("Transition error"); |
4174 | 0 | return MsgValueError; |
4175 | 0 | } |
4176 | 0 | int32_t id__ = Id(); |
4177 | 0 | uint32_t aRowCount; |
4178 | 0 | if ((!(RecvTableRowCount(aID, (&(aRowCount)))))) { |
4179 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4180 | 0 | // Error handled in mozilla::ipc::IPCResult |
4181 | 0 | return MsgProcessingError; |
4182 | 0 | } |
4183 | 0 | |
4184 | 0 | reply__ = PDocAccessible::Reply_TableRowCount(id__); |
4185 | 0 |
|
4186 | 0 | WriteIPDLParam(reply__, this, aRowCount); |
4187 | 0 | // Sentinel = 'aRowCount' |
4188 | 0 | (reply__)->WriteSentinel(3376726569); |
4189 | 0 |
|
4190 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4191 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4192 | 0 | } |
4193 | 0 | return MsgProcessed; |
4194 | 0 | } |
4195 | 0 | case PDocAccessible::Msg_TableCellAt__ID: |
4196 | 0 | { |
4197 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4198 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4199 | 0 | } |
4200 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellAt", OTHER); |
4201 | 0 |
|
4202 | 0 | PickleIterator iter__(msg__); |
4203 | 0 | uint64_t aID; |
4204 | 0 | uint32_t aRow; |
4205 | 0 | uint32_t aCol; |
4206 | 0 |
|
4207 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4208 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4209 | 0 | return MsgValueError; |
4210 | 0 | } |
4211 | 0 | // Sentinel = 'aID' |
4212 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4213 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4214 | 0 | return MsgValueError; |
4215 | 0 | } |
4216 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4217 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4218 | 0 | return MsgValueError; |
4219 | 0 | } |
4220 | 0 | // Sentinel = 'aRow' |
4221 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4222 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4223 | 0 | return MsgValueError; |
4224 | 0 | } |
4225 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4226 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4227 | 0 | return MsgValueError; |
4228 | 0 | } |
4229 | 0 | // Sentinel = 'aCol' |
4230 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4231 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4232 | 0 | return MsgValueError; |
4233 | 0 | } |
4234 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4235 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4236 | 0 | FatalError("Transition error"); |
4237 | 0 | return MsgValueError; |
4238 | 0 | } |
4239 | 0 | int32_t id__ = Id(); |
4240 | 0 | uint64_t aCellID; |
4241 | 0 | bool aOk; |
4242 | 0 | if ((!(RecvTableCellAt(aID, aRow, aCol, (&(aCellID)), (&(aOk)))))) { |
4243 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4244 | 0 | // Error handled in mozilla::ipc::IPCResult |
4245 | 0 | return MsgProcessingError; |
4246 | 0 | } |
4247 | 0 | |
4248 | 0 | reply__ = PDocAccessible::Reply_TableCellAt(id__); |
4249 | 0 |
|
4250 | 0 | WriteIPDLParam(reply__, this, aCellID); |
4251 | 0 | // Sentinel = 'aCellID' |
4252 | 0 | (reply__)->WriteSentinel(3073786001); |
4253 | 0 | WriteIPDLParam(reply__, this, aOk); |
4254 | 0 | // Sentinel = 'aOk' |
4255 | 0 | (reply__)->WriteSentinel(2737042028); |
4256 | 0 |
|
4257 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4258 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4259 | 0 | } |
4260 | 0 | return MsgProcessed; |
4261 | 0 | } |
4262 | 0 | case PDocAccessible::Msg_TableCellIndexAt__ID: |
4263 | 0 | { |
4264 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4265 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4266 | 0 | } |
4267 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellIndexAt", OTHER); |
4268 | 0 |
|
4269 | 0 | PickleIterator iter__(msg__); |
4270 | 0 | uint64_t aID; |
4271 | 0 | uint32_t aRow; |
4272 | 0 | uint32_t aCol; |
4273 | 0 |
|
4274 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4275 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4276 | 0 | return MsgValueError; |
4277 | 0 | } |
4278 | 0 | // Sentinel = 'aID' |
4279 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4280 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4281 | 0 | return MsgValueError; |
4282 | 0 | } |
4283 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4284 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4285 | 0 | return MsgValueError; |
4286 | 0 | } |
4287 | 0 | // Sentinel = 'aRow' |
4288 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4289 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4290 | 0 | return MsgValueError; |
4291 | 0 | } |
4292 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4293 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4294 | 0 | return MsgValueError; |
4295 | 0 | } |
4296 | 0 | // Sentinel = 'aCol' |
4297 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4298 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4299 | 0 | return MsgValueError; |
4300 | 0 | } |
4301 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4302 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4303 | 0 | FatalError("Transition error"); |
4304 | 0 | return MsgValueError; |
4305 | 0 | } |
4306 | 0 | int32_t id__ = Id(); |
4307 | 0 | int32_t aIndex; |
4308 | 0 | if ((!(RecvTableCellIndexAt(aID, aRow, aCol, (&(aIndex)))))) { |
4309 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4310 | 0 | // Error handled in mozilla::ipc::IPCResult |
4311 | 0 | return MsgProcessingError; |
4312 | 0 | } |
4313 | 0 | |
4314 | 0 | reply__ = PDocAccessible::Reply_TableCellIndexAt(id__); |
4315 | 0 |
|
4316 | 0 | WriteIPDLParam(reply__, this, aIndex); |
4317 | 0 | // Sentinel = 'aIndex' |
4318 | 0 | (reply__)->WriteSentinel(3511194741); |
4319 | 0 |
|
4320 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4321 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4322 | 0 | } |
4323 | 0 | return MsgProcessed; |
4324 | 0 | } |
4325 | 0 | case PDocAccessible::Msg_TableColumnIndexAt__ID: |
4326 | 0 | { |
4327 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4328 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4329 | 0 | } |
4330 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnIndexAt", OTHER); |
4331 | 0 |
|
4332 | 0 | PickleIterator iter__(msg__); |
4333 | 0 | uint64_t aID; |
4334 | 0 | uint32_t aCellIndex; |
4335 | 0 |
|
4336 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4337 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4338 | 0 | return MsgValueError; |
4339 | 0 | } |
4340 | 0 | // Sentinel = 'aID' |
4341 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4342 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4343 | 0 | return MsgValueError; |
4344 | 0 | } |
4345 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCellIndex)))))) { |
4346 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4347 | 0 | return MsgValueError; |
4348 | 0 | } |
4349 | 0 | // Sentinel = 'aCellIndex' |
4350 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2080431501)))) { |
4351 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4352 | 0 | return MsgValueError; |
4353 | 0 | } |
4354 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4355 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4356 | 0 | FatalError("Transition error"); |
4357 | 0 | return MsgValueError; |
4358 | 0 | } |
4359 | 0 | int32_t id__ = Id(); |
4360 | 0 | int32_t aCol; |
4361 | 0 | if ((!(RecvTableColumnIndexAt(aID, aCellIndex, (&(aCol)))))) { |
4362 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4363 | 0 | // Error handled in mozilla::ipc::IPCResult |
4364 | 0 | return MsgProcessingError; |
4365 | 0 | } |
4366 | 0 | |
4367 | 0 | reply__ = PDocAccessible::Reply_TableColumnIndexAt(id__); |
4368 | 0 |
|
4369 | 0 | WriteIPDLParam(reply__, this, aCol); |
4370 | 0 | // Sentinel = 'aCol' |
4371 | 0 | (reply__)->WriteSentinel(606995717); |
4372 | 0 |
|
4373 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4374 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4375 | 0 | } |
4376 | 0 | return MsgProcessed; |
4377 | 0 | } |
4378 | 0 | case PDocAccessible::Msg_TableRowIndexAt__ID: |
4379 | 0 | { |
4380 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4381 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4382 | 0 | } |
4383 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowIndexAt", OTHER); |
4384 | 0 |
|
4385 | 0 | PickleIterator iter__(msg__); |
4386 | 0 | uint64_t aID; |
4387 | 0 | uint32_t aCellIndex; |
4388 | 0 |
|
4389 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4390 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4391 | 0 | return MsgValueError; |
4392 | 0 | } |
4393 | 0 | // Sentinel = 'aID' |
4394 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4395 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4396 | 0 | return MsgValueError; |
4397 | 0 | } |
4398 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCellIndex)))))) { |
4399 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4400 | 0 | return MsgValueError; |
4401 | 0 | } |
4402 | 0 | // Sentinel = 'aCellIndex' |
4403 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2080431501)))) { |
4404 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4405 | 0 | return MsgValueError; |
4406 | 0 | } |
4407 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4408 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4409 | 0 | FatalError("Transition error"); |
4410 | 0 | return MsgValueError; |
4411 | 0 | } |
4412 | 0 | int32_t id__ = Id(); |
4413 | 0 | int32_t aRow; |
4414 | 0 | if ((!(RecvTableRowIndexAt(aID, aCellIndex, (&(aRow)))))) { |
4415 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4416 | 0 | // Error handled in mozilla::ipc::IPCResult |
4417 | 0 | return MsgProcessingError; |
4418 | 0 | } |
4419 | 0 | |
4420 | 0 | reply__ = PDocAccessible::Reply_TableRowIndexAt(id__); |
4421 | 0 |
|
4422 | 0 | WriteIPDLParam(reply__, this, aRow); |
4423 | 0 | // Sentinel = 'aRow' |
4424 | 0 | (reply__)->WriteSentinel(1286438599); |
4425 | 0 |
|
4426 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4427 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4428 | 0 | } |
4429 | 0 | return MsgProcessed; |
4430 | 0 | } |
4431 | 0 | case PDocAccessible::Msg_TableRowAndColumnIndicesAt__ID: |
4432 | 0 | { |
4433 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4434 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4435 | 0 | } |
4436 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowAndColumnIndicesAt", OTHER); |
4437 | 0 |
|
4438 | 0 | PickleIterator iter__(msg__); |
4439 | 0 | uint64_t aID; |
4440 | 0 | uint32_t aCellIndex; |
4441 | 0 |
|
4442 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4443 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4444 | 0 | return MsgValueError; |
4445 | 0 | } |
4446 | 0 | // Sentinel = 'aID' |
4447 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4448 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4449 | 0 | return MsgValueError; |
4450 | 0 | } |
4451 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCellIndex)))))) { |
4452 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4453 | 0 | return MsgValueError; |
4454 | 0 | } |
4455 | 0 | // Sentinel = 'aCellIndex' |
4456 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2080431501)))) { |
4457 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4458 | 0 | return MsgValueError; |
4459 | 0 | } |
4460 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4461 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4462 | 0 | FatalError("Transition error"); |
4463 | 0 | return MsgValueError; |
4464 | 0 | } |
4465 | 0 | int32_t id__ = Id(); |
4466 | 0 | int32_t aRow; |
4467 | 0 | int32_t aCol; |
4468 | 0 | if ((!(RecvTableRowAndColumnIndicesAt(aID, aCellIndex, (&(aRow)), (&(aCol)))))) { |
4469 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4470 | 0 | // Error handled in mozilla::ipc::IPCResult |
4471 | 0 | return MsgProcessingError; |
4472 | 0 | } |
4473 | 0 | |
4474 | 0 | reply__ = PDocAccessible::Reply_TableRowAndColumnIndicesAt(id__); |
4475 | 0 |
|
4476 | 0 | WriteIPDLParam(reply__, this, aRow); |
4477 | 0 | // Sentinel = 'aRow' |
4478 | 0 | (reply__)->WriteSentinel(1286438599); |
4479 | 0 | WriteIPDLParam(reply__, this, aCol); |
4480 | 0 | // Sentinel = 'aCol' |
4481 | 0 | (reply__)->WriteSentinel(606995717); |
4482 | 0 |
|
4483 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4484 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4485 | 0 | } |
4486 | 0 | return MsgProcessed; |
4487 | 0 | } |
4488 | 0 | case PDocAccessible::Msg_TableColumnExtentAt__ID: |
4489 | 0 | { |
4490 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4491 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4492 | 0 | } |
4493 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnExtentAt", OTHER); |
4494 | 0 |
|
4495 | 0 | PickleIterator iter__(msg__); |
4496 | 0 | uint64_t aID; |
4497 | 0 | uint32_t aRow; |
4498 | 0 | uint32_t aCol; |
4499 | 0 |
|
4500 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4501 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4502 | 0 | return MsgValueError; |
4503 | 0 | } |
4504 | 0 | // Sentinel = 'aID' |
4505 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4506 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4507 | 0 | return MsgValueError; |
4508 | 0 | } |
4509 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4510 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4511 | 0 | return MsgValueError; |
4512 | 0 | } |
4513 | 0 | // Sentinel = 'aRow' |
4514 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4515 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4516 | 0 | return MsgValueError; |
4517 | 0 | } |
4518 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4519 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4520 | 0 | return MsgValueError; |
4521 | 0 | } |
4522 | 0 | // Sentinel = 'aCol' |
4523 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4524 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4525 | 0 | return MsgValueError; |
4526 | 0 | } |
4527 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4528 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4529 | 0 | FatalError("Transition error"); |
4530 | 0 | return MsgValueError; |
4531 | 0 | } |
4532 | 0 | int32_t id__ = Id(); |
4533 | 0 | uint32_t aExtent; |
4534 | 0 | if ((!(RecvTableColumnExtentAt(aID, aRow, aCol, (&(aExtent)))))) { |
4535 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4536 | 0 | // Error handled in mozilla::ipc::IPCResult |
4537 | 0 | return MsgProcessingError; |
4538 | 0 | } |
4539 | 0 | |
4540 | 0 | reply__ = PDocAccessible::Reply_TableColumnExtentAt(id__); |
4541 | 0 |
|
4542 | 0 | WriteIPDLParam(reply__, this, aExtent); |
4543 | 0 | // Sentinel = 'aExtent' |
4544 | 0 | (reply__)->WriteSentinel(2688935310); |
4545 | 0 |
|
4546 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4547 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4548 | 0 | } |
4549 | 0 | return MsgProcessed; |
4550 | 0 | } |
4551 | 0 | case PDocAccessible::Msg_TableRowExtentAt__ID: |
4552 | 0 | { |
4553 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4554 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4555 | 0 | } |
4556 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowExtentAt", OTHER); |
4557 | 0 |
|
4558 | 0 | PickleIterator iter__(msg__); |
4559 | 0 | uint64_t aID; |
4560 | 0 | uint32_t aRow; |
4561 | 0 | uint32_t aCol; |
4562 | 0 |
|
4563 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4564 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4565 | 0 | return MsgValueError; |
4566 | 0 | } |
4567 | 0 | // Sentinel = 'aID' |
4568 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4569 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4570 | 0 | return MsgValueError; |
4571 | 0 | } |
4572 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4573 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4574 | 0 | return MsgValueError; |
4575 | 0 | } |
4576 | 0 | // Sentinel = 'aRow' |
4577 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4578 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4579 | 0 | return MsgValueError; |
4580 | 0 | } |
4581 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4582 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4583 | 0 | return MsgValueError; |
4584 | 0 | } |
4585 | 0 | // Sentinel = 'aCol' |
4586 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4587 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4588 | 0 | return MsgValueError; |
4589 | 0 | } |
4590 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4591 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4592 | 0 | FatalError("Transition error"); |
4593 | 0 | return MsgValueError; |
4594 | 0 | } |
4595 | 0 | int32_t id__ = Id(); |
4596 | 0 | uint32_t aExtent; |
4597 | 0 | if ((!(RecvTableRowExtentAt(aID, aRow, aCol, (&(aExtent)))))) { |
4598 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4599 | 0 | // Error handled in mozilla::ipc::IPCResult |
4600 | 0 | return MsgProcessingError; |
4601 | 0 | } |
4602 | 0 | |
4603 | 0 | reply__ = PDocAccessible::Reply_TableRowExtentAt(id__); |
4604 | 0 |
|
4605 | 0 | WriteIPDLParam(reply__, this, aExtent); |
4606 | 0 | // Sentinel = 'aExtent' |
4607 | 0 | (reply__)->WriteSentinel(2688935310); |
4608 | 0 |
|
4609 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4610 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4611 | 0 | } |
4612 | 0 | return MsgProcessed; |
4613 | 0 | } |
4614 | 0 | case PDocAccessible::Msg_TableColumnDescription__ID: |
4615 | 0 | { |
4616 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4617 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4618 | 0 | } |
4619 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnDescription", OTHER); |
4620 | 0 |
|
4621 | 0 | PickleIterator iter__(msg__); |
4622 | 0 | uint64_t aID; |
4623 | 0 | uint32_t aCol; |
4624 | 0 |
|
4625 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4626 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4627 | 0 | return MsgValueError; |
4628 | 0 | } |
4629 | 0 | // Sentinel = 'aID' |
4630 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4631 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4632 | 0 | return MsgValueError; |
4633 | 0 | } |
4634 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4635 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4636 | 0 | return MsgValueError; |
4637 | 0 | } |
4638 | 0 | // Sentinel = 'aCol' |
4639 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4640 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4641 | 0 | return MsgValueError; |
4642 | 0 | } |
4643 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4644 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4645 | 0 | FatalError("Transition error"); |
4646 | 0 | return MsgValueError; |
4647 | 0 | } |
4648 | 0 | int32_t id__ = Id(); |
4649 | 0 | nsString aDescription; |
4650 | 0 | if ((!(RecvTableColumnDescription(aID, aCol, (&(aDescription)))))) { |
4651 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4652 | 0 | // Error handled in mozilla::ipc::IPCResult |
4653 | 0 | return MsgProcessingError; |
4654 | 0 | } |
4655 | 0 | |
4656 | 0 | reply__ = PDocAccessible::Reply_TableColumnDescription(id__); |
4657 | 0 |
|
4658 | 0 | WriteIPDLParam(reply__, this, aDescription); |
4659 | 0 | // Sentinel = 'aDescription' |
4660 | 0 | (reply__)->WriteSentinel(1173016929); |
4661 | 0 |
|
4662 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4663 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4664 | 0 | } |
4665 | 0 | return MsgProcessed; |
4666 | 0 | } |
4667 | 0 | case PDocAccessible::Msg_TableRowDescription__ID: |
4668 | 0 | { |
4669 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4670 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4671 | 0 | } |
4672 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowDescription", OTHER); |
4673 | 0 |
|
4674 | 0 | PickleIterator iter__(msg__); |
4675 | 0 | uint64_t aID; |
4676 | 0 | uint32_t aRow; |
4677 | 0 |
|
4678 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4679 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4680 | 0 | return MsgValueError; |
4681 | 0 | } |
4682 | 0 | // Sentinel = 'aID' |
4683 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4684 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4685 | 0 | return MsgValueError; |
4686 | 0 | } |
4687 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4688 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4689 | 0 | return MsgValueError; |
4690 | 0 | } |
4691 | 0 | // Sentinel = 'aRow' |
4692 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4693 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4694 | 0 | return MsgValueError; |
4695 | 0 | } |
4696 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4697 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4698 | 0 | FatalError("Transition error"); |
4699 | 0 | return MsgValueError; |
4700 | 0 | } |
4701 | 0 | int32_t id__ = Id(); |
4702 | 0 | nsString aDescription; |
4703 | 0 | if ((!(RecvTableRowDescription(aID, aRow, (&(aDescription)))))) { |
4704 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4705 | 0 | // Error handled in mozilla::ipc::IPCResult |
4706 | 0 | return MsgProcessingError; |
4707 | 0 | } |
4708 | 0 | |
4709 | 0 | reply__ = PDocAccessible::Reply_TableRowDescription(id__); |
4710 | 0 |
|
4711 | 0 | WriteIPDLParam(reply__, this, aDescription); |
4712 | 0 | // Sentinel = 'aDescription' |
4713 | 0 | (reply__)->WriteSentinel(1173016929); |
4714 | 0 |
|
4715 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4716 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4717 | 0 | } |
4718 | 0 | return MsgProcessed; |
4719 | 0 | } |
4720 | 0 | case PDocAccessible::Msg_TableColumnSelected__ID: |
4721 | 0 | { |
4722 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4723 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4724 | 0 | } |
4725 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnSelected", OTHER); |
4726 | 0 |
|
4727 | 0 | PickleIterator iter__(msg__); |
4728 | 0 | uint64_t aID; |
4729 | 0 | uint32_t aCol; |
4730 | 0 |
|
4731 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4732 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4733 | 0 | return MsgValueError; |
4734 | 0 | } |
4735 | 0 | // Sentinel = 'aID' |
4736 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4737 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4738 | 0 | return MsgValueError; |
4739 | 0 | } |
4740 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4741 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4742 | 0 | return MsgValueError; |
4743 | 0 | } |
4744 | 0 | // Sentinel = 'aCol' |
4745 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4746 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4747 | 0 | return MsgValueError; |
4748 | 0 | } |
4749 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4750 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4751 | 0 | FatalError("Transition error"); |
4752 | 0 | return MsgValueError; |
4753 | 0 | } |
4754 | 0 | int32_t id__ = Id(); |
4755 | 0 | bool aSelected; |
4756 | 0 | if ((!(RecvTableColumnSelected(aID, aCol, (&(aSelected)))))) { |
4757 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4758 | 0 | // Error handled in mozilla::ipc::IPCResult |
4759 | 0 | return MsgProcessingError; |
4760 | 0 | } |
4761 | 0 | |
4762 | 0 | reply__ = PDocAccessible::Reply_TableColumnSelected(id__); |
4763 | 0 |
|
4764 | 0 | WriteIPDLParam(reply__, this, aSelected); |
4765 | 0 | // Sentinel = 'aSelected' |
4766 | 0 | (reply__)->WriteSentinel(1712258447); |
4767 | 0 |
|
4768 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4769 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4770 | 0 | } |
4771 | 0 | return MsgProcessed; |
4772 | 0 | } |
4773 | 0 | case PDocAccessible::Msg_TableRowSelected__ID: |
4774 | 0 | { |
4775 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4776 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4777 | 0 | } |
4778 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowSelected", OTHER); |
4779 | 0 |
|
4780 | 0 | PickleIterator iter__(msg__); |
4781 | 0 | uint64_t aID; |
4782 | 0 | uint32_t aRow; |
4783 | 0 |
|
4784 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4785 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4786 | 0 | return MsgValueError; |
4787 | 0 | } |
4788 | 0 | // Sentinel = 'aID' |
4789 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4790 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4791 | 0 | return MsgValueError; |
4792 | 0 | } |
4793 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4794 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4795 | 0 | return MsgValueError; |
4796 | 0 | } |
4797 | 0 | // Sentinel = 'aRow' |
4798 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4799 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4800 | 0 | return MsgValueError; |
4801 | 0 | } |
4802 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4803 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4804 | 0 | FatalError("Transition error"); |
4805 | 0 | return MsgValueError; |
4806 | 0 | } |
4807 | 0 | int32_t id__ = Id(); |
4808 | 0 | bool aSelected; |
4809 | 0 | if ((!(RecvTableRowSelected(aID, aRow, (&(aSelected)))))) { |
4810 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4811 | 0 | // Error handled in mozilla::ipc::IPCResult |
4812 | 0 | return MsgProcessingError; |
4813 | 0 | } |
4814 | 0 | |
4815 | 0 | reply__ = PDocAccessible::Reply_TableRowSelected(id__); |
4816 | 0 |
|
4817 | 0 | WriteIPDLParam(reply__, this, aSelected); |
4818 | 0 | // Sentinel = 'aSelected' |
4819 | 0 | (reply__)->WriteSentinel(1712258447); |
4820 | 0 |
|
4821 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4822 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4823 | 0 | } |
4824 | 0 | return MsgProcessed; |
4825 | 0 | } |
4826 | 0 | case PDocAccessible::Msg_TableCellSelected__ID: |
4827 | 0 | { |
4828 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4829 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4830 | 0 | } |
4831 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellSelected", OTHER); |
4832 | 0 |
|
4833 | 0 | PickleIterator iter__(msg__); |
4834 | 0 | uint64_t aID; |
4835 | 0 | uint32_t aRow; |
4836 | 0 | uint32_t aCol; |
4837 | 0 |
|
4838 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4839 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4840 | 0 | return MsgValueError; |
4841 | 0 | } |
4842 | 0 | // Sentinel = 'aID' |
4843 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4844 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4845 | 0 | return MsgValueError; |
4846 | 0 | } |
4847 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
4848 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4849 | 0 | return MsgValueError; |
4850 | 0 | } |
4851 | 0 | // Sentinel = 'aRow' |
4852 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4853 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4854 | 0 | return MsgValueError; |
4855 | 0 | } |
4856 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
4857 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4858 | 0 | return MsgValueError; |
4859 | 0 | } |
4860 | 0 | // Sentinel = 'aCol' |
4861 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4862 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4863 | 0 | return MsgValueError; |
4864 | 0 | } |
4865 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4866 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4867 | 0 | FatalError("Transition error"); |
4868 | 0 | return MsgValueError; |
4869 | 0 | } |
4870 | 0 | int32_t id__ = Id(); |
4871 | 0 | bool aSelected; |
4872 | 0 | if ((!(RecvTableCellSelected(aID, aRow, aCol, (&(aSelected)))))) { |
4873 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4874 | 0 | // Error handled in mozilla::ipc::IPCResult |
4875 | 0 | return MsgProcessingError; |
4876 | 0 | } |
4877 | 0 | |
4878 | 0 | reply__ = PDocAccessible::Reply_TableCellSelected(id__); |
4879 | 0 |
|
4880 | 0 | WriteIPDLParam(reply__, this, aSelected); |
4881 | 0 | // Sentinel = 'aSelected' |
4882 | 0 | (reply__)->WriteSentinel(1712258447); |
4883 | 0 |
|
4884 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4885 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4886 | 0 | } |
4887 | 0 | return MsgProcessed; |
4888 | 0 | } |
4889 | 0 | case PDocAccessible::Msg_TableSelectedCellCount__ID: |
4890 | 0 | { |
4891 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4892 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4893 | 0 | } |
4894 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCellCount", OTHER); |
4895 | 0 |
|
4896 | 0 | PickleIterator iter__(msg__); |
4897 | 0 | uint64_t aID; |
4898 | 0 |
|
4899 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4900 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4901 | 0 | return MsgValueError; |
4902 | 0 | } |
4903 | 0 | // Sentinel = 'aID' |
4904 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4905 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4906 | 0 | return MsgValueError; |
4907 | 0 | } |
4908 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4909 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4910 | 0 | FatalError("Transition error"); |
4911 | 0 | return MsgValueError; |
4912 | 0 | } |
4913 | 0 | int32_t id__ = Id(); |
4914 | 0 | uint32_t aSelectedCells; |
4915 | 0 | if ((!(RecvTableSelectedCellCount(aID, (&(aSelectedCells)))))) { |
4916 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4917 | 0 | // Error handled in mozilla::ipc::IPCResult |
4918 | 0 | return MsgProcessingError; |
4919 | 0 | } |
4920 | 0 | |
4921 | 0 | reply__ = PDocAccessible::Reply_TableSelectedCellCount(id__); |
4922 | 0 |
|
4923 | 0 | WriteIPDLParam(reply__, this, aSelectedCells); |
4924 | 0 | // Sentinel = 'aSelectedCells' |
4925 | 0 | (reply__)->WriteSentinel(305105039); |
4926 | 0 |
|
4927 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4928 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4929 | 0 | } |
4930 | 0 | return MsgProcessed; |
4931 | 0 | } |
4932 | 0 | case PDocAccessible::Msg_TableSelectedColumnCount__ID: |
4933 | 0 | { |
4934 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4935 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4936 | 0 | } |
4937 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedColumnCount", OTHER); |
4938 | 0 |
|
4939 | 0 | PickleIterator iter__(msg__); |
4940 | 0 | uint64_t aID; |
4941 | 0 |
|
4942 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4943 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4944 | 0 | return MsgValueError; |
4945 | 0 | } |
4946 | 0 | // Sentinel = 'aID' |
4947 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4948 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4949 | 0 | return MsgValueError; |
4950 | 0 | } |
4951 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4952 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4953 | 0 | FatalError("Transition error"); |
4954 | 0 | return MsgValueError; |
4955 | 0 | } |
4956 | 0 | int32_t id__ = Id(); |
4957 | 0 | uint32_t aSelectedColumns; |
4958 | 0 | if ((!(RecvTableSelectedColumnCount(aID, (&(aSelectedColumns)))))) { |
4959 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
4960 | 0 | // Error handled in mozilla::ipc::IPCResult |
4961 | 0 | return MsgProcessingError; |
4962 | 0 | } |
4963 | 0 | |
4964 | 0 | reply__ = PDocAccessible::Reply_TableSelectedColumnCount(id__); |
4965 | 0 |
|
4966 | 0 | WriteIPDLParam(reply__, this, aSelectedColumns); |
4967 | 0 | // Sentinel = 'aSelectedColumns' |
4968 | 0 | (reply__)->WriteSentinel(3599775843); |
4969 | 0 |
|
4970 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4971 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
4972 | 0 | } |
4973 | 0 | return MsgProcessed; |
4974 | 0 | } |
4975 | 0 | case PDocAccessible::Msg_TableSelectedRowCount__ID: |
4976 | 0 | { |
4977 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
4978 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4979 | 0 | } |
4980 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedRowCount", OTHER); |
4981 | 0 |
|
4982 | 0 | PickleIterator iter__(msg__); |
4983 | 0 | uint64_t aID; |
4984 | 0 |
|
4985 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
4986 | 0 | FatalError("Error deserializing 'uint64_t'"); |
4987 | 0 | return MsgValueError; |
4988 | 0 | } |
4989 | 0 | // Sentinel = 'aID' |
4990 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
4991 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
4992 | 0 | return MsgValueError; |
4993 | 0 | } |
4994 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
4995 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4996 | 0 | FatalError("Transition error"); |
4997 | 0 | return MsgValueError; |
4998 | 0 | } |
4999 | 0 | int32_t id__ = Id(); |
5000 | 0 | uint32_t aSelectedRows; |
5001 | 0 | if ((!(RecvTableSelectedRowCount(aID, (&(aSelectedRows)))))) { |
5002 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5003 | 0 | // Error handled in mozilla::ipc::IPCResult |
5004 | 0 | return MsgProcessingError; |
5005 | 0 | } |
5006 | 0 | |
5007 | 0 | reply__ = PDocAccessible::Reply_TableSelectedRowCount(id__); |
5008 | 0 |
|
5009 | 0 | WriteIPDLParam(reply__, this, aSelectedRows); |
5010 | 0 | // Sentinel = 'aSelectedRows' |
5011 | 0 | (reply__)->WriteSentinel(148477904); |
5012 | 0 |
|
5013 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5014 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5015 | 0 | } |
5016 | 0 | return MsgProcessed; |
5017 | 0 | } |
5018 | 0 | case PDocAccessible::Msg_TableSelectedCells__ID: |
5019 | 0 | { |
5020 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5021 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5022 | 0 | } |
5023 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCells", OTHER); |
5024 | 0 |
|
5025 | 0 | PickleIterator iter__(msg__); |
5026 | 0 | uint64_t aID; |
5027 | 0 |
|
5028 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5029 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5030 | 0 | return MsgValueError; |
5031 | 0 | } |
5032 | 0 | // Sentinel = 'aID' |
5033 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5034 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5035 | 0 | return MsgValueError; |
5036 | 0 | } |
5037 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5038 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5039 | 0 | FatalError("Transition error"); |
5040 | 0 | return MsgValueError; |
5041 | 0 | } |
5042 | 0 | int32_t id__ = Id(); |
5043 | 0 | nsTArray<uint64_t> aCellIDs; |
5044 | 0 | if ((!(RecvTableSelectedCells(aID, (&(aCellIDs)))))) { |
5045 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5046 | 0 | // Error handled in mozilla::ipc::IPCResult |
5047 | 0 | return MsgProcessingError; |
5048 | 0 | } |
5049 | 0 | |
5050 | 0 | reply__ = PDocAccessible::Reply_TableSelectedCells(id__); |
5051 | 0 |
|
5052 | 0 | WriteIPDLParam(reply__, this, aCellIDs); |
5053 | 0 | // Sentinel = 'aCellIDs' |
5054 | 0 | (reply__)->WriteSentinel(3097727801); |
5055 | 0 |
|
5056 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5057 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5058 | 0 | } |
5059 | 0 | return MsgProcessed; |
5060 | 0 | } |
5061 | 0 | case PDocAccessible::Msg_TableSelectedCellIndices__ID: |
5062 | 0 | { |
5063 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5064 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5065 | 0 | } |
5066 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCellIndices", OTHER); |
5067 | 0 |
|
5068 | 0 | PickleIterator iter__(msg__); |
5069 | 0 | uint64_t aID; |
5070 | 0 |
|
5071 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5072 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5073 | 0 | return MsgValueError; |
5074 | 0 | } |
5075 | 0 | // Sentinel = 'aID' |
5076 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5077 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5078 | 0 | return MsgValueError; |
5079 | 0 | } |
5080 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5081 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5082 | 0 | FatalError("Transition error"); |
5083 | 0 | return MsgValueError; |
5084 | 0 | } |
5085 | 0 | int32_t id__ = Id(); |
5086 | 0 | nsTArray<uint32_t> aCellIndeces; |
5087 | 0 | if ((!(RecvTableSelectedCellIndices(aID, (&(aCellIndeces)))))) { |
5088 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5089 | 0 | // Error handled in mozilla::ipc::IPCResult |
5090 | 0 | return MsgProcessingError; |
5091 | 0 | } |
5092 | 0 | |
5093 | 0 | reply__ = PDocAccessible::Reply_TableSelectedCellIndices(id__); |
5094 | 0 |
|
5095 | 0 | WriteIPDLParam(reply__, this, aCellIndeces); |
5096 | 0 | // Sentinel = 'aCellIndeces' |
5097 | 0 | (reply__)->WriteSentinel(2924033324); |
5098 | 0 |
|
5099 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5100 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5101 | 0 | } |
5102 | 0 | return MsgProcessed; |
5103 | 0 | } |
5104 | 0 | case PDocAccessible::Msg_TableSelectedColumnIndices__ID: |
5105 | 0 | { |
5106 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5107 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5108 | 0 | } |
5109 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedColumnIndices", OTHER); |
5110 | 0 |
|
5111 | 0 | PickleIterator iter__(msg__); |
5112 | 0 | uint64_t aID; |
5113 | 0 |
|
5114 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5115 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5116 | 0 | return MsgValueError; |
5117 | 0 | } |
5118 | 0 | // Sentinel = 'aID' |
5119 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5120 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5121 | 0 | return MsgValueError; |
5122 | 0 | } |
5123 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5124 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5125 | 0 | FatalError("Transition error"); |
5126 | 0 | return MsgValueError; |
5127 | 0 | } |
5128 | 0 | int32_t id__ = Id(); |
5129 | 0 | nsTArray<uint32_t> aColumnIndeces; |
5130 | 0 | if ((!(RecvTableSelectedColumnIndices(aID, (&(aColumnIndeces)))))) { |
5131 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5132 | 0 | // Error handled in mozilla::ipc::IPCResult |
5133 | 0 | return MsgProcessingError; |
5134 | 0 | } |
5135 | 0 | |
5136 | 0 | reply__ = PDocAccessible::Reply_TableSelectedColumnIndices(id__); |
5137 | 0 |
|
5138 | 0 | WriteIPDLParam(reply__, this, aColumnIndeces); |
5139 | 0 | // Sentinel = 'aColumnIndeces' |
5140 | 0 | (reply__)->WriteSentinel(2315565168); |
5141 | 0 |
|
5142 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5143 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5144 | 0 | } |
5145 | 0 | return MsgProcessed; |
5146 | 0 | } |
5147 | 0 | case PDocAccessible::Msg_TableSelectedRowIndices__ID: |
5148 | 0 | { |
5149 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5150 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5151 | 0 | } |
5152 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedRowIndices", OTHER); |
5153 | 0 |
|
5154 | 0 | PickleIterator iter__(msg__); |
5155 | 0 | uint64_t aID; |
5156 | 0 |
|
5157 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5158 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5159 | 0 | return MsgValueError; |
5160 | 0 | } |
5161 | 0 | // Sentinel = 'aID' |
5162 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5163 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5164 | 0 | return MsgValueError; |
5165 | 0 | } |
5166 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5167 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5168 | 0 | FatalError("Transition error"); |
5169 | 0 | return MsgValueError; |
5170 | 0 | } |
5171 | 0 | int32_t id__ = Id(); |
5172 | 0 | nsTArray<uint32_t> aRowIndeces; |
5173 | 0 | if ((!(RecvTableSelectedRowIndices(aID, (&(aRowIndeces)))))) { |
5174 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5175 | 0 | // Error handled in mozilla::ipc::IPCResult |
5176 | 0 | return MsgProcessingError; |
5177 | 0 | } |
5178 | 0 | |
5179 | 0 | reply__ = PDocAccessible::Reply_TableSelectedRowIndices(id__); |
5180 | 0 |
|
5181 | 0 | WriteIPDLParam(reply__, this, aRowIndeces); |
5182 | 0 | // Sentinel = 'aRowIndeces' |
5183 | 0 | (reply__)->WriteSentinel(838152053); |
5184 | 0 |
|
5185 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5186 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5187 | 0 | } |
5188 | 0 | return MsgProcessed; |
5189 | 0 | } |
5190 | 0 | case PDocAccessible::Msg_TableSelectColumn__ID: |
5191 | 0 | { |
5192 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5193 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5194 | 0 | } |
5195 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectColumn", OTHER); |
5196 | 0 |
|
5197 | 0 | PickleIterator iter__(msg__); |
5198 | 0 | uint64_t aID; |
5199 | 0 | uint32_t aCol; |
5200 | 0 |
|
5201 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5202 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5203 | 0 | return MsgValueError; |
5204 | 0 | } |
5205 | 0 | // Sentinel = 'aID' |
5206 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5207 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5208 | 0 | return MsgValueError; |
5209 | 0 | } |
5210 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
5211 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5212 | 0 | return MsgValueError; |
5213 | 0 | } |
5214 | 0 | // Sentinel = 'aCol' |
5215 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
5216 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5217 | 0 | return MsgValueError; |
5218 | 0 | } |
5219 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5220 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5221 | 0 | FatalError("Transition error"); |
5222 | 0 | return MsgValueError; |
5223 | 0 | } |
5224 | 0 | int32_t id__ = Id(); |
5225 | 0 | if ((!(RecvTableSelectColumn(aID, aCol)))) { |
5226 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5227 | 0 | // Error handled in mozilla::ipc::IPCResult |
5228 | 0 | return MsgProcessingError; |
5229 | 0 | } |
5230 | 0 | |
5231 | 0 | reply__ = PDocAccessible::Reply_TableSelectColumn(id__); |
5232 | 0 |
|
5233 | 0 |
|
5234 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5235 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5236 | 0 | } |
5237 | 0 | return MsgProcessed; |
5238 | 0 | } |
5239 | 0 | case PDocAccessible::Msg_TableSelectRow__ID: |
5240 | 0 | { |
5241 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5242 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5243 | 0 | } |
5244 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectRow", OTHER); |
5245 | 0 |
|
5246 | 0 | PickleIterator iter__(msg__); |
5247 | 0 | uint64_t aID; |
5248 | 0 | uint32_t aRow; |
5249 | 0 |
|
5250 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5251 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5252 | 0 | return MsgValueError; |
5253 | 0 | } |
5254 | 0 | // Sentinel = 'aID' |
5255 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5256 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5257 | 0 | return MsgValueError; |
5258 | 0 | } |
5259 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
5260 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5261 | 0 | return MsgValueError; |
5262 | 0 | } |
5263 | 0 | // Sentinel = 'aRow' |
5264 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
5265 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5266 | 0 | return MsgValueError; |
5267 | 0 | } |
5268 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5269 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5270 | 0 | FatalError("Transition error"); |
5271 | 0 | return MsgValueError; |
5272 | 0 | } |
5273 | 0 | int32_t id__ = Id(); |
5274 | 0 | if ((!(RecvTableSelectRow(aID, aRow)))) { |
5275 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5276 | 0 | // Error handled in mozilla::ipc::IPCResult |
5277 | 0 | return MsgProcessingError; |
5278 | 0 | } |
5279 | 0 | |
5280 | 0 | reply__ = PDocAccessible::Reply_TableSelectRow(id__); |
5281 | 0 |
|
5282 | 0 |
|
5283 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5284 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5285 | 0 | } |
5286 | 0 | return MsgProcessed; |
5287 | 0 | } |
5288 | 0 | case PDocAccessible::Msg_TableUnselectColumn__ID: |
5289 | 0 | { |
5290 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5291 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5292 | 0 | } |
5293 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableUnselectColumn", OTHER); |
5294 | 0 |
|
5295 | 0 | PickleIterator iter__(msg__); |
5296 | 0 | uint64_t aID; |
5297 | 0 | uint32_t aCol; |
5298 | 0 |
|
5299 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5300 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5301 | 0 | return MsgValueError; |
5302 | 0 | } |
5303 | 0 | // Sentinel = 'aID' |
5304 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5305 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5306 | 0 | return MsgValueError; |
5307 | 0 | } |
5308 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
5309 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5310 | 0 | return MsgValueError; |
5311 | 0 | } |
5312 | 0 | // Sentinel = 'aCol' |
5313 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
5314 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5315 | 0 | return MsgValueError; |
5316 | 0 | } |
5317 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5318 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5319 | 0 | FatalError("Transition error"); |
5320 | 0 | return MsgValueError; |
5321 | 0 | } |
5322 | 0 | int32_t id__ = Id(); |
5323 | 0 | if ((!(RecvTableUnselectColumn(aID, aCol)))) { |
5324 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5325 | 0 | // Error handled in mozilla::ipc::IPCResult |
5326 | 0 | return MsgProcessingError; |
5327 | 0 | } |
5328 | 0 | |
5329 | 0 | reply__ = PDocAccessible::Reply_TableUnselectColumn(id__); |
5330 | 0 |
|
5331 | 0 |
|
5332 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5333 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5334 | 0 | } |
5335 | 0 | return MsgProcessed; |
5336 | 0 | } |
5337 | 0 | case PDocAccessible::Msg_TableUnselectRow__ID: |
5338 | 0 | { |
5339 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5340 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5341 | 0 | } |
5342 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableUnselectRow", OTHER); |
5343 | 0 |
|
5344 | 0 | PickleIterator iter__(msg__); |
5345 | 0 | uint64_t aID; |
5346 | 0 | uint32_t aRow; |
5347 | 0 |
|
5348 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5349 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5350 | 0 | return MsgValueError; |
5351 | 0 | } |
5352 | 0 | // Sentinel = 'aID' |
5353 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5354 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5355 | 0 | return MsgValueError; |
5356 | 0 | } |
5357 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
5358 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5359 | 0 | return MsgValueError; |
5360 | 0 | } |
5361 | 0 | // Sentinel = 'aRow' |
5362 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
5363 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5364 | 0 | return MsgValueError; |
5365 | 0 | } |
5366 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5367 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5368 | 0 | FatalError("Transition error"); |
5369 | 0 | return MsgValueError; |
5370 | 0 | } |
5371 | 0 | int32_t id__ = Id(); |
5372 | 0 | if ((!(RecvTableUnselectRow(aID, aRow)))) { |
5373 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5374 | 0 | // Error handled in mozilla::ipc::IPCResult |
5375 | 0 | return MsgProcessingError; |
5376 | 0 | } |
5377 | 0 | |
5378 | 0 | reply__ = PDocAccessible::Reply_TableUnselectRow(id__); |
5379 | 0 |
|
5380 | 0 |
|
5381 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5382 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5383 | 0 | } |
5384 | 0 | return MsgProcessed; |
5385 | 0 | } |
5386 | 0 | case PDocAccessible::Msg_TableIsProbablyForLayout__ID: |
5387 | 0 | { |
5388 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5389 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5390 | 0 | } |
5391 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableIsProbablyForLayout", OTHER); |
5392 | 0 |
|
5393 | 0 | PickleIterator iter__(msg__); |
5394 | 0 | uint64_t aID; |
5395 | 0 |
|
5396 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5397 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5398 | 0 | return MsgValueError; |
5399 | 0 | } |
5400 | 0 | // Sentinel = 'aID' |
5401 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5402 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5403 | 0 | return MsgValueError; |
5404 | 0 | } |
5405 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5406 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5407 | 0 | FatalError("Transition error"); |
5408 | 0 | return MsgValueError; |
5409 | 0 | } |
5410 | 0 | int32_t id__ = Id(); |
5411 | 0 | bool aForLayout; |
5412 | 0 | if ((!(RecvTableIsProbablyForLayout(aID, (&(aForLayout)))))) { |
5413 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5414 | 0 | // Error handled in mozilla::ipc::IPCResult |
5415 | 0 | return MsgProcessingError; |
5416 | 0 | } |
5417 | 0 | |
5418 | 0 | reply__ = PDocAccessible::Reply_TableIsProbablyForLayout(id__); |
5419 | 0 |
|
5420 | 0 | WriteIPDLParam(reply__, this, aForLayout); |
5421 | 0 | // Sentinel = 'aForLayout' |
5422 | 0 | (reply__)->WriteSentinel(2091975930); |
5423 | 0 |
|
5424 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5425 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5426 | 0 | } |
5427 | 0 | return MsgProcessed; |
5428 | 0 | } |
5429 | 0 | case PDocAccessible::Msg_AtkTableColumnHeader__ID: |
5430 | 0 | { |
5431 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5432 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5433 | 0 | } |
5434 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkTableColumnHeader", OTHER); |
5435 | 0 |
|
5436 | 0 | PickleIterator iter__(msg__); |
5437 | 0 | uint64_t aID; |
5438 | 0 | int32_t aCol; |
5439 | 0 |
|
5440 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5441 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5442 | 0 | return MsgValueError; |
5443 | 0 | } |
5444 | 0 | // Sentinel = 'aID' |
5445 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5446 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5447 | 0 | return MsgValueError; |
5448 | 0 | } |
5449 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aCol)))))) { |
5450 | 0 | FatalError("Error deserializing 'int32_t'"); |
5451 | 0 | return MsgValueError; |
5452 | 0 | } |
5453 | 0 | // Sentinel = 'aCol' |
5454 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 606995717)))) { |
5455 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
5456 | 0 | return MsgValueError; |
5457 | 0 | } |
5458 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5459 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5460 | 0 | FatalError("Transition error"); |
5461 | 0 | return MsgValueError; |
5462 | 0 | } |
5463 | 0 | int32_t id__ = Id(); |
5464 | 0 | uint64_t aHeaderID; |
5465 | 0 | bool aOk; |
5466 | 0 | if ((!(RecvAtkTableColumnHeader(aID, aCol, (&(aHeaderID)), (&(aOk)))))) { |
5467 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5468 | 0 | // Error handled in mozilla::ipc::IPCResult |
5469 | 0 | return MsgProcessingError; |
5470 | 0 | } |
5471 | 0 | |
5472 | 0 | reply__ = PDocAccessible::Reply_AtkTableColumnHeader(id__); |
5473 | 0 |
|
5474 | 0 | WriteIPDLParam(reply__, this, aHeaderID); |
5475 | 0 | // Sentinel = 'aHeaderID' |
5476 | 0 | (reply__)->WriteSentinel(3333620492); |
5477 | 0 | WriteIPDLParam(reply__, this, aOk); |
5478 | 0 | // Sentinel = 'aOk' |
5479 | 0 | (reply__)->WriteSentinel(2737042028); |
5480 | 0 |
|
5481 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5482 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5483 | 0 | } |
5484 | 0 | return MsgProcessed; |
5485 | 0 | } |
5486 | 0 | case PDocAccessible::Msg_AtkTableRowHeader__ID: |
5487 | 0 | { |
5488 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5489 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5490 | 0 | } |
5491 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkTableRowHeader", OTHER); |
5492 | 0 |
|
5493 | 0 | PickleIterator iter__(msg__); |
5494 | 0 | uint64_t aID; |
5495 | 0 | int32_t aRow; |
5496 | 0 |
|
5497 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5498 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5499 | 0 | return MsgValueError; |
5500 | 0 | } |
5501 | 0 | // Sentinel = 'aID' |
5502 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5503 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5504 | 0 | return MsgValueError; |
5505 | 0 | } |
5506 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRow)))))) { |
5507 | 0 | FatalError("Error deserializing 'int32_t'"); |
5508 | 0 | return MsgValueError; |
5509 | 0 | } |
5510 | 0 | // Sentinel = 'aRow' |
5511 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
5512 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
5513 | 0 | return MsgValueError; |
5514 | 0 | } |
5515 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5516 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5517 | 0 | FatalError("Transition error"); |
5518 | 0 | return MsgValueError; |
5519 | 0 | } |
5520 | 0 | int32_t id__ = Id(); |
5521 | 0 | uint64_t aHeaderID; |
5522 | 0 | bool aOk; |
5523 | 0 | if ((!(RecvAtkTableRowHeader(aID, aRow, (&(aHeaderID)), (&(aOk)))))) { |
5524 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5525 | 0 | // Error handled in mozilla::ipc::IPCResult |
5526 | 0 | return MsgProcessingError; |
5527 | 0 | } |
5528 | 0 | |
5529 | 0 | reply__ = PDocAccessible::Reply_AtkTableRowHeader(id__); |
5530 | 0 |
|
5531 | 0 | WriteIPDLParam(reply__, this, aHeaderID); |
5532 | 0 | // Sentinel = 'aHeaderID' |
5533 | 0 | (reply__)->WriteSentinel(3333620492); |
5534 | 0 | WriteIPDLParam(reply__, this, aOk); |
5535 | 0 | // Sentinel = 'aOk' |
5536 | 0 | (reply__)->WriteSentinel(2737042028); |
5537 | 0 |
|
5538 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5539 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5540 | 0 | } |
5541 | 0 | return MsgProcessed; |
5542 | 0 | } |
5543 | 0 | case PDocAccessible::Msg_SelectedItems__ID: |
5544 | 0 | { |
5545 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5546 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5547 | 0 | } |
5548 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectedItems", OTHER); |
5549 | 0 |
|
5550 | 0 | PickleIterator iter__(msg__); |
5551 | 0 | uint64_t aID; |
5552 | 0 |
|
5553 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5554 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5555 | 0 | return MsgValueError; |
5556 | 0 | } |
5557 | 0 | // Sentinel = 'aID' |
5558 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5559 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5560 | 0 | return MsgValueError; |
5561 | 0 | } |
5562 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5563 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5564 | 0 | FatalError("Transition error"); |
5565 | 0 | return MsgValueError; |
5566 | 0 | } |
5567 | 0 | int32_t id__ = Id(); |
5568 | 0 | nsTArray<uint64_t> aSelectedItemIDs; |
5569 | 0 | if ((!(RecvSelectedItems(aID, (&(aSelectedItemIDs)))))) { |
5570 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5571 | 0 | // Error handled in mozilla::ipc::IPCResult |
5572 | 0 | return MsgProcessingError; |
5573 | 0 | } |
5574 | 0 | |
5575 | 0 | reply__ = PDocAccessible::Reply_SelectedItems(id__); |
5576 | 0 |
|
5577 | 0 | WriteIPDLParam(reply__, this, aSelectedItemIDs); |
5578 | 0 | // Sentinel = 'aSelectedItemIDs' |
5579 | 0 | (reply__)->WriteSentinel(1397582911); |
5580 | 0 |
|
5581 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5582 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5583 | 0 | } |
5584 | 0 | return MsgProcessed; |
5585 | 0 | } |
5586 | 0 | case PDocAccessible::Msg_SelectedItemCount__ID: |
5587 | 0 | { |
5588 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5589 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5590 | 0 | } |
5591 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectedItemCount", OTHER); |
5592 | 0 |
|
5593 | 0 | PickleIterator iter__(msg__); |
5594 | 0 | uint64_t aID; |
5595 | 0 |
|
5596 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5597 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5598 | 0 | return MsgValueError; |
5599 | 0 | } |
5600 | 0 | // Sentinel = 'aID' |
5601 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5602 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5603 | 0 | return MsgValueError; |
5604 | 0 | } |
5605 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5606 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5607 | 0 | FatalError("Transition error"); |
5608 | 0 | return MsgValueError; |
5609 | 0 | } |
5610 | 0 | int32_t id__ = Id(); |
5611 | 0 | uint32_t aCount; |
5612 | 0 | if ((!(RecvSelectedItemCount(aID, (&(aCount)))))) { |
5613 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5614 | 0 | // Error handled in mozilla::ipc::IPCResult |
5615 | 0 | return MsgProcessingError; |
5616 | 0 | } |
5617 | 0 | |
5618 | 0 | reply__ = PDocAccessible::Reply_SelectedItemCount(id__); |
5619 | 0 |
|
5620 | 0 | WriteIPDLParam(reply__, this, aCount); |
5621 | 0 | // Sentinel = 'aCount' |
5622 | 0 | (reply__)->WriteSentinel(2344199296); |
5623 | 0 |
|
5624 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5625 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5626 | 0 | } |
5627 | 0 | return MsgProcessed; |
5628 | 0 | } |
5629 | 0 | case PDocAccessible::Msg_GetSelectedItem__ID: |
5630 | 0 | { |
5631 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5632 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5633 | 0 | } |
5634 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetSelectedItem", OTHER); |
5635 | 0 |
|
5636 | 0 | PickleIterator iter__(msg__); |
5637 | 0 | uint64_t aID; |
5638 | 0 | uint32_t aIndex; |
5639 | 0 |
|
5640 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5641 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5642 | 0 | return MsgValueError; |
5643 | 0 | } |
5644 | 0 | // Sentinel = 'aID' |
5645 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5646 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5647 | 0 | return MsgValueError; |
5648 | 0 | } |
5649 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
5650 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5651 | 0 | return MsgValueError; |
5652 | 0 | } |
5653 | 0 | // Sentinel = 'aIndex' |
5654 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
5655 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5656 | 0 | return MsgValueError; |
5657 | 0 | } |
5658 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5659 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5660 | 0 | FatalError("Transition error"); |
5661 | 0 | return MsgValueError; |
5662 | 0 | } |
5663 | 0 | int32_t id__ = Id(); |
5664 | 0 | uint64_t aSelected; |
5665 | 0 | bool aOk; |
5666 | 0 | if ((!(RecvGetSelectedItem(aID, aIndex, (&(aSelected)), (&(aOk)))))) { |
5667 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5668 | 0 | // Error handled in mozilla::ipc::IPCResult |
5669 | 0 | return MsgProcessingError; |
5670 | 0 | } |
5671 | 0 | |
5672 | 0 | reply__ = PDocAccessible::Reply_GetSelectedItem(id__); |
5673 | 0 |
|
5674 | 0 | WriteIPDLParam(reply__, this, aSelected); |
5675 | 0 | // Sentinel = 'aSelected' |
5676 | 0 | (reply__)->WriteSentinel(1712258447); |
5677 | 0 | WriteIPDLParam(reply__, this, aOk); |
5678 | 0 | // Sentinel = 'aOk' |
5679 | 0 | (reply__)->WriteSentinel(2737042028); |
5680 | 0 |
|
5681 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5682 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5683 | 0 | } |
5684 | 0 | return MsgProcessed; |
5685 | 0 | } |
5686 | 0 | case PDocAccessible::Msg_IsItemSelected__ID: |
5687 | 0 | { |
5688 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5689 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5690 | 0 | } |
5691 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsItemSelected", OTHER); |
5692 | 0 |
|
5693 | 0 | PickleIterator iter__(msg__); |
5694 | 0 | uint64_t aID; |
5695 | 0 | uint32_t aIndex; |
5696 | 0 |
|
5697 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5698 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5699 | 0 | return MsgValueError; |
5700 | 0 | } |
5701 | 0 | // Sentinel = 'aID' |
5702 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5703 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5704 | 0 | return MsgValueError; |
5705 | 0 | } |
5706 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
5707 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5708 | 0 | return MsgValueError; |
5709 | 0 | } |
5710 | 0 | // Sentinel = 'aIndex' |
5711 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
5712 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5713 | 0 | return MsgValueError; |
5714 | 0 | } |
5715 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5716 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5717 | 0 | FatalError("Transition error"); |
5718 | 0 | return MsgValueError; |
5719 | 0 | } |
5720 | 0 | int32_t id__ = Id(); |
5721 | 0 | bool aSelected; |
5722 | 0 | if ((!(RecvIsItemSelected(aID, aIndex, (&(aSelected)))))) { |
5723 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5724 | 0 | // Error handled in mozilla::ipc::IPCResult |
5725 | 0 | return MsgProcessingError; |
5726 | 0 | } |
5727 | 0 | |
5728 | 0 | reply__ = PDocAccessible::Reply_IsItemSelected(id__); |
5729 | 0 |
|
5730 | 0 | WriteIPDLParam(reply__, this, aSelected); |
5731 | 0 | // Sentinel = 'aSelected' |
5732 | 0 | (reply__)->WriteSentinel(1712258447); |
5733 | 0 |
|
5734 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5735 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5736 | 0 | } |
5737 | 0 | return MsgProcessed; |
5738 | 0 | } |
5739 | 0 | case PDocAccessible::Msg_AddItemToSelection__ID: |
5740 | 0 | { |
5741 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5742 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5743 | 0 | } |
5744 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AddItemToSelection", OTHER); |
5745 | 0 |
|
5746 | 0 | PickleIterator iter__(msg__); |
5747 | 0 | uint64_t aID; |
5748 | 0 | uint32_t aIndex; |
5749 | 0 |
|
5750 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5751 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5752 | 0 | return MsgValueError; |
5753 | 0 | } |
5754 | 0 | // Sentinel = 'aID' |
5755 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5756 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5757 | 0 | return MsgValueError; |
5758 | 0 | } |
5759 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
5760 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5761 | 0 | return MsgValueError; |
5762 | 0 | } |
5763 | 0 | // Sentinel = 'aIndex' |
5764 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
5765 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5766 | 0 | return MsgValueError; |
5767 | 0 | } |
5768 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5769 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5770 | 0 | FatalError("Transition error"); |
5771 | 0 | return MsgValueError; |
5772 | 0 | } |
5773 | 0 | int32_t id__ = Id(); |
5774 | 0 | bool aSuccess; |
5775 | 0 | if ((!(RecvAddItemToSelection(aID, aIndex, (&(aSuccess)))))) { |
5776 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5777 | 0 | // Error handled in mozilla::ipc::IPCResult |
5778 | 0 | return MsgProcessingError; |
5779 | 0 | } |
5780 | 0 | |
5781 | 0 | reply__ = PDocAccessible::Reply_AddItemToSelection(id__); |
5782 | 0 |
|
5783 | 0 | WriteIPDLParam(reply__, this, aSuccess); |
5784 | 0 | // Sentinel = 'aSuccess' |
5785 | 0 | (reply__)->WriteSentinel(2132928722); |
5786 | 0 |
|
5787 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5788 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5789 | 0 | } |
5790 | 0 | return MsgProcessed; |
5791 | 0 | } |
5792 | 0 | case PDocAccessible::Msg_RemoveItemFromSelection__ID: |
5793 | 0 | { |
5794 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5795 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5796 | 0 | } |
5797 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RemoveItemFromSelection", OTHER); |
5798 | 0 |
|
5799 | 0 | PickleIterator iter__(msg__); |
5800 | 0 | uint64_t aID; |
5801 | 0 | uint32_t aIndex; |
5802 | 0 |
|
5803 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5804 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5805 | 0 | return MsgValueError; |
5806 | 0 | } |
5807 | 0 | // Sentinel = 'aID' |
5808 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5809 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5810 | 0 | return MsgValueError; |
5811 | 0 | } |
5812 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
5813 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5814 | 0 | return MsgValueError; |
5815 | 0 | } |
5816 | 0 | // Sentinel = 'aIndex' |
5817 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
5818 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5819 | 0 | return MsgValueError; |
5820 | 0 | } |
5821 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5822 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5823 | 0 | FatalError("Transition error"); |
5824 | 0 | return MsgValueError; |
5825 | 0 | } |
5826 | 0 | int32_t id__ = Id(); |
5827 | 0 | bool aSuccess; |
5828 | 0 | if ((!(RecvRemoveItemFromSelection(aID, aIndex, (&(aSuccess)))))) { |
5829 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5830 | 0 | // Error handled in mozilla::ipc::IPCResult |
5831 | 0 | return MsgProcessingError; |
5832 | 0 | } |
5833 | 0 | |
5834 | 0 | reply__ = PDocAccessible::Reply_RemoveItemFromSelection(id__); |
5835 | 0 |
|
5836 | 0 | WriteIPDLParam(reply__, this, aSuccess); |
5837 | 0 | // Sentinel = 'aSuccess' |
5838 | 0 | (reply__)->WriteSentinel(2132928722); |
5839 | 0 |
|
5840 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5841 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5842 | 0 | } |
5843 | 0 | return MsgProcessed; |
5844 | 0 | } |
5845 | 0 | case PDocAccessible::Msg_SelectAll__ID: |
5846 | 0 | { |
5847 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5848 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5849 | 0 | } |
5850 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectAll", OTHER); |
5851 | 0 |
|
5852 | 0 | PickleIterator iter__(msg__); |
5853 | 0 | uint64_t aID; |
5854 | 0 |
|
5855 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5856 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5857 | 0 | return MsgValueError; |
5858 | 0 | } |
5859 | 0 | // Sentinel = 'aID' |
5860 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5861 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5862 | 0 | return MsgValueError; |
5863 | 0 | } |
5864 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5865 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5866 | 0 | FatalError("Transition error"); |
5867 | 0 | return MsgValueError; |
5868 | 0 | } |
5869 | 0 | int32_t id__ = Id(); |
5870 | 0 | bool aSuccess; |
5871 | 0 | if ((!(RecvSelectAll(aID, (&(aSuccess)))))) { |
5872 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5873 | 0 | // Error handled in mozilla::ipc::IPCResult |
5874 | 0 | return MsgProcessingError; |
5875 | 0 | } |
5876 | 0 | |
5877 | 0 | reply__ = PDocAccessible::Reply_SelectAll(id__); |
5878 | 0 |
|
5879 | 0 | WriteIPDLParam(reply__, this, aSuccess); |
5880 | 0 | // Sentinel = 'aSuccess' |
5881 | 0 | (reply__)->WriteSentinel(2132928722); |
5882 | 0 |
|
5883 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5884 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5885 | 0 | } |
5886 | 0 | return MsgProcessed; |
5887 | 0 | } |
5888 | 0 | case PDocAccessible::Msg_UnselectAll__ID: |
5889 | 0 | { |
5890 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5891 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5892 | 0 | } |
5893 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_UnselectAll", OTHER); |
5894 | 0 |
|
5895 | 0 | PickleIterator iter__(msg__); |
5896 | 0 | uint64_t aID; |
5897 | 0 |
|
5898 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5899 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5900 | 0 | return MsgValueError; |
5901 | 0 | } |
5902 | 0 | // Sentinel = 'aID' |
5903 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5904 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5905 | 0 | return MsgValueError; |
5906 | 0 | } |
5907 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5908 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5909 | 0 | FatalError("Transition error"); |
5910 | 0 | return MsgValueError; |
5911 | 0 | } |
5912 | 0 | int32_t id__ = Id(); |
5913 | 0 | bool aSuccess; |
5914 | 0 | if ((!(RecvUnselectAll(aID, (&(aSuccess)))))) { |
5915 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5916 | 0 | // Error handled in mozilla::ipc::IPCResult |
5917 | 0 | return MsgProcessingError; |
5918 | 0 | } |
5919 | 0 | |
5920 | 0 | reply__ = PDocAccessible::Reply_UnselectAll(id__); |
5921 | 0 |
|
5922 | 0 | WriteIPDLParam(reply__, this, aSuccess); |
5923 | 0 | // Sentinel = 'aSuccess' |
5924 | 0 | (reply__)->WriteSentinel(2132928722); |
5925 | 0 |
|
5926 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5927 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5928 | 0 | } |
5929 | 0 | return MsgProcessed; |
5930 | 0 | } |
5931 | 0 | case PDocAccessible::Msg_DoAction__ID: |
5932 | 0 | { |
5933 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5934 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5935 | 0 | } |
5936 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DoAction", OTHER); |
5937 | 0 |
|
5938 | 0 | PickleIterator iter__(msg__); |
5939 | 0 | uint64_t aID; |
5940 | 0 | uint8_t aIndex; |
5941 | 0 |
|
5942 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5943 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5944 | 0 | return MsgValueError; |
5945 | 0 | } |
5946 | 0 | // Sentinel = 'aID' |
5947 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
5948 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5949 | 0 | return MsgValueError; |
5950 | 0 | } |
5951 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
5952 | 0 | FatalError("Error deserializing 'uint8_t'"); |
5953 | 0 | return MsgValueError; |
5954 | 0 | } |
5955 | 0 | // Sentinel = 'aIndex' |
5956 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
5957 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'"); |
5958 | 0 | return MsgValueError; |
5959 | 0 | } |
5960 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
5961 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5962 | 0 | FatalError("Transition error"); |
5963 | 0 | return MsgValueError; |
5964 | 0 | } |
5965 | 0 | int32_t id__ = Id(); |
5966 | 0 | bool aSuccess; |
5967 | 0 | if ((!(RecvDoAction(aID, aIndex, (&(aSuccess)))))) { |
5968 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
5969 | 0 | // Error handled in mozilla::ipc::IPCResult |
5970 | 0 | return MsgProcessingError; |
5971 | 0 | } |
5972 | 0 | |
5973 | 0 | reply__ = PDocAccessible::Reply_DoAction(id__); |
5974 | 0 |
|
5975 | 0 | WriteIPDLParam(reply__, this, aSuccess); |
5976 | 0 | // Sentinel = 'aSuccess' |
5977 | 0 | (reply__)->WriteSentinel(2132928722); |
5978 | 0 |
|
5979 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5980 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
5981 | 0 | } |
5982 | 0 | return MsgProcessed; |
5983 | 0 | } |
5984 | 0 | case PDocAccessible::Msg_ActionCount__ID: |
5985 | 0 | { |
5986 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
5987 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5988 | 0 | } |
5989 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionCount", OTHER); |
5990 | 0 |
|
5991 | 0 | PickleIterator iter__(msg__); |
5992 | 0 | uint64_t aID; |
5993 | 0 |
|
5994 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
5995 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5996 | 0 | return MsgValueError; |
5997 | 0 | } |
5998 | 0 | // Sentinel = 'aID' |
5999 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6000 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6001 | 0 | return MsgValueError; |
6002 | 0 | } |
6003 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6004 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6005 | 0 | FatalError("Transition error"); |
6006 | 0 | return MsgValueError; |
6007 | 0 | } |
6008 | 0 | int32_t id__ = Id(); |
6009 | 0 | uint8_t aCount; |
6010 | 0 | if ((!(RecvActionCount(aID, (&(aCount)))))) { |
6011 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6012 | 0 | // Error handled in mozilla::ipc::IPCResult |
6013 | 0 | return MsgProcessingError; |
6014 | 0 | } |
6015 | 0 | |
6016 | 0 | reply__ = PDocAccessible::Reply_ActionCount(id__); |
6017 | 0 |
|
6018 | 0 | WriteIPDLParam(reply__, this, aCount); |
6019 | 0 | // Sentinel = 'aCount' |
6020 | 0 | (reply__)->WriteSentinel(2344199296); |
6021 | 0 |
|
6022 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6023 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6024 | 0 | } |
6025 | 0 | return MsgProcessed; |
6026 | 0 | } |
6027 | 0 | case PDocAccessible::Msg_ActionDescriptionAt__ID: |
6028 | 0 | { |
6029 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6030 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6031 | 0 | } |
6032 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionDescriptionAt", OTHER); |
6033 | 0 |
|
6034 | 0 | PickleIterator iter__(msg__); |
6035 | 0 | uint64_t aID; |
6036 | 0 | uint8_t aIndex; |
6037 | 0 |
|
6038 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6039 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6040 | 0 | return MsgValueError; |
6041 | 0 | } |
6042 | 0 | // Sentinel = 'aID' |
6043 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6044 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6045 | 0 | return MsgValueError; |
6046 | 0 | } |
6047 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
6048 | 0 | FatalError("Error deserializing 'uint8_t'"); |
6049 | 0 | return MsgValueError; |
6050 | 0 | } |
6051 | 0 | // Sentinel = 'aIndex' |
6052 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
6053 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'"); |
6054 | 0 | return MsgValueError; |
6055 | 0 | } |
6056 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6057 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6058 | 0 | FatalError("Transition error"); |
6059 | 0 | return MsgValueError; |
6060 | 0 | } |
6061 | 0 | int32_t id__ = Id(); |
6062 | 0 | nsString aDescription; |
6063 | 0 | if ((!(RecvActionDescriptionAt(aID, aIndex, (&(aDescription)))))) { |
6064 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6065 | 0 | // Error handled in mozilla::ipc::IPCResult |
6066 | 0 | return MsgProcessingError; |
6067 | 0 | } |
6068 | 0 | |
6069 | 0 | reply__ = PDocAccessible::Reply_ActionDescriptionAt(id__); |
6070 | 0 |
|
6071 | 0 | WriteIPDLParam(reply__, this, aDescription); |
6072 | 0 | // Sentinel = 'aDescription' |
6073 | 0 | (reply__)->WriteSentinel(1173016929); |
6074 | 0 |
|
6075 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6076 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6077 | 0 | } |
6078 | 0 | return MsgProcessed; |
6079 | 0 | } |
6080 | 0 | case PDocAccessible::Msg_ActionNameAt__ID: |
6081 | 0 | { |
6082 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6083 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6084 | 0 | } |
6085 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionNameAt", OTHER); |
6086 | 0 |
|
6087 | 0 | PickleIterator iter__(msg__); |
6088 | 0 | uint64_t aID; |
6089 | 0 | uint8_t aIndex; |
6090 | 0 |
|
6091 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6092 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6093 | 0 | return MsgValueError; |
6094 | 0 | } |
6095 | 0 | // Sentinel = 'aID' |
6096 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6097 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6098 | 0 | return MsgValueError; |
6099 | 0 | } |
6100 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIndex)))))) { |
6101 | 0 | FatalError("Error deserializing 'uint8_t'"); |
6102 | 0 | return MsgValueError; |
6103 | 0 | } |
6104 | 0 | // Sentinel = 'aIndex' |
6105 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
6106 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'"); |
6107 | 0 | return MsgValueError; |
6108 | 0 | } |
6109 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6110 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6111 | 0 | FatalError("Transition error"); |
6112 | 0 | return MsgValueError; |
6113 | 0 | } |
6114 | 0 | int32_t id__ = Id(); |
6115 | 0 | nsString aName; |
6116 | 0 | if ((!(RecvActionNameAt(aID, aIndex, (&(aName)))))) { |
6117 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6118 | 0 | // Error handled in mozilla::ipc::IPCResult |
6119 | 0 | return MsgProcessingError; |
6120 | 0 | } |
6121 | 0 | |
6122 | 0 | reply__ = PDocAccessible::Reply_ActionNameAt(id__); |
6123 | 0 |
|
6124 | 0 | WriteIPDLParam(reply__, this, aName); |
6125 | 0 | // Sentinel = 'aName' |
6126 | 0 | (reply__)->WriteSentinel(1450162941); |
6127 | 0 |
|
6128 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6129 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6130 | 0 | } |
6131 | 0 | return MsgProcessed; |
6132 | 0 | } |
6133 | 0 | case PDocAccessible::Msg_AccessKey__ID: |
6134 | 0 | { |
6135 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6136 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6137 | 0 | } |
6138 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AccessKey", OTHER); |
6139 | 0 |
|
6140 | 0 | PickleIterator iter__(msg__); |
6141 | 0 | uint64_t aID; |
6142 | 0 |
|
6143 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6144 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6145 | 0 | return MsgValueError; |
6146 | 0 | } |
6147 | 0 | // Sentinel = 'aID' |
6148 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6149 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6150 | 0 | return MsgValueError; |
6151 | 0 | } |
6152 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6153 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6154 | 0 | FatalError("Transition error"); |
6155 | 0 | return MsgValueError; |
6156 | 0 | } |
6157 | 0 | int32_t id__ = Id(); |
6158 | 0 | uint32_t aKey; |
6159 | 0 | uint32_t aModifierMask; |
6160 | 0 | if ((!(RecvAccessKey(aID, (&(aKey)), (&(aModifierMask)))))) { |
6161 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6162 | 0 | // Error handled in mozilla::ipc::IPCResult |
6163 | 0 | return MsgProcessingError; |
6164 | 0 | } |
6165 | 0 | |
6166 | 0 | reply__ = PDocAccessible::Reply_AccessKey(id__); |
6167 | 0 |
|
6168 | 0 | WriteIPDLParam(reply__, this, aKey); |
6169 | 0 | // Sentinel = 'aKey' |
6170 | 0 | (reply__)->WriteSentinel(3415890794); |
6171 | 0 | WriteIPDLParam(reply__, this, aModifierMask); |
6172 | 0 | // Sentinel = 'aModifierMask' |
6173 | 0 | (reply__)->WriteSentinel(2810469331); |
6174 | 0 |
|
6175 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6176 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6177 | 0 | } |
6178 | 0 | return MsgProcessed; |
6179 | 0 | } |
6180 | 0 | case PDocAccessible::Msg_KeyboardShortcut__ID: |
6181 | 0 | { |
6182 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6183 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6184 | 0 | } |
6185 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_KeyboardShortcut", OTHER); |
6186 | 0 |
|
6187 | 0 | PickleIterator iter__(msg__); |
6188 | 0 | uint64_t aID; |
6189 | 0 |
|
6190 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6191 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6192 | 0 | return MsgValueError; |
6193 | 0 | } |
6194 | 0 | // Sentinel = 'aID' |
6195 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6196 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6197 | 0 | return MsgValueError; |
6198 | 0 | } |
6199 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6200 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6201 | 0 | FatalError("Transition error"); |
6202 | 0 | return MsgValueError; |
6203 | 0 | } |
6204 | 0 | int32_t id__ = Id(); |
6205 | 0 | uint32_t aKey; |
6206 | 0 | uint32_t aModifierMask; |
6207 | 0 | if ((!(RecvKeyboardShortcut(aID, (&(aKey)), (&(aModifierMask)))))) { |
6208 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6209 | 0 | // Error handled in mozilla::ipc::IPCResult |
6210 | 0 | return MsgProcessingError; |
6211 | 0 | } |
6212 | 0 | |
6213 | 0 | reply__ = PDocAccessible::Reply_KeyboardShortcut(id__); |
6214 | 0 |
|
6215 | 0 | WriteIPDLParam(reply__, this, aKey); |
6216 | 0 | // Sentinel = 'aKey' |
6217 | 0 | (reply__)->WriteSentinel(3415890794); |
6218 | 0 | WriteIPDLParam(reply__, this, aModifierMask); |
6219 | 0 | // Sentinel = 'aModifierMask' |
6220 | 0 | (reply__)->WriteSentinel(2810469331); |
6221 | 0 |
|
6222 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6223 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6224 | 0 | } |
6225 | 0 | return MsgProcessed; |
6226 | 0 | } |
6227 | 0 | case PDocAccessible::Msg_AtkKeyBinding__ID: |
6228 | 0 | { |
6229 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6230 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6231 | 0 | } |
6232 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkKeyBinding", OTHER); |
6233 | 0 |
|
6234 | 0 | PickleIterator iter__(msg__); |
6235 | 0 | uint64_t aID; |
6236 | 0 |
|
6237 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6238 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6239 | 0 | return MsgValueError; |
6240 | 0 | } |
6241 | 0 | // Sentinel = 'aID' |
6242 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6243 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6244 | 0 | return MsgValueError; |
6245 | 0 | } |
6246 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6247 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6248 | 0 | FatalError("Transition error"); |
6249 | 0 | return MsgValueError; |
6250 | 0 | } |
6251 | 0 | int32_t id__ = Id(); |
6252 | 0 | nsString aResult; |
6253 | 0 | if ((!(RecvAtkKeyBinding(aID, (&(aResult)))))) { |
6254 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6255 | 0 | // Error handled in mozilla::ipc::IPCResult |
6256 | 0 | return MsgProcessingError; |
6257 | 0 | } |
6258 | 0 | |
6259 | 0 | reply__ = PDocAccessible::Reply_AtkKeyBinding(id__); |
6260 | 0 |
|
6261 | 0 | WriteIPDLParam(reply__, this, aResult); |
6262 | 0 | // Sentinel = 'aResult' |
6263 | 0 | (reply__)->WriteSentinel(3888726089); |
6264 | 0 |
|
6265 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6266 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6267 | 0 | } |
6268 | 0 | return MsgProcessed; |
6269 | 0 | } |
6270 | 0 | case PDocAccessible::Msg_CurValue__ID: |
6271 | 0 | { |
6272 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6273 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6274 | 0 | } |
6275 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CurValue", OTHER); |
6276 | 0 |
|
6277 | 0 | PickleIterator iter__(msg__); |
6278 | 0 | uint64_t aID; |
6279 | 0 |
|
6280 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6281 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6282 | 0 | return MsgValueError; |
6283 | 0 | } |
6284 | 0 | // Sentinel = 'aID' |
6285 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6286 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6287 | 0 | return MsgValueError; |
6288 | 0 | } |
6289 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6290 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6291 | 0 | FatalError("Transition error"); |
6292 | 0 | return MsgValueError; |
6293 | 0 | } |
6294 | 0 | int32_t id__ = Id(); |
6295 | 0 | double aValue; |
6296 | 0 | if ((!(RecvCurValue(aID, (&(aValue)))))) { |
6297 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6298 | 0 | // Error handled in mozilla::ipc::IPCResult |
6299 | 0 | return MsgProcessingError; |
6300 | 0 | } |
6301 | 0 | |
6302 | 0 | reply__ = PDocAccessible::Reply_CurValue(id__); |
6303 | 0 |
|
6304 | 0 | WriteIPDLParam(reply__, this, aValue); |
6305 | 0 | // Sentinel = 'aValue' |
6306 | 0 | (reply__)->WriteSentinel(2522186438); |
6307 | 0 |
|
6308 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6309 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6310 | 0 | } |
6311 | 0 | return MsgProcessed; |
6312 | 0 | } |
6313 | 0 | case PDocAccessible::Msg_SetCurValue__ID: |
6314 | 0 | { |
6315 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6316 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6317 | 0 | } |
6318 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetCurValue", OTHER); |
6319 | 0 |
|
6320 | 0 | PickleIterator iter__(msg__); |
6321 | 0 | uint64_t aID; |
6322 | 0 | double aValue; |
6323 | 0 |
|
6324 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6325 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6326 | 0 | return MsgValueError; |
6327 | 0 | } |
6328 | 0 | // Sentinel = 'aID' |
6329 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6330 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6331 | 0 | return MsgValueError; |
6332 | 0 | } |
6333 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aValue)))))) { |
6334 | 0 | FatalError("Error deserializing 'double'"); |
6335 | 0 | return MsgValueError; |
6336 | 0 | } |
6337 | 0 | // Sentinel = 'aValue' |
6338 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2522186438)))) { |
6339 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'double'"); |
6340 | 0 | return MsgValueError; |
6341 | 0 | } |
6342 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6343 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6344 | 0 | FatalError("Transition error"); |
6345 | 0 | return MsgValueError; |
6346 | 0 | } |
6347 | 0 | int32_t id__ = Id(); |
6348 | 0 | bool aRetVal; |
6349 | 0 | if ((!(RecvSetCurValue(aID, aValue, (&(aRetVal)))))) { |
6350 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6351 | 0 | // Error handled in mozilla::ipc::IPCResult |
6352 | 0 | return MsgProcessingError; |
6353 | 0 | } |
6354 | 0 | |
6355 | 0 | reply__ = PDocAccessible::Reply_SetCurValue(id__); |
6356 | 0 |
|
6357 | 0 | WriteIPDLParam(reply__, this, aRetVal); |
6358 | 0 | // Sentinel = 'aRetVal' |
6359 | 0 | (reply__)->WriteSentinel(4235942908); |
6360 | 0 |
|
6361 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6362 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6363 | 0 | } |
6364 | 0 | return MsgProcessed; |
6365 | 0 | } |
6366 | 0 | case PDocAccessible::Msg_MinValue__ID: |
6367 | 0 | { |
6368 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6369 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6370 | 0 | } |
6371 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MinValue", OTHER); |
6372 | 0 |
|
6373 | 0 | PickleIterator iter__(msg__); |
6374 | 0 | uint64_t aID; |
6375 | 0 |
|
6376 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6377 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6378 | 0 | return MsgValueError; |
6379 | 0 | } |
6380 | 0 | // Sentinel = 'aID' |
6381 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6382 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6383 | 0 | return MsgValueError; |
6384 | 0 | } |
6385 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6386 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6387 | 0 | FatalError("Transition error"); |
6388 | 0 | return MsgValueError; |
6389 | 0 | } |
6390 | 0 | int32_t id__ = Id(); |
6391 | 0 | double aValue; |
6392 | 0 | if ((!(RecvMinValue(aID, (&(aValue)))))) { |
6393 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6394 | 0 | // Error handled in mozilla::ipc::IPCResult |
6395 | 0 | return MsgProcessingError; |
6396 | 0 | } |
6397 | 0 | |
6398 | 0 | reply__ = PDocAccessible::Reply_MinValue(id__); |
6399 | 0 |
|
6400 | 0 | WriteIPDLParam(reply__, this, aValue); |
6401 | 0 | // Sentinel = 'aValue' |
6402 | 0 | (reply__)->WriteSentinel(2522186438); |
6403 | 0 |
|
6404 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6405 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6406 | 0 | } |
6407 | 0 | return MsgProcessed; |
6408 | 0 | } |
6409 | 0 | case PDocAccessible::Msg_MaxValue__ID: |
6410 | 0 | { |
6411 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6412 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6413 | 0 | } |
6414 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MaxValue", OTHER); |
6415 | 0 |
|
6416 | 0 | PickleIterator iter__(msg__); |
6417 | 0 | uint64_t aID; |
6418 | 0 |
|
6419 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6420 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6421 | 0 | return MsgValueError; |
6422 | 0 | } |
6423 | 0 | // Sentinel = 'aID' |
6424 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6425 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6426 | 0 | return MsgValueError; |
6427 | 0 | } |
6428 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6429 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6430 | 0 | FatalError("Transition error"); |
6431 | 0 | return MsgValueError; |
6432 | 0 | } |
6433 | 0 | int32_t id__ = Id(); |
6434 | 0 | double aValue; |
6435 | 0 | if ((!(RecvMaxValue(aID, (&(aValue)))))) { |
6436 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6437 | 0 | // Error handled in mozilla::ipc::IPCResult |
6438 | 0 | return MsgProcessingError; |
6439 | 0 | } |
6440 | 0 | |
6441 | 0 | reply__ = PDocAccessible::Reply_MaxValue(id__); |
6442 | 0 |
|
6443 | 0 | WriteIPDLParam(reply__, this, aValue); |
6444 | 0 | // Sentinel = 'aValue' |
6445 | 0 | (reply__)->WriteSentinel(2522186438); |
6446 | 0 |
|
6447 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6448 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6449 | 0 | } |
6450 | 0 | return MsgProcessed; |
6451 | 0 | } |
6452 | 0 | case PDocAccessible::Msg_Step__ID: |
6453 | 0 | { |
6454 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6455 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6456 | 0 | } |
6457 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Step", OTHER); |
6458 | 0 |
|
6459 | 0 | PickleIterator iter__(msg__); |
6460 | 0 | uint64_t aID; |
6461 | 0 |
|
6462 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6463 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6464 | 0 | return MsgValueError; |
6465 | 0 | } |
6466 | 0 | // Sentinel = 'aID' |
6467 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6468 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6469 | 0 | return MsgValueError; |
6470 | 0 | } |
6471 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6472 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6473 | 0 | FatalError("Transition error"); |
6474 | 0 | return MsgValueError; |
6475 | 0 | } |
6476 | 0 | int32_t id__ = Id(); |
6477 | 0 | double aStep; |
6478 | 0 | if ((!(RecvStep(aID, (&(aStep)))))) { |
6479 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6480 | 0 | // Error handled in mozilla::ipc::IPCResult |
6481 | 0 | return MsgProcessingError; |
6482 | 0 | } |
6483 | 0 | |
6484 | 0 | reply__ = PDocAccessible::Reply_Step(id__); |
6485 | 0 |
|
6486 | 0 | WriteIPDLParam(reply__, this, aStep); |
6487 | 0 | // Sentinel = 'aStep' |
6488 | 0 | (reply__)->WriteSentinel(516775534); |
6489 | 0 |
|
6490 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6491 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6492 | 0 | } |
6493 | 0 | return MsgProcessed; |
6494 | 0 | } |
6495 | 0 | case PDocAccessible::Msg_FocusedChild__ID: |
6496 | 0 | { |
6497 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6498 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6499 | 0 | } |
6500 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_FocusedChild", OTHER); |
6501 | 0 |
|
6502 | 0 | PickleIterator iter__(msg__); |
6503 | 0 | uint64_t aID; |
6504 | 0 |
|
6505 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6506 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6507 | 0 | return MsgValueError; |
6508 | 0 | } |
6509 | 0 | // Sentinel = 'aID' |
6510 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6511 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6512 | 0 | return MsgValueError; |
6513 | 0 | } |
6514 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6515 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6516 | 0 | FatalError("Transition error"); |
6517 | 0 | return MsgValueError; |
6518 | 0 | } |
6519 | 0 | int32_t id__ = Id(); |
6520 | 0 | uint64_t aChild; |
6521 | 0 | bool aOk; |
6522 | 0 | if ((!(RecvFocusedChild(aID, (&(aChild)), (&(aOk)))))) { |
6523 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6524 | 0 | // Error handled in mozilla::ipc::IPCResult |
6525 | 0 | return MsgProcessingError; |
6526 | 0 | } |
6527 | 0 | |
6528 | 0 | reply__ = PDocAccessible::Reply_FocusedChild(id__); |
6529 | 0 |
|
6530 | 0 | WriteIPDLParam(reply__, this, aChild); |
6531 | 0 | // Sentinel = 'aChild' |
6532 | 0 | (reply__)->WriteSentinel(1727831903); |
6533 | 0 | WriteIPDLParam(reply__, this, aOk); |
6534 | 0 | // Sentinel = 'aOk' |
6535 | 0 | (reply__)->WriteSentinel(2737042028); |
6536 | 0 |
|
6537 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6538 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6539 | 0 | } |
6540 | 0 | return MsgProcessed; |
6541 | 0 | } |
6542 | 0 | case PDocAccessible::Msg_Language__ID: |
6543 | 0 | { |
6544 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6545 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6546 | 0 | } |
6547 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Language", OTHER); |
6548 | 0 |
|
6549 | 0 | PickleIterator iter__(msg__); |
6550 | 0 | uint64_t aID; |
6551 | 0 |
|
6552 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6553 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6554 | 0 | return MsgValueError; |
6555 | 0 | } |
6556 | 0 | // Sentinel = 'aID' |
6557 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6558 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6559 | 0 | return MsgValueError; |
6560 | 0 | } |
6561 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6562 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6563 | 0 | FatalError("Transition error"); |
6564 | 0 | return MsgValueError; |
6565 | 0 | } |
6566 | 0 | int32_t id__ = Id(); |
6567 | 0 | nsString aLocale; |
6568 | 0 | if ((!(RecvLanguage(aID, (&(aLocale)))))) { |
6569 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6570 | 0 | // Error handled in mozilla::ipc::IPCResult |
6571 | 0 | return MsgProcessingError; |
6572 | 0 | } |
6573 | 0 | |
6574 | 0 | reply__ = PDocAccessible::Reply_Language(id__); |
6575 | 0 |
|
6576 | 0 | WriteIPDLParam(reply__, this, aLocale); |
6577 | 0 | // Sentinel = 'aLocale' |
6578 | 0 | (reply__)->WriteSentinel(1354699728); |
6579 | 0 |
|
6580 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6581 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6582 | 0 | } |
6583 | 0 | return MsgProcessed; |
6584 | 0 | } |
6585 | 0 | case PDocAccessible::Msg_DocType__ID: |
6586 | 0 | { |
6587 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6588 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6589 | 0 | } |
6590 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DocType", OTHER); |
6591 | 0 |
|
6592 | 0 | PickleIterator iter__(msg__); |
6593 | 0 | uint64_t aID; |
6594 | 0 |
|
6595 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6596 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6597 | 0 | return MsgValueError; |
6598 | 0 | } |
6599 | 0 | // Sentinel = 'aID' |
6600 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6601 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6602 | 0 | return MsgValueError; |
6603 | 0 | } |
6604 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6605 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6606 | 0 | FatalError("Transition error"); |
6607 | 0 | return MsgValueError; |
6608 | 0 | } |
6609 | 0 | int32_t id__ = Id(); |
6610 | 0 | nsString aType; |
6611 | 0 | if ((!(RecvDocType(aID, (&(aType)))))) { |
6612 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6613 | 0 | // Error handled in mozilla::ipc::IPCResult |
6614 | 0 | return MsgProcessingError; |
6615 | 0 | } |
6616 | 0 | |
6617 | 0 | reply__ = PDocAccessible::Reply_DocType(id__); |
6618 | 0 |
|
6619 | 0 | WriteIPDLParam(reply__, this, aType); |
6620 | 0 | // Sentinel = 'aType' |
6621 | 0 | (reply__)->WriteSentinel(1819585676); |
6622 | 0 |
|
6623 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6624 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6625 | 0 | } |
6626 | 0 | return MsgProcessed; |
6627 | 0 | } |
6628 | 0 | case PDocAccessible::Msg_Title__ID: |
6629 | 0 | { |
6630 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6631 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6632 | 0 | } |
6633 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Title", OTHER); |
6634 | 0 |
|
6635 | 0 | PickleIterator iter__(msg__); |
6636 | 0 | uint64_t aID; |
6637 | 0 |
|
6638 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6639 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6640 | 0 | return MsgValueError; |
6641 | 0 | } |
6642 | 0 | // Sentinel = 'aID' |
6643 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6644 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6645 | 0 | return MsgValueError; |
6646 | 0 | } |
6647 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6648 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6649 | 0 | FatalError("Transition error"); |
6650 | 0 | return MsgValueError; |
6651 | 0 | } |
6652 | 0 | int32_t id__ = Id(); |
6653 | 0 | nsString aTitle; |
6654 | 0 | if ((!(RecvTitle(aID, (&(aTitle)))))) { |
6655 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6656 | 0 | // Error handled in mozilla::ipc::IPCResult |
6657 | 0 | return MsgProcessingError; |
6658 | 0 | } |
6659 | 0 | |
6660 | 0 | reply__ = PDocAccessible::Reply_Title(id__); |
6661 | 0 |
|
6662 | 0 | WriteIPDLParam(reply__, this, aTitle); |
6663 | 0 | // Sentinel = 'aTitle' |
6664 | 0 | (reply__)->WriteSentinel(4082117431); |
6665 | 0 |
|
6666 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6667 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6668 | 0 | } |
6669 | 0 | return MsgProcessed; |
6670 | 0 | } |
6671 | 0 | case PDocAccessible::Msg_URL__ID: |
6672 | 0 | { |
6673 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6674 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6675 | 0 | } |
6676 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_URL", OTHER); |
6677 | 0 |
|
6678 | 0 | PickleIterator iter__(msg__); |
6679 | 0 | uint64_t aID; |
6680 | 0 |
|
6681 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6682 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6683 | 0 | return MsgValueError; |
6684 | 0 | } |
6685 | 0 | // Sentinel = 'aID' |
6686 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6687 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6688 | 0 | return MsgValueError; |
6689 | 0 | } |
6690 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6691 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6692 | 0 | FatalError("Transition error"); |
6693 | 0 | return MsgValueError; |
6694 | 0 | } |
6695 | 0 | int32_t id__ = Id(); |
6696 | 0 | nsString aURL; |
6697 | 0 | if ((!(RecvURL(aID, (&(aURL)))))) { |
6698 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6699 | 0 | // Error handled in mozilla::ipc::IPCResult |
6700 | 0 | return MsgProcessingError; |
6701 | 0 | } |
6702 | 0 | |
6703 | 0 | reply__ = PDocAccessible::Reply_URL(id__); |
6704 | 0 |
|
6705 | 0 | WriteIPDLParam(reply__, this, aURL); |
6706 | 0 | // Sentinel = 'aURL' |
6707 | 0 | (reply__)->WriteSentinel(2075506328); |
6708 | 0 |
|
6709 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6710 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6711 | 0 | } |
6712 | 0 | return MsgProcessed; |
6713 | 0 | } |
6714 | 0 | case PDocAccessible::Msg_MimeType__ID: |
6715 | 0 | { |
6716 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6717 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6718 | 0 | } |
6719 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MimeType", OTHER); |
6720 | 0 |
|
6721 | 0 | PickleIterator iter__(msg__); |
6722 | 0 | uint64_t aID; |
6723 | 0 |
|
6724 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6725 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6726 | 0 | return MsgValueError; |
6727 | 0 | } |
6728 | 0 | // Sentinel = 'aID' |
6729 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6730 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6731 | 0 | return MsgValueError; |
6732 | 0 | } |
6733 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6734 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6735 | 0 | FatalError("Transition error"); |
6736 | 0 | return MsgValueError; |
6737 | 0 | } |
6738 | 0 | int32_t id__ = Id(); |
6739 | 0 | nsString aMime; |
6740 | 0 | if ((!(RecvMimeType(aID, (&(aMime)))))) { |
6741 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6742 | 0 | // Error handled in mozilla::ipc::IPCResult |
6743 | 0 | return MsgProcessingError; |
6744 | 0 | } |
6745 | 0 | |
6746 | 0 | reply__ = PDocAccessible::Reply_MimeType(id__); |
6747 | 0 |
|
6748 | 0 | WriteIPDLParam(reply__, this, aMime); |
6749 | 0 | // Sentinel = 'aMime' |
6750 | 0 | (reply__)->WriteSentinel(4202017388); |
6751 | 0 |
|
6752 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6753 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6754 | 0 | } |
6755 | 0 | return MsgProcessed; |
6756 | 0 | } |
6757 | 0 | case PDocAccessible::Msg_URLDocTypeMimeType__ID: |
6758 | 0 | { |
6759 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6760 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6761 | 0 | } |
6762 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_URLDocTypeMimeType", OTHER); |
6763 | 0 |
|
6764 | 0 | PickleIterator iter__(msg__); |
6765 | 0 | uint64_t aID; |
6766 | 0 |
|
6767 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6768 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6769 | 0 | return MsgValueError; |
6770 | 0 | } |
6771 | 0 | // Sentinel = 'aID' |
6772 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6773 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6774 | 0 | return MsgValueError; |
6775 | 0 | } |
6776 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6777 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6778 | 0 | FatalError("Transition error"); |
6779 | 0 | return MsgValueError; |
6780 | 0 | } |
6781 | 0 | int32_t id__ = Id(); |
6782 | 0 | nsString aURL; |
6783 | 0 | nsString aDocType; |
6784 | 0 | nsString aMimeType; |
6785 | 0 | if ((!(RecvURLDocTypeMimeType(aID, (&(aURL)), (&(aDocType)), (&(aMimeType)))))) { |
6786 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6787 | 0 | // Error handled in mozilla::ipc::IPCResult |
6788 | 0 | return MsgProcessingError; |
6789 | 0 | } |
6790 | 0 | |
6791 | 0 | reply__ = PDocAccessible::Reply_URLDocTypeMimeType(id__); |
6792 | 0 |
|
6793 | 0 | WriteIPDLParam(reply__, this, aURL); |
6794 | 0 | // Sentinel = 'aURL' |
6795 | 0 | (reply__)->WriteSentinel(2075506328); |
6796 | 0 | WriteIPDLParam(reply__, this, aDocType); |
6797 | 0 | // Sentinel = 'aDocType' |
6798 | 0 | (reply__)->WriteSentinel(1438909565); |
6799 | 0 | WriteIPDLParam(reply__, this, aMimeType); |
6800 | 0 | // Sentinel = 'aMimeType' |
6801 | 0 | (reply__)->WriteSentinel(698220456); |
6802 | 0 |
|
6803 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6804 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6805 | 0 | } |
6806 | 0 | return MsgProcessed; |
6807 | 0 | } |
6808 | 0 | case PDocAccessible::Msg_AccessibleAtPoint__ID: |
6809 | 0 | { |
6810 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6811 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6812 | 0 | } |
6813 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AccessibleAtPoint", OTHER); |
6814 | 0 |
|
6815 | 0 | PickleIterator iter__(msg__); |
6816 | 0 | uint64_t aID; |
6817 | 0 | int32_t aX; |
6818 | 0 | int32_t aY; |
6819 | 0 | bool aNeedsScreenCoords; |
6820 | 0 | uint32_t aWhich; |
6821 | 0 |
|
6822 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6823 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6824 | 0 | return MsgValueError; |
6825 | 0 | } |
6826 | 0 | // Sentinel = 'aID' |
6827 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6828 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6829 | 0 | return MsgValueError; |
6830 | 0 | } |
6831 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aX)))))) { |
6832 | 0 | FatalError("Error deserializing 'int32_t'"); |
6833 | 0 | return MsgValueError; |
6834 | 0 | } |
6835 | 0 | // Sentinel = 'aX' |
6836 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
6837 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
6838 | 0 | return MsgValueError; |
6839 | 0 | } |
6840 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aY)))))) { |
6841 | 0 | FatalError("Error deserializing 'int32_t'"); |
6842 | 0 | return MsgValueError; |
6843 | 0 | } |
6844 | 0 | // Sentinel = 'aY' |
6845 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
6846 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
6847 | 0 | return MsgValueError; |
6848 | 0 | } |
6849 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aNeedsScreenCoords)))))) { |
6850 | 0 | FatalError("Error deserializing 'bool'"); |
6851 | 0 | return MsgValueError; |
6852 | 0 | } |
6853 | 0 | // Sentinel = 'aNeedsScreenCoords' |
6854 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 276215016)))) { |
6855 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
6856 | 0 | return MsgValueError; |
6857 | 0 | } |
6858 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aWhich)))))) { |
6859 | 0 | FatalError("Error deserializing 'uint32_t'"); |
6860 | 0 | return MsgValueError; |
6861 | 0 | } |
6862 | 0 | // Sentinel = 'aWhich' |
6863 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3864211546)))) { |
6864 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
6865 | 0 | return MsgValueError; |
6866 | 0 | } |
6867 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6868 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6869 | 0 | FatalError("Transition error"); |
6870 | 0 | return MsgValueError; |
6871 | 0 | } |
6872 | 0 | int32_t id__ = Id(); |
6873 | 0 | uint64_t aResult; |
6874 | 0 | bool aOk; |
6875 | 0 | if ((!(RecvAccessibleAtPoint(aID, aX, aY, aNeedsScreenCoords, aWhich, (&(aResult)), (&(aOk)))))) { |
6876 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6877 | 0 | // Error handled in mozilla::ipc::IPCResult |
6878 | 0 | return MsgProcessingError; |
6879 | 0 | } |
6880 | 0 | |
6881 | 0 | reply__ = PDocAccessible::Reply_AccessibleAtPoint(id__); |
6882 | 0 |
|
6883 | 0 | WriteIPDLParam(reply__, this, aResult); |
6884 | 0 | // Sentinel = 'aResult' |
6885 | 0 | (reply__)->WriteSentinel(3888726089); |
6886 | 0 | WriteIPDLParam(reply__, this, aOk); |
6887 | 0 | // Sentinel = 'aOk' |
6888 | 0 | (reply__)->WriteSentinel(2737042028); |
6889 | 0 |
|
6890 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6891 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6892 | 0 | } |
6893 | 0 | return MsgProcessed; |
6894 | 0 | } |
6895 | 0 | case PDocAccessible::Msg_Extents__ID: |
6896 | 0 | { |
6897 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6898 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6899 | 0 | } |
6900 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Extents", OTHER); |
6901 | 0 |
|
6902 | 0 | PickleIterator iter__(msg__); |
6903 | 0 | uint64_t aID; |
6904 | 0 | bool aNeedsScreenCoords; |
6905 | 0 |
|
6906 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6907 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6908 | 0 | return MsgValueError; |
6909 | 0 | } |
6910 | 0 | // Sentinel = 'aID' |
6911 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6912 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6913 | 0 | return MsgValueError; |
6914 | 0 | } |
6915 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aNeedsScreenCoords)))))) { |
6916 | 0 | FatalError("Error deserializing 'bool'"); |
6917 | 0 | return MsgValueError; |
6918 | 0 | } |
6919 | 0 | // Sentinel = 'aNeedsScreenCoords' |
6920 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 276215016)))) { |
6921 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
6922 | 0 | return MsgValueError; |
6923 | 0 | } |
6924 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6925 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6926 | 0 | FatalError("Transition error"); |
6927 | 0 | return MsgValueError; |
6928 | 0 | } |
6929 | 0 | int32_t id__ = Id(); |
6930 | 0 | int32_t aX; |
6931 | 0 | int32_t aY; |
6932 | 0 | int32_t aWidth; |
6933 | 0 | int32_t aHeight; |
6934 | 0 | if ((!(RecvExtents(aID, aNeedsScreenCoords, (&(aX)), (&(aY)), (&(aWidth)), (&(aHeight)))))) { |
6935 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6936 | 0 | // Error handled in mozilla::ipc::IPCResult |
6937 | 0 | return MsgProcessingError; |
6938 | 0 | } |
6939 | 0 | |
6940 | 0 | reply__ = PDocAccessible::Reply_Extents(id__); |
6941 | 0 |
|
6942 | 0 | WriteIPDLParam(reply__, this, aX); |
6943 | 0 | // Sentinel = 'aX' |
6944 | 0 | (reply__)->WriteSentinel(2745208761); |
6945 | 0 | WriteIPDLParam(reply__, this, aY); |
6946 | 0 | // Sentinel = 'aY' |
6947 | 0 | (reply__)->WriteSentinel(2745208760); |
6948 | 0 | WriteIPDLParam(reply__, this, aWidth); |
6949 | 0 | // Sentinel = 'aWidth' |
6950 | 0 | (reply__)->WriteSentinel(196646625); |
6951 | 0 | WriteIPDLParam(reply__, this, aHeight); |
6952 | 0 | // Sentinel = 'aHeight' |
6953 | 0 | (reply__)->WriteSentinel(3588433859); |
6954 | 0 |
|
6955 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6956 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
6957 | 0 | } |
6958 | 0 | return MsgProcessed; |
6959 | 0 | } |
6960 | 0 | case PDocAccessible::Msg_ExtentsInCSSPixels__ID: |
6961 | 0 | { |
6962 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
6963 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6964 | 0 | } |
6965 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ExtentsInCSSPixels", OTHER); |
6966 | 0 |
|
6967 | 0 | PickleIterator iter__(msg__); |
6968 | 0 | uint64_t aID; |
6969 | 0 |
|
6970 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
6971 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6972 | 0 | return MsgValueError; |
6973 | 0 | } |
6974 | 0 | // Sentinel = 'aID' |
6975 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
6976 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6977 | 0 | return MsgValueError; |
6978 | 0 | } |
6979 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
6980 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6981 | 0 | FatalError("Transition error"); |
6982 | 0 | return MsgValueError; |
6983 | 0 | } |
6984 | 0 | int32_t id__ = Id(); |
6985 | 0 | int32_t aX; |
6986 | 0 | int32_t aY; |
6987 | 0 | int32_t aWidth; |
6988 | 0 | int32_t aHeight; |
6989 | 0 | if ((!(RecvExtentsInCSSPixels(aID, (&(aX)), (&(aY)), (&(aWidth)), (&(aHeight)))))) { |
6990 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
6991 | 0 | // Error handled in mozilla::ipc::IPCResult |
6992 | 0 | return MsgProcessingError; |
6993 | 0 | } |
6994 | 0 | |
6995 | 0 | reply__ = PDocAccessible::Reply_ExtentsInCSSPixels(id__); |
6996 | 0 |
|
6997 | 0 | WriteIPDLParam(reply__, this, aX); |
6998 | 0 | // Sentinel = 'aX' |
6999 | 0 | (reply__)->WriteSentinel(2745208761); |
7000 | 0 | WriteIPDLParam(reply__, this, aY); |
7001 | 0 | // Sentinel = 'aY' |
7002 | 0 | (reply__)->WriteSentinel(2745208760); |
7003 | 0 | WriteIPDLParam(reply__, this, aWidth); |
7004 | 0 | // Sentinel = 'aWidth' |
7005 | 0 | (reply__)->WriteSentinel(196646625); |
7006 | 0 | WriteIPDLParam(reply__, this, aHeight); |
7007 | 0 | // Sentinel = 'aHeight' |
7008 | 0 | (reply__)->WriteSentinel(3588433859); |
7009 | 0 |
|
7010 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
7011 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
7012 | 0 | } |
7013 | 0 | return MsgProcessed; |
7014 | 0 | } |
7015 | 0 | case PDocAccessible::Msg_DOMNodeID__ID: |
7016 | 0 | { |
7017 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
7018 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7019 | 0 | } |
7020 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DOMNodeID", OTHER); |
7021 | 0 |
|
7022 | 0 | PickleIterator iter__(msg__); |
7023 | 0 | uint64_t aID; |
7024 | 0 |
|
7025 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7026 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7027 | 0 | return MsgValueError; |
7028 | 0 | } |
7029 | 0 | // Sentinel = 'aID' |
7030 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7031 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7032 | 0 | return MsgValueError; |
7033 | 0 | } |
7034 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7035 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7036 | 0 | FatalError("Transition error"); |
7037 | 0 | return MsgValueError; |
7038 | 0 | } |
7039 | 0 | int32_t id__ = Id(); |
7040 | 0 | nsString aDOMNodeID; |
7041 | 0 | if ((!(RecvDOMNodeID(aID, (&(aDOMNodeID)))))) { |
7042 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7043 | 0 | // Error handled in mozilla::ipc::IPCResult |
7044 | 0 | return MsgProcessingError; |
7045 | 0 | } |
7046 | 0 | |
7047 | 0 | reply__ = PDocAccessible::Reply_DOMNodeID(id__); |
7048 | 0 |
|
7049 | 0 | WriteIPDLParam(reply__, this, aDOMNodeID); |
7050 | 0 | // Sentinel = 'aDOMNodeID' |
7051 | 0 | (reply__)->WriteSentinel(572881094); |
7052 | 0 |
|
7053 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleChild")) { |
7054 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending); |
7055 | 0 | } |
7056 | 0 | return MsgProcessed; |
7057 | 0 | } |
7058 | 0 | default: |
7059 | 0 | { |
7060 | 0 | return MsgNotKnown; |
7061 | 0 | } |
7062 | 0 | } |
7063 | 0 | } |
7064 | | |
7065 | | auto PDocAccessibleChild::OnCallReceived( |
7066 | | const Message& msg__, |
7067 | | Message*& reply__) -> PDocAccessibleChild::Result |
7068 | 0 | { |
7069 | 0 | MOZ_ASSERT_UNREACHABLE("message protocol not supported"); |
7070 | 0 | return MsgNotKnown; |
7071 | 0 | } |
7072 | | |
7073 | | auto PDocAccessibleChild::GetProtocolTypeId() -> int32_t |
7074 | 0 | { |
7075 | 0 | return PDocAccessibleMsgStart; |
7076 | 0 | } |
7077 | | |
7078 | | auto PDocAccessibleChild::DestroySubtree(ActorDestroyReason why) -> void |
7079 | 0 | { |
7080 | 0 | // Unregister from our manager. |
7081 | 0 | Unregister(Id()); |
7082 | 0 |
|
7083 | 0 | // Reject owning pending responses. |
7084 | 0 | (GetIPCChannel())->RejectPendingResponsesForActor(this); |
7085 | 0 |
|
7086 | 0 | // Finally, destroy "us". |
7087 | 0 | ActorDestroy(why); |
7088 | 0 | } |
7089 | | |
7090 | | auto PDocAccessibleChild::DeallocSubtree() -> void |
7091 | 0 | { |
7092 | 0 | } |
7093 | | |
7094 | | |
7095 | | |
7096 | | } // namespace a11y |
7097 | | } // namespace mozilla |
7098 | | namespace mozilla { |
7099 | | namespace ipc { |
7100 | | auto IPDLParamTraits<mozilla::a11y::PDocAccessibleChild>::Write( |
7101 | | IPC::Message* aMsg, |
7102 | | mozilla::ipc::IProtocol* aActor, |
7103 | | const paramType& aVar) -> void |
7104 | 0 | { |
7105 | 0 | int32_t id; |
7106 | 0 | if ((!(aVar))) { |
7107 | 0 | id = 0; |
7108 | 0 | } |
7109 | 0 | else { |
7110 | 0 | id = (aVar)->Id(); |
7111 | 0 | if ((1) == (id)) { |
7112 | 0 | (aActor)->FatalError("actor has been |delete|d"); |
7113 | 0 | } |
7114 | 0 | } |
7115 | 0 | WriteIPDLParam(aMsg, aActor, id); |
7116 | 0 | } |
7117 | | |
7118 | | auto IPDLParamTraits<mozilla::a11y::PDocAccessibleChild>::Read( |
7119 | | const IPC::Message* aMsg, |
7120 | | PickleIterator* aIter, |
7121 | | mozilla::ipc::IProtocol* aActor, |
7122 | | paramType* aVar) -> bool |
7123 | 0 | { |
7124 | 0 | mozilla::Maybe<mozilla::ipc::IProtocol*> actor = (aActor)->ReadActor(aMsg, aIter, true, "PDocAccessible", PDocAccessibleMsgStart); |
7125 | 0 | if ((actor).isNothing()) { |
7126 | 0 | return false; |
7127 | 0 | } |
7128 | 0 | |
7129 | 0 | (*(aVar)) = static_cast<mozilla::a11y::PDocAccessibleChild*>((actor).value()); |
7130 | 0 | return true; |
7131 | 0 | } |
7132 | | |
7133 | | } // namespace ipc |
7134 | | } // namespace mozilla |