/work/obj-fuzz/ipc/ipdl/PDocAccessibleParent.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/PDocAccessibleParent.h" |
8 | | |
9 | | #include "mozilla/ipc/PFileDescriptorSetParent.h" |
10 | | #include "mozilla/dom/PBrowserParent.h" |
11 | | |
12 | | #include "nsIFile.h" |
13 | | #include "GeckoProfiler.h" |
14 | | |
15 | | namespace mozilla { |
16 | | namespace a11y { |
17 | | |
18 | | |
19 | | auto PDocAccessibleParent::ActorDestroy(ActorDestroyReason aWhy) -> void |
20 | 0 | { |
21 | 0 | } |
22 | | |
23 | | MOZ_IMPLICIT PDocAccessibleParent::PDocAccessibleParent() : |
24 | | mozilla::ipc::IProtocol(mozilla::ipc::ParentSide), |
25 | | mLivenessState(mozilla::ipc::LivenessState::Dead) |
26 | 0 | { |
27 | 0 | MOZ_COUNT_CTOR(PDocAccessibleParent); |
28 | 0 | } |
29 | | |
30 | | PDocAccessibleParent::~PDocAccessibleParent() |
31 | 0 | { |
32 | 0 | MOZ_COUNT_DTOR(PDocAccessibleParent); |
33 | 0 | } |
34 | | |
35 | | auto PDocAccessibleParent::Manager() const -> PBrowserParent* |
36 | 0 | { |
37 | 0 | return static_cast<PBrowserParent*>(IProtocol::Manager()); |
38 | 0 | } |
39 | | |
40 | | auto PDocAccessibleParent::Send__delete__(PDocAccessibleParent* actor) -> bool |
41 | 0 | { |
42 | 0 | if ((!(actor))) { |
43 | 0 | return false; |
44 | 0 | } |
45 | 0 | |
46 | 0 | IPC::Message* msg__ = PDocAccessible::Msg___delete__((actor)->Id()); |
47 | 0 |
|
48 | 0 | MOZ_RELEASE_ASSERT(actor, "NULL actor value passed to non-nullable param"); |
49 | 0 | WriteIPDLParam(msg__, actor, actor); |
50 | 0 | // Sentinel = 'actor' |
51 | 0 | (msg__)->WriteSentinel(875202478); |
52 | 0 |
|
53 | 0 |
|
54 | 0 |
|
55 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
56 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
57 | 0 | } |
58 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg___delete__", OTHER); |
59 | 0 | if ((!(StateTransition(true, (&((actor)->mLivenessState)))))) { |
60 | 0 | mozilla::ipc::LogicError("Transition error"); |
61 | 0 | } |
62 | 0 |
|
63 | 0 | bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__); |
64 | 0 |
|
65 | 0 | IProtocol* mgr = (actor)->Manager(); |
66 | 0 | (actor)->DestroySubtree(Deletion); |
67 | 0 | (actor)->DeallocSubtree(); |
68 | 0 | (mgr)->RemoveManagee(PDocAccessibleMsgStart, actor); |
69 | 0 | return sendok__; |
70 | 0 | } |
71 | | |
72 | | auto PDocAccessibleParent::SendRestoreFocus() -> bool |
73 | 0 | { |
74 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RestoreFocus(Id()); |
75 | 0 |
|
76 | 0 |
|
77 | 0 |
|
78 | 0 |
|
79 | 0 |
|
80 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
81 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
82 | 0 | } |
83 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RestoreFocus", OTHER); |
84 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
85 | 0 | mozilla::ipc::LogicError("Transition error"); |
86 | 0 | } |
87 | 0 |
|
88 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
89 | 0 | return sendok__; |
90 | 0 | } |
91 | | |
92 | | auto PDocAccessibleParent::SendState( |
93 | | const uint64_t& aID, |
94 | | uint64_t* states) -> bool |
95 | 0 | { |
96 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_State(Id()); |
97 | 0 |
|
98 | 0 | WriteIPDLParam(msg__, this, aID); |
99 | 0 | // Sentinel = 'aID' |
100 | 0 | (msg__)->WriteSentinel(2735041849); |
101 | 0 |
|
102 | 0 |
|
103 | 0 |
|
104 | 0 | Message reply__; |
105 | 0 |
|
106 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
107 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
108 | 0 | } |
109 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_State", OTHER); |
110 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
111 | 0 | mozilla::ipc::LogicError("Transition error"); |
112 | 0 | } |
113 | 0 |
|
114 | 0 | bool sendok__; |
115 | 0 | { |
116 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_State"); |
117 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
118 | 0 | } |
119 | 0 | if ((!(sendok__))) { |
120 | 0 | return false; |
121 | 0 | } |
122 | 0 | |
123 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
124 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
125 | 0 | } |
126 | 0 |
|
127 | 0 | PickleIterator iter__(reply__); |
128 | 0 |
|
129 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, states)))) { |
130 | 0 | FatalError("Error deserializing 'uint64_t'"); |
131 | 0 | return false; |
132 | 0 | } |
133 | 0 | // Sentinel = 'states' |
134 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3730608528)))) { |
135 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
136 | 0 | return false; |
137 | 0 | } |
138 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
139 | 0 |
|
140 | 0 | return true; |
141 | 0 | } |
142 | | |
143 | | auto PDocAccessibleParent::SendNativeState( |
144 | | const uint64_t& aID, |
145 | | uint64_t* states) -> bool |
146 | 0 | { |
147 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_NativeState(Id()); |
148 | 0 |
|
149 | 0 | WriteIPDLParam(msg__, this, aID); |
150 | 0 | // Sentinel = 'aID' |
151 | 0 | (msg__)->WriteSentinel(2735041849); |
152 | 0 |
|
153 | 0 |
|
154 | 0 |
|
155 | 0 | Message reply__; |
156 | 0 |
|
157 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
158 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
159 | 0 | } |
160 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_NativeState", OTHER); |
161 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
162 | 0 | mozilla::ipc::LogicError("Transition error"); |
163 | 0 | } |
164 | 0 |
|
165 | 0 | bool sendok__; |
166 | 0 | { |
167 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_NativeState"); |
168 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
169 | 0 | } |
170 | 0 | if ((!(sendok__))) { |
171 | 0 | return false; |
172 | 0 | } |
173 | 0 | |
174 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
175 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
176 | 0 | } |
177 | 0 |
|
178 | 0 | PickleIterator iter__(reply__); |
179 | 0 |
|
180 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, states)))) { |
181 | 0 | FatalError("Error deserializing 'uint64_t'"); |
182 | 0 | return false; |
183 | 0 | } |
184 | 0 | // Sentinel = 'states' |
185 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3730608528)))) { |
186 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
187 | 0 | return false; |
188 | 0 | } |
189 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
190 | 0 |
|
191 | 0 | return true; |
192 | 0 | } |
193 | | |
194 | | auto PDocAccessibleParent::SendName( |
195 | | const uint64_t& aID, |
196 | | nsString* name) -> bool |
197 | 0 | { |
198 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Name(Id()); |
199 | 0 |
|
200 | 0 | WriteIPDLParam(msg__, this, aID); |
201 | 0 | // Sentinel = 'aID' |
202 | 0 | (msg__)->WriteSentinel(2735041849); |
203 | 0 |
|
204 | 0 |
|
205 | 0 |
|
206 | 0 | Message reply__; |
207 | 0 |
|
208 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
209 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
210 | 0 | } |
211 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Name", OTHER); |
212 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
213 | 0 | mozilla::ipc::LogicError("Transition error"); |
214 | 0 | } |
215 | 0 |
|
216 | 0 | bool sendok__; |
217 | 0 | { |
218 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Name"); |
219 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
220 | 0 | } |
221 | 0 | if ((!(sendok__))) { |
222 | 0 | return false; |
223 | 0 | } |
224 | 0 | |
225 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
226 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
227 | 0 | } |
228 | 0 |
|
229 | 0 | PickleIterator iter__(reply__); |
230 | 0 |
|
231 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, name)))) { |
232 | 0 | FatalError("Error deserializing 'nsString'"); |
233 | 0 | return false; |
234 | 0 | } |
235 | 0 | // Sentinel = 'name' |
236 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 15034981)))) { |
237 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
238 | 0 | return false; |
239 | 0 | } |
240 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
241 | 0 |
|
242 | 0 | return true; |
243 | 0 | } |
244 | | |
245 | | auto PDocAccessibleParent::SendValue( |
246 | | const uint64_t& aID, |
247 | | nsString* value) -> bool |
248 | 0 | { |
249 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Value(Id()); |
250 | 0 |
|
251 | 0 | WriteIPDLParam(msg__, this, aID); |
252 | 0 | // Sentinel = 'aID' |
253 | 0 | (msg__)->WriteSentinel(2735041849); |
254 | 0 |
|
255 | 0 |
|
256 | 0 |
|
257 | 0 | Message reply__; |
258 | 0 |
|
259 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
260 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
261 | 0 | } |
262 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Value", OTHER); |
263 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
264 | 0 | mozilla::ipc::LogicError("Transition error"); |
265 | 0 | } |
266 | 0 |
|
267 | 0 | bool sendok__; |
268 | 0 | { |
269 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Value"); |
270 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
271 | 0 | } |
272 | 0 | if ((!(sendok__))) { |
273 | 0 | return false; |
274 | 0 | } |
275 | 0 | |
276 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
277 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
278 | 0 | } |
279 | 0 |
|
280 | 0 | PickleIterator iter__(reply__); |
281 | 0 |
|
282 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, value)))) { |
283 | 0 | FatalError("Error deserializing 'nsString'"); |
284 | 0 | return false; |
285 | 0 | } |
286 | 0 | // Sentinel = 'value' |
287 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3456818542)))) { |
288 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
289 | 0 | return false; |
290 | 0 | } |
291 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
292 | 0 |
|
293 | 0 | return true; |
294 | 0 | } |
295 | | |
296 | | auto PDocAccessibleParent::SendHelp( |
297 | | const uint64_t& aID, |
298 | | nsString* help) -> bool |
299 | 0 | { |
300 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Help(Id()); |
301 | 0 |
|
302 | 0 | WriteIPDLParam(msg__, this, aID); |
303 | 0 | // Sentinel = 'aID' |
304 | 0 | (msg__)->WriteSentinel(2735041849); |
305 | 0 |
|
306 | 0 |
|
307 | 0 |
|
308 | 0 | Message reply__; |
309 | 0 |
|
310 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
311 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
312 | 0 | } |
313 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Help", OTHER); |
314 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
315 | 0 | mozilla::ipc::LogicError("Transition error"); |
316 | 0 | } |
317 | 0 |
|
318 | 0 | bool sendok__; |
319 | 0 | { |
320 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Help"); |
321 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
322 | 0 | } |
323 | 0 | if ((!(sendok__))) { |
324 | 0 | return false; |
325 | 0 | } |
326 | 0 | |
327 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
328 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
329 | 0 | } |
330 | 0 |
|
331 | 0 | PickleIterator iter__(reply__); |
332 | 0 |
|
333 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, help)))) { |
334 | 0 | FatalError("Error deserializing 'nsString'"); |
335 | 0 | return false; |
336 | 0 | } |
337 | 0 | // Sentinel = 'help' |
338 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4023988741)))) { |
339 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
340 | 0 | return false; |
341 | 0 | } |
342 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
343 | 0 |
|
344 | 0 | return true; |
345 | 0 | } |
346 | | |
347 | | auto PDocAccessibleParent::SendDescription( |
348 | | const uint64_t& aID, |
349 | | nsString* desc) -> bool |
350 | 0 | { |
351 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Description(Id()); |
352 | 0 |
|
353 | 0 | WriteIPDLParam(msg__, this, aID); |
354 | 0 | // Sentinel = 'aID' |
355 | 0 | (msg__)->WriteSentinel(2735041849); |
356 | 0 |
|
357 | 0 |
|
358 | 0 |
|
359 | 0 | Message reply__; |
360 | 0 |
|
361 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
362 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
363 | 0 | } |
364 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Description", OTHER); |
365 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
366 | 0 | mozilla::ipc::LogicError("Transition error"); |
367 | 0 | } |
368 | 0 |
|
369 | 0 | bool sendok__; |
370 | 0 | { |
371 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Description"); |
372 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
373 | 0 | } |
374 | 0 | if ((!(sendok__))) { |
375 | 0 | return false; |
376 | 0 | } |
377 | 0 | |
378 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
379 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
380 | 0 | } |
381 | 0 |
|
382 | 0 | PickleIterator iter__(reply__); |
383 | 0 |
|
384 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, desc)))) { |
385 | 0 | FatalError("Error deserializing 'nsString'"); |
386 | 0 | return false; |
387 | 0 | } |
388 | 0 | // Sentinel = 'desc' |
389 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3761872479)))) { |
390 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
391 | 0 | return false; |
392 | 0 | } |
393 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
394 | 0 |
|
395 | 0 | return true; |
396 | 0 | } |
397 | | |
398 | | auto PDocAccessibleParent::SendAttributes( |
399 | | const uint64_t& aID, |
400 | | nsTArray<Attribute>* attributes) -> bool |
401 | 0 | { |
402 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Attributes(Id()); |
403 | 0 |
|
404 | 0 | WriteIPDLParam(msg__, this, aID); |
405 | 0 | // Sentinel = 'aID' |
406 | 0 | (msg__)->WriteSentinel(2735041849); |
407 | 0 |
|
408 | 0 |
|
409 | 0 |
|
410 | 0 | Message reply__; |
411 | 0 |
|
412 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
413 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
414 | 0 | } |
415 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Attributes", OTHER); |
416 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
417 | 0 | mozilla::ipc::LogicError("Transition error"); |
418 | 0 | } |
419 | 0 |
|
420 | 0 | bool sendok__; |
421 | 0 | { |
422 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Attributes"); |
423 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
424 | 0 | } |
425 | 0 | if ((!(sendok__))) { |
426 | 0 | return false; |
427 | 0 | } |
428 | 0 | |
429 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
430 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
431 | 0 | } |
432 | 0 |
|
433 | 0 | PickleIterator iter__(reply__); |
434 | 0 |
|
435 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, attributes)))) { |
436 | 0 | FatalError("Error deserializing 'nsTArray'"); |
437 | 0 | return false; |
438 | 0 | } |
439 | 0 | // Sentinel = 'attributes' |
440 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 673635577)))) { |
441 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
442 | 0 | return false; |
443 | 0 | } |
444 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
445 | 0 |
|
446 | 0 | return true; |
447 | 0 | } |
448 | | |
449 | | auto PDocAccessibleParent::SendRelationByType( |
450 | | const uint64_t& aID, |
451 | | const uint32_t& aRelationType, |
452 | | nsTArray<uint64_t>* targets) -> bool |
453 | 0 | { |
454 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RelationByType(Id()); |
455 | 0 |
|
456 | 0 | WriteIPDLParam(msg__, this, aID); |
457 | 0 | // Sentinel = 'aID' |
458 | 0 | (msg__)->WriteSentinel(2735041849); |
459 | 0 | WriteIPDLParam(msg__, this, aRelationType); |
460 | 0 | // Sentinel = 'aRelationType' |
461 | 0 | (msg__)->WriteSentinel(402082796); |
462 | 0 |
|
463 | 0 |
|
464 | 0 |
|
465 | 0 | Message reply__; |
466 | 0 |
|
467 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
468 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
469 | 0 | } |
470 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RelationByType", OTHER); |
471 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
472 | 0 | mozilla::ipc::LogicError("Transition error"); |
473 | 0 | } |
474 | 0 |
|
475 | 0 | bool sendok__; |
476 | 0 | { |
477 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RelationByType"); |
478 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
479 | 0 | } |
480 | 0 | if ((!(sendok__))) { |
481 | 0 | return false; |
482 | 0 | } |
483 | 0 | |
484 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
485 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
486 | 0 | } |
487 | 0 |
|
488 | 0 | PickleIterator iter__(reply__); |
489 | 0 |
|
490 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, targets)))) { |
491 | 0 | FatalError("Error deserializing 'nsTArray'"); |
492 | 0 | return false; |
493 | 0 | } |
494 | 0 | // Sentinel = 'targets' |
495 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2649770141)))) { |
496 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
497 | 0 | return false; |
498 | 0 | } |
499 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
500 | 0 |
|
501 | 0 | return true; |
502 | 0 | } |
503 | | |
504 | | auto PDocAccessibleParent::SendRelations( |
505 | | const uint64_t& aID, |
506 | | nsTArray<RelationTargets>* relations) -> bool |
507 | 0 | { |
508 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Relations(Id()); |
509 | 0 |
|
510 | 0 | WriteIPDLParam(msg__, this, aID); |
511 | 0 | // Sentinel = 'aID' |
512 | 0 | (msg__)->WriteSentinel(2735041849); |
513 | 0 |
|
514 | 0 |
|
515 | 0 |
|
516 | 0 | Message reply__; |
517 | 0 |
|
518 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
519 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
520 | 0 | } |
521 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Relations", OTHER); |
522 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
523 | 0 | mozilla::ipc::LogicError("Transition error"); |
524 | 0 | } |
525 | 0 |
|
526 | 0 | bool sendok__; |
527 | 0 | { |
528 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Relations"); |
529 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
530 | 0 | } |
531 | 0 | if ((!(sendok__))) { |
532 | 0 | return false; |
533 | 0 | } |
534 | 0 | |
535 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
536 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
537 | 0 | } |
538 | 0 |
|
539 | 0 | PickleIterator iter__(reply__); |
540 | 0 |
|
541 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, relations)))) { |
542 | 0 | FatalError("Error deserializing 'nsTArray'"); |
543 | 0 | return false; |
544 | 0 | } |
545 | 0 | // Sentinel = 'relations' |
546 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3577985838)))) { |
547 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
548 | 0 | return false; |
549 | 0 | } |
550 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
551 | 0 |
|
552 | 0 | return true; |
553 | 0 | } |
554 | | |
555 | | auto PDocAccessibleParent::SendIsSearchbox( |
556 | | const uint64_t& aID, |
557 | | bool* retval) -> bool |
558 | 0 | { |
559 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_IsSearchbox(Id()); |
560 | 0 |
|
561 | 0 | WriteIPDLParam(msg__, this, aID); |
562 | 0 | // Sentinel = 'aID' |
563 | 0 | (msg__)->WriteSentinel(2735041849); |
564 | 0 |
|
565 | 0 |
|
566 | 0 |
|
567 | 0 | Message reply__; |
568 | 0 |
|
569 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
570 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
571 | 0 | } |
572 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsSearchbox", OTHER); |
573 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
574 | 0 | mozilla::ipc::LogicError("Transition error"); |
575 | 0 | } |
576 | 0 |
|
577 | 0 | bool sendok__; |
578 | 0 | { |
579 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_IsSearchbox"); |
580 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
581 | 0 | } |
582 | 0 | if ((!(sendok__))) { |
583 | 0 | return false; |
584 | 0 | } |
585 | 0 | |
586 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
587 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
588 | 0 | } |
589 | 0 |
|
590 | 0 | PickleIterator iter__(reply__); |
591 | 0 |
|
592 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, retval)))) { |
593 | 0 | FatalError("Error deserializing 'bool'"); |
594 | 0 | return false; |
595 | 0 | } |
596 | 0 | // Sentinel = 'retval' |
597 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3130628604)))) { |
598 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
599 | 0 | return false; |
600 | 0 | } |
601 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
602 | 0 |
|
603 | 0 | return true; |
604 | 0 | } |
605 | | |
606 | | auto PDocAccessibleParent::SendLandmarkRole( |
607 | | const uint64_t& aID, |
608 | | nsString* landmark) -> bool |
609 | 0 | { |
610 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_LandmarkRole(Id()); |
611 | 0 |
|
612 | 0 | WriteIPDLParam(msg__, this, aID); |
613 | 0 | // Sentinel = 'aID' |
614 | 0 | (msg__)->WriteSentinel(2735041849); |
615 | 0 |
|
616 | 0 |
|
617 | 0 |
|
618 | 0 | Message reply__; |
619 | 0 |
|
620 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
621 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
622 | 0 | } |
623 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LandmarkRole", OTHER); |
624 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
625 | 0 | mozilla::ipc::LogicError("Transition error"); |
626 | 0 | } |
627 | 0 |
|
628 | 0 | bool sendok__; |
629 | 0 | { |
630 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_LandmarkRole"); |
631 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
632 | 0 | } |
633 | 0 | if ((!(sendok__))) { |
634 | 0 | return false; |
635 | 0 | } |
636 | 0 | |
637 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
638 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
639 | 0 | } |
640 | 0 |
|
641 | 0 | PickleIterator iter__(reply__); |
642 | 0 |
|
643 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, landmark)))) { |
644 | 0 | FatalError("Error deserializing 'nsString'"); |
645 | 0 | return false; |
646 | 0 | } |
647 | 0 | // Sentinel = 'landmark' |
648 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4039038456)))) { |
649 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
650 | 0 | return false; |
651 | 0 | } |
652 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
653 | 0 |
|
654 | 0 | return true; |
655 | 0 | } |
656 | | |
657 | | auto PDocAccessibleParent::SendARIARoleAtom( |
658 | | const uint64_t& aID, |
659 | | nsString* ariaRole) -> bool |
660 | 0 | { |
661 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ARIARoleAtom(Id()); |
662 | 0 |
|
663 | 0 | WriteIPDLParam(msg__, this, aID); |
664 | 0 | // Sentinel = 'aID' |
665 | 0 | (msg__)->WriteSentinel(2735041849); |
666 | 0 |
|
667 | 0 |
|
668 | 0 |
|
669 | 0 | Message reply__; |
670 | 0 |
|
671 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
672 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
673 | 0 | } |
674 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ARIARoleAtom", OTHER); |
675 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
676 | 0 | mozilla::ipc::LogicError("Transition error"); |
677 | 0 | } |
678 | 0 |
|
679 | 0 | bool sendok__; |
680 | 0 | { |
681 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ARIARoleAtom"); |
682 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
683 | 0 | } |
684 | 0 | if ((!(sendok__))) { |
685 | 0 | return false; |
686 | 0 | } |
687 | 0 | |
688 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
689 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
690 | 0 | } |
691 | 0 |
|
692 | 0 | PickleIterator iter__(reply__); |
693 | 0 |
|
694 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, ariaRole)))) { |
695 | 0 | FatalError("Error deserializing 'nsString'"); |
696 | 0 | return false; |
697 | 0 | } |
698 | 0 | // Sentinel = 'ariaRole' |
699 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 412369859)))) { |
700 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
701 | 0 | return false; |
702 | 0 | } |
703 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
704 | 0 |
|
705 | 0 | return true; |
706 | 0 | } |
707 | | |
708 | | auto PDocAccessibleParent::SendGetLevelInternal( |
709 | | const uint64_t& aID, |
710 | | int32_t* aLevel) -> bool |
711 | 0 | { |
712 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetLevelInternal(Id()); |
713 | 0 |
|
714 | 0 | WriteIPDLParam(msg__, this, aID); |
715 | 0 | // Sentinel = 'aID' |
716 | 0 | (msg__)->WriteSentinel(2735041849); |
717 | 0 |
|
718 | 0 |
|
719 | 0 |
|
720 | 0 | Message reply__; |
721 | 0 |
|
722 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
723 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
724 | 0 | } |
725 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetLevelInternal", OTHER); |
726 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
727 | 0 | mozilla::ipc::LogicError("Transition error"); |
728 | 0 | } |
729 | 0 |
|
730 | 0 | bool sendok__; |
731 | 0 | { |
732 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetLevelInternal"); |
733 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
734 | 0 | } |
735 | 0 | if ((!(sendok__))) { |
736 | 0 | return false; |
737 | 0 | } |
738 | 0 | |
739 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
740 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
741 | 0 | } |
742 | 0 |
|
743 | 0 | PickleIterator iter__(reply__); |
744 | 0 |
|
745 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aLevel)))) { |
746 | 0 | FatalError("Error deserializing 'int32_t'"); |
747 | 0 | return false; |
748 | 0 | } |
749 | 0 | // Sentinel = 'aLevel' |
750 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1717579975)))) { |
751 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
752 | 0 | return false; |
753 | 0 | } |
754 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
755 | 0 |
|
756 | 0 | return true; |
757 | 0 | } |
758 | | |
759 | | auto PDocAccessibleParent::SendScrollTo( |
760 | | const uint64_t& aID, |
761 | | const uint32_t& aScrollType) -> bool |
762 | 0 | { |
763 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ScrollTo(Id()); |
764 | 0 |
|
765 | 0 | WriteIPDLParam(msg__, this, aID); |
766 | 0 | // Sentinel = 'aID' |
767 | 0 | (msg__)->WriteSentinel(2735041849); |
768 | 0 | WriteIPDLParam(msg__, this, aScrollType); |
769 | 0 | // Sentinel = 'aScrollType' |
770 | 0 | (msg__)->WriteSentinel(2343471605); |
771 | 0 |
|
772 | 0 |
|
773 | 0 |
|
774 | 0 |
|
775 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
776 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
777 | 0 | } |
778 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollTo", OTHER); |
779 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
780 | 0 | mozilla::ipc::LogicError("Transition error"); |
781 | 0 | } |
782 | 0 |
|
783 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
784 | 0 | return sendok__; |
785 | 0 | } |
786 | | |
787 | | auto PDocAccessibleParent::SendScrollToPoint( |
788 | | const uint64_t& aID, |
789 | | const uint32_t& aScrollType, |
790 | | const int32_t& aX, |
791 | | const int32_t& aY) -> bool |
792 | 0 | { |
793 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ScrollToPoint(Id()); |
794 | 0 |
|
795 | 0 | WriteIPDLParam(msg__, this, aID); |
796 | 0 | // Sentinel = 'aID' |
797 | 0 | (msg__)->WriteSentinel(2735041849); |
798 | 0 | WriteIPDLParam(msg__, this, aScrollType); |
799 | 0 | // Sentinel = 'aScrollType' |
800 | 0 | (msg__)->WriteSentinel(2343471605); |
801 | 0 | WriteIPDLParam(msg__, this, aX); |
802 | 0 | // Sentinel = 'aX' |
803 | 0 | (msg__)->WriteSentinel(2745208761); |
804 | 0 | WriteIPDLParam(msg__, this, aY); |
805 | 0 | // Sentinel = 'aY' |
806 | 0 | (msg__)->WriteSentinel(2745208760); |
807 | 0 |
|
808 | 0 |
|
809 | 0 |
|
810 | 0 |
|
811 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
812 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
813 | 0 | } |
814 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollToPoint", OTHER); |
815 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
816 | 0 | mozilla::ipc::LogicError("Transition error"); |
817 | 0 | } |
818 | 0 |
|
819 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
820 | 0 | return sendok__; |
821 | 0 | } |
822 | | |
823 | | auto PDocAccessibleParent::SendCaretLineNumber( |
824 | | const uint64_t& aID, |
825 | | int32_t* aLineNumber) -> bool |
826 | 0 | { |
827 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CaretLineNumber(Id()); |
828 | 0 |
|
829 | 0 | WriteIPDLParam(msg__, this, aID); |
830 | 0 | // Sentinel = 'aID' |
831 | 0 | (msg__)->WriteSentinel(2735041849); |
832 | 0 |
|
833 | 0 |
|
834 | 0 |
|
835 | 0 | Message reply__; |
836 | 0 |
|
837 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
838 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
839 | 0 | } |
840 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretLineNumber", OTHER); |
841 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
842 | 0 | mozilla::ipc::LogicError("Transition error"); |
843 | 0 | } |
844 | 0 |
|
845 | 0 | bool sendok__; |
846 | 0 | { |
847 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CaretLineNumber"); |
848 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
849 | 0 | } |
850 | 0 | if ((!(sendok__))) { |
851 | 0 | return false; |
852 | 0 | } |
853 | 0 | |
854 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
855 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
856 | 0 | } |
857 | 0 |
|
858 | 0 | PickleIterator iter__(reply__); |
859 | 0 |
|
860 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aLineNumber)))) { |
861 | 0 | FatalError("Error deserializing 'int32_t'"); |
862 | 0 | return false; |
863 | 0 | } |
864 | 0 | // Sentinel = 'aLineNumber' |
865 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 321757991)))) { |
866 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
867 | 0 | return false; |
868 | 0 | } |
869 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
870 | 0 |
|
871 | 0 | return true; |
872 | 0 | } |
873 | | |
874 | | auto PDocAccessibleParent::SendCaretOffset( |
875 | | const uint64_t& aID, |
876 | | int32_t* aOffset) -> bool |
877 | 0 | { |
878 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CaretOffset(Id()); |
879 | 0 |
|
880 | 0 | WriteIPDLParam(msg__, this, aID); |
881 | 0 | // Sentinel = 'aID' |
882 | 0 | (msg__)->WriteSentinel(2735041849); |
883 | 0 |
|
884 | 0 |
|
885 | 0 |
|
886 | 0 | Message reply__; |
887 | 0 |
|
888 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
889 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
890 | 0 | } |
891 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretOffset", OTHER); |
892 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
893 | 0 | mozilla::ipc::LogicError("Transition error"); |
894 | 0 | } |
895 | 0 |
|
896 | 0 | bool sendok__; |
897 | 0 | { |
898 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CaretOffset"); |
899 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
900 | 0 | } |
901 | 0 | if ((!(sendok__))) { |
902 | 0 | return false; |
903 | 0 | } |
904 | 0 | |
905 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
906 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
907 | 0 | } |
908 | 0 |
|
909 | 0 | PickleIterator iter__(reply__); |
910 | 0 |
|
911 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOffset)))) { |
912 | 0 | FatalError("Error deserializing 'int32_t'"); |
913 | 0 | return false; |
914 | 0 | } |
915 | 0 | // Sentinel = 'aOffset' |
916 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
917 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
918 | 0 | return false; |
919 | 0 | } |
920 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
921 | 0 |
|
922 | 0 | return true; |
923 | 0 | } |
924 | | |
925 | | auto PDocAccessibleParent::SendSetCaretOffset( |
926 | | const uint64_t& aID, |
927 | | const int32_t& aOffset) -> bool |
928 | 0 | { |
929 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SetCaretOffset(Id()); |
930 | 0 |
|
931 | 0 | WriteIPDLParam(msg__, this, aID); |
932 | 0 | // Sentinel = 'aID' |
933 | 0 | (msg__)->WriteSentinel(2735041849); |
934 | 0 | WriteIPDLParam(msg__, this, aOffset); |
935 | 0 | // Sentinel = 'aOffset' |
936 | 0 | (msg__)->WriteSentinel(2656388039); |
937 | 0 |
|
938 | 0 |
|
939 | 0 |
|
940 | 0 |
|
941 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
942 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
943 | 0 | } |
944 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetCaretOffset", OTHER); |
945 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
946 | 0 | mozilla::ipc::LogicError("Transition error"); |
947 | 0 | } |
948 | 0 |
|
949 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
950 | 0 | return sendok__; |
951 | 0 | } |
952 | | |
953 | | auto PDocAccessibleParent::SendCharacterCount( |
954 | | const uint64_t& aID, |
955 | | int32_t* aCount) -> bool |
956 | 0 | { |
957 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CharacterCount(Id()); |
958 | 0 |
|
959 | 0 | WriteIPDLParam(msg__, this, aID); |
960 | 0 | // Sentinel = 'aID' |
961 | 0 | (msg__)->WriteSentinel(2735041849); |
962 | 0 |
|
963 | 0 |
|
964 | 0 |
|
965 | 0 | Message reply__; |
966 | 0 |
|
967 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
968 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
969 | 0 | } |
970 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharacterCount", OTHER); |
971 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
972 | 0 | mozilla::ipc::LogicError("Transition error"); |
973 | 0 | } |
974 | 0 |
|
975 | 0 | bool sendok__; |
976 | 0 | { |
977 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CharacterCount"); |
978 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
979 | 0 | } |
980 | 0 | if ((!(sendok__))) { |
981 | 0 | return false; |
982 | 0 | } |
983 | 0 | |
984 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
985 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
986 | 0 | } |
987 | 0 |
|
988 | 0 | PickleIterator iter__(reply__); |
989 | 0 |
|
990 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCount)))) { |
991 | 0 | FatalError("Error deserializing 'int32_t'"); |
992 | 0 | return false; |
993 | 0 | } |
994 | 0 | // Sentinel = 'aCount' |
995 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2344199296)))) { |
996 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
997 | 0 | return false; |
998 | 0 | } |
999 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1000 | 0 |
|
1001 | 0 | return true; |
1002 | 0 | } |
1003 | | |
1004 | | auto PDocAccessibleParent::SendSelectionCount( |
1005 | | const uint64_t& aID, |
1006 | | int32_t* aCount) -> bool |
1007 | 0 | { |
1008 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectionCount(Id()); |
1009 | 0 |
|
1010 | 0 | WriteIPDLParam(msg__, this, aID); |
1011 | 0 | // Sentinel = 'aID' |
1012 | 0 | (msg__)->WriteSentinel(2735041849); |
1013 | 0 |
|
1014 | 0 |
|
1015 | 0 |
|
1016 | 0 | Message reply__; |
1017 | 0 |
|
1018 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1019 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1020 | 0 | } |
1021 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionCount", OTHER); |
1022 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1023 | 0 | mozilla::ipc::LogicError("Transition error"); |
1024 | 0 | } |
1025 | 0 |
|
1026 | 0 | bool sendok__; |
1027 | 0 | { |
1028 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SelectionCount"); |
1029 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1030 | 0 | } |
1031 | 0 | if ((!(sendok__))) { |
1032 | 0 | return false; |
1033 | 0 | } |
1034 | 0 | |
1035 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1036 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1037 | 0 | } |
1038 | 0 |
|
1039 | 0 | PickleIterator iter__(reply__); |
1040 | 0 |
|
1041 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCount)))) { |
1042 | 0 | FatalError("Error deserializing 'int32_t'"); |
1043 | 0 | return false; |
1044 | 0 | } |
1045 | 0 | // Sentinel = 'aCount' |
1046 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2344199296)))) { |
1047 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1048 | 0 | return false; |
1049 | 0 | } |
1050 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1051 | 0 |
|
1052 | 0 | return true; |
1053 | 0 | } |
1054 | | |
1055 | | auto PDocAccessibleParent::SendTextSubstring( |
1056 | | const uint64_t& aID, |
1057 | | const int32_t& aStartOffset, |
1058 | | const int32_t& aEndOffset, |
1059 | | nsString* aText, |
1060 | | bool* aValid) -> bool |
1061 | 0 | { |
1062 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TextSubstring(Id()); |
1063 | 0 |
|
1064 | 0 | WriteIPDLParam(msg__, this, aID); |
1065 | 0 | // Sentinel = 'aID' |
1066 | 0 | (msg__)->WriteSentinel(2735041849); |
1067 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
1068 | 0 | // Sentinel = 'aStartOffset' |
1069 | 0 | (msg__)->WriteSentinel(1066059254); |
1070 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
1071 | 0 | // Sentinel = 'aEndOffset' |
1072 | 0 | (msg__)->WriteSentinel(2439813419); |
1073 | 0 |
|
1074 | 0 |
|
1075 | 0 |
|
1076 | 0 | Message reply__; |
1077 | 0 |
|
1078 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1079 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1080 | 0 | } |
1081 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextSubstring", OTHER); |
1082 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1083 | 0 | mozilla::ipc::LogicError("Transition error"); |
1084 | 0 | } |
1085 | 0 |
|
1086 | 0 | bool sendok__; |
1087 | 0 | { |
1088 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TextSubstring"); |
1089 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1090 | 0 | } |
1091 | 0 | if ((!(sendok__))) { |
1092 | 0 | return false; |
1093 | 0 | } |
1094 | 0 | |
1095 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1096 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1097 | 0 | } |
1098 | 0 |
|
1099 | 0 | PickleIterator iter__(reply__); |
1100 | 0 |
|
1101 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aText)))) { |
1102 | 0 | FatalError("Error deserializing 'nsString'"); |
1103 | 0 | return false; |
1104 | 0 | } |
1105 | 0 | // Sentinel = 'aText' |
1106 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 711388569)))) { |
1107 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
1108 | 0 | return false; |
1109 | 0 | } |
1110 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
1111 | 0 | FatalError("Error deserializing 'bool'"); |
1112 | 0 | return false; |
1113 | 0 | } |
1114 | 0 | // Sentinel = 'aValid' |
1115 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
1116 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
1117 | 0 | return false; |
1118 | 0 | } |
1119 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1120 | 0 |
|
1121 | 0 | return true; |
1122 | 0 | } |
1123 | | |
1124 | | auto PDocAccessibleParent::SendGetTextAfterOffset( |
1125 | | const uint64_t& aID, |
1126 | | const int32_t& aOffset, |
1127 | | const int32_t& aBoundaryType, |
1128 | | nsString* aText, |
1129 | | int32_t* aStartOffset, |
1130 | | int32_t* aEndOffset) -> bool |
1131 | 0 | { |
1132 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetTextAfterOffset(Id()); |
1133 | 0 |
|
1134 | 0 | WriteIPDLParam(msg__, this, aID); |
1135 | 0 | // Sentinel = 'aID' |
1136 | 0 | (msg__)->WriteSentinel(2735041849); |
1137 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1138 | 0 | // Sentinel = 'aOffset' |
1139 | 0 | (msg__)->WriteSentinel(2656388039); |
1140 | 0 | WriteIPDLParam(msg__, this, aBoundaryType); |
1141 | 0 | // Sentinel = 'aBoundaryType' |
1142 | 0 | (msg__)->WriteSentinel(1823260482); |
1143 | 0 |
|
1144 | 0 |
|
1145 | 0 |
|
1146 | 0 | Message reply__; |
1147 | 0 |
|
1148 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1149 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1150 | 0 | } |
1151 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextAfterOffset", OTHER); |
1152 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1153 | 0 | mozilla::ipc::LogicError("Transition error"); |
1154 | 0 | } |
1155 | 0 |
|
1156 | 0 | bool sendok__; |
1157 | 0 | { |
1158 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetTextAfterOffset"); |
1159 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1160 | 0 | } |
1161 | 0 | if ((!(sendok__))) { |
1162 | 0 | return false; |
1163 | 0 | } |
1164 | 0 | |
1165 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1166 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1167 | 0 | } |
1168 | 0 |
|
1169 | 0 | PickleIterator iter__(reply__); |
1170 | 0 |
|
1171 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aText)))) { |
1172 | 0 | FatalError("Error deserializing 'nsString'"); |
1173 | 0 | return false; |
1174 | 0 | } |
1175 | 0 | // Sentinel = 'aText' |
1176 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 711388569)))) { |
1177 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
1178 | 0 | return false; |
1179 | 0 | } |
1180 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStartOffset)))) { |
1181 | 0 | FatalError("Error deserializing 'int32_t'"); |
1182 | 0 | return false; |
1183 | 0 | } |
1184 | 0 | // Sentinel = 'aStartOffset' |
1185 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1186 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1187 | 0 | return false; |
1188 | 0 | } |
1189 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aEndOffset)))) { |
1190 | 0 | FatalError("Error deserializing 'int32_t'"); |
1191 | 0 | return false; |
1192 | 0 | } |
1193 | 0 | // Sentinel = 'aEndOffset' |
1194 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1195 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1196 | 0 | return false; |
1197 | 0 | } |
1198 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1199 | 0 |
|
1200 | 0 | return true; |
1201 | 0 | } |
1202 | | |
1203 | | auto PDocAccessibleParent::SendGetTextAtOffset( |
1204 | | const uint64_t& aID, |
1205 | | const int32_t& aOffset, |
1206 | | const int32_t& aBoundaryType, |
1207 | | nsString* aText, |
1208 | | int32_t* aStartOffset, |
1209 | | int32_t* aEndOffset) -> bool |
1210 | 0 | { |
1211 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetTextAtOffset(Id()); |
1212 | 0 |
|
1213 | 0 | WriteIPDLParam(msg__, this, aID); |
1214 | 0 | // Sentinel = 'aID' |
1215 | 0 | (msg__)->WriteSentinel(2735041849); |
1216 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1217 | 0 | // Sentinel = 'aOffset' |
1218 | 0 | (msg__)->WriteSentinel(2656388039); |
1219 | 0 | WriteIPDLParam(msg__, this, aBoundaryType); |
1220 | 0 | // Sentinel = 'aBoundaryType' |
1221 | 0 | (msg__)->WriteSentinel(1823260482); |
1222 | 0 |
|
1223 | 0 |
|
1224 | 0 |
|
1225 | 0 | Message reply__; |
1226 | 0 |
|
1227 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1228 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1229 | 0 | } |
1230 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextAtOffset", OTHER); |
1231 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1232 | 0 | mozilla::ipc::LogicError("Transition error"); |
1233 | 0 | } |
1234 | 0 |
|
1235 | 0 | bool sendok__; |
1236 | 0 | { |
1237 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetTextAtOffset"); |
1238 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1239 | 0 | } |
1240 | 0 | if ((!(sendok__))) { |
1241 | 0 | return false; |
1242 | 0 | } |
1243 | 0 | |
1244 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1245 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1246 | 0 | } |
1247 | 0 |
|
1248 | 0 | PickleIterator iter__(reply__); |
1249 | 0 |
|
1250 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aText)))) { |
1251 | 0 | FatalError("Error deserializing 'nsString'"); |
1252 | 0 | return false; |
1253 | 0 | } |
1254 | 0 | // Sentinel = 'aText' |
1255 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 711388569)))) { |
1256 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
1257 | 0 | return false; |
1258 | 0 | } |
1259 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStartOffset)))) { |
1260 | 0 | FatalError("Error deserializing 'int32_t'"); |
1261 | 0 | return false; |
1262 | 0 | } |
1263 | 0 | // Sentinel = 'aStartOffset' |
1264 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1265 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1266 | 0 | return false; |
1267 | 0 | } |
1268 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aEndOffset)))) { |
1269 | 0 | FatalError("Error deserializing 'int32_t'"); |
1270 | 0 | return false; |
1271 | 0 | } |
1272 | 0 | // Sentinel = 'aEndOffset' |
1273 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1274 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1275 | 0 | return false; |
1276 | 0 | } |
1277 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1278 | 0 |
|
1279 | 0 | return true; |
1280 | 0 | } |
1281 | | |
1282 | | auto PDocAccessibleParent::SendGetTextBeforeOffset( |
1283 | | const uint64_t& aID, |
1284 | | const int32_t& aOffset, |
1285 | | const int32_t& aBoundaryType, |
1286 | | nsString* aText, |
1287 | | int32_t* aStartOffset, |
1288 | | int32_t* aEndOffset) -> bool |
1289 | 0 | { |
1290 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetTextBeforeOffset(Id()); |
1291 | 0 |
|
1292 | 0 | WriteIPDLParam(msg__, this, aID); |
1293 | 0 | // Sentinel = 'aID' |
1294 | 0 | (msg__)->WriteSentinel(2735041849); |
1295 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1296 | 0 | // Sentinel = 'aOffset' |
1297 | 0 | (msg__)->WriteSentinel(2656388039); |
1298 | 0 | WriteIPDLParam(msg__, this, aBoundaryType); |
1299 | 0 | // Sentinel = 'aBoundaryType' |
1300 | 0 | (msg__)->WriteSentinel(1823260482); |
1301 | 0 |
|
1302 | 0 |
|
1303 | 0 |
|
1304 | 0 | Message reply__; |
1305 | 0 |
|
1306 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1307 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1308 | 0 | } |
1309 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetTextBeforeOffset", OTHER); |
1310 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1311 | 0 | mozilla::ipc::LogicError("Transition error"); |
1312 | 0 | } |
1313 | 0 |
|
1314 | 0 | bool sendok__; |
1315 | 0 | { |
1316 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetTextBeforeOffset"); |
1317 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1318 | 0 | } |
1319 | 0 | if ((!(sendok__))) { |
1320 | 0 | return false; |
1321 | 0 | } |
1322 | 0 | |
1323 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1324 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1325 | 0 | } |
1326 | 0 |
|
1327 | 0 | PickleIterator iter__(reply__); |
1328 | 0 |
|
1329 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aText)))) { |
1330 | 0 | FatalError("Error deserializing 'nsString'"); |
1331 | 0 | return false; |
1332 | 0 | } |
1333 | 0 | // Sentinel = 'aText' |
1334 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 711388569)))) { |
1335 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
1336 | 0 | return false; |
1337 | 0 | } |
1338 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStartOffset)))) { |
1339 | 0 | FatalError("Error deserializing 'int32_t'"); |
1340 | 0 | return false; |
1341 | 0 | } |
1342 | 0 | // Sentinel = 'aStartOffset' |
1343 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1344 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1345 | 0 | return false; |
1346 | 0 | } |
1347 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aEndOffset)))) { |
1348 | 0 | FatalError("Error deserializing 'int32_t'"); |
1349 | 0 | return false; |
1350 | 0 | } |
1351 | 0 | // Sentinel = 'aEndOffset' |
1352 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1353 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1354 | 0 | return false; |
1355 | 0 | } |
1356 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1357 | 0 |
|
1358 | 0 | return true; |
1359 | 0 | } |
1360 | | |
1361 | | auto PDocAccessibleParent::SendCharAt( |
1362 | | const uint64_t& aID, |
1363 | | const int32_t& aOffset, |
1364 | | uint16_t* aChar) -> bool |
1365 | 0 | { |
1366 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CharAt(Id()); |
1367 | 0 |
|
1368 | 0 | WriteIPDLParam(msg__, this, aID); |
1369 | 0 | // Sentinel = 'aID' |
1370 | 0 | (msg__)->WriteSentinel(2735041849); |
1371 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1372 | 0 | // Sentinel = 'aOffset' |
1373 | 0 | (msg__)->WriteSentinel(2656388039); |
1374 | 0 |
|
1375 | 0 |
|
1376 | 0 |
|
1377 | 0 | Message reply__; |
1378 | 0 |
|
1379 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1380 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1381 | 0 | } |
1382 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharAt", OTHER); |
1383 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1384 | 0 | mozilla::ipc::LogicError("Transition error"); |
1385 | 0 | } |
1386 | 0 |
|
1387 | 0 | bool sendok__; |
1388 | 0 | { |
1389 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CharAt"); |
1390 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1391 | 0 | } |
1392 | 0 | if ((!(sendok__))) { |
1393 | 0 | return false; |
1394 | 0 | } |
1395 | 0 | |
1396 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1397 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1398 | 0 | } |
1399 | 0 |
|
1400 | 0 | PickleIterator iter__(reply__); |
1401 | 0 |
|
1402 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aChar)))) { |
1403 | 0 | FatalError("Error deserializing 'uint16_t'"); |
1404 | 0 | return false; |
1405 | 0 | } |
1406 | 0 | // Sentinel = 'aChar' |
1407 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3650638428)))) { |
1408 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint16_t'"); |
1409 | 0 | return false; |
1410 | 0 | } |
1411 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1412 | 0 |
|
1413 | 0 | return true; |
1414 | 0 | } |
1415 | | |
1416 | | auto PDocAccessibleParent::SendTextAttributes( |
1417 | | const uint64_t& aID, |
1418 | | const bool& aIncludeDefAttrs, |
1419 | | const int32_t& aOffset, |
1420 | | nsTArray<Attribute>* aAttributes, |
1421 | | int32_t* aStartOffset, |
1422 | | int32_t* aEndOffset) -> bool |
1423 | 0 | { |
1424 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TextAttributes(Id()); |
1425 | 0 |
|
1426 | 0 | WriteIPDLParam(msg__, this, aID); |
1427 | 0 | // Sentinel = 'aID' |
1428 | 0 | (msg__)->WriteSentinel(2735041849); |
1429 | 0 | WriteIPDLParam(msg__, this, aIncludeDefAttrs); |
1430 | 0 | // Sentinel = 'aIncludeDefAttrs' |
1431 | 0 | (msg__)->WriteSentinel(1389974536); |
1432 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1433 | 0 | // Sentinel = 'aOffset' |
1434 | 0 | (msg__)->WriteSentinel(2656388039); |
1435 | 0 |
|
1436 | 0 |
|
1437 | 0 |
|
1438 | 0 | Message reply__; |
1439 | 0 |
|
1440 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1441 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1442 | 0 | } |
1443 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextAttributes", OTHER); |
1444 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1445 | 0 | mozilla::ipc::LogicError("Transition error"); |
1446 | 0 | } |
1447 | 0 |
|
1448 | 0 | bool sendok__; |
1449 | 0 | { |
1450 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TextAttributes"); |
1451 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1452 | 0 | } |
1453 | 0 | if ((!(sendok__))) { |
1454 | 0 | return false; |
1455 | 0 | } |
1456 | 0 | |
1457 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1458 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1459 | 0 | } |
1460 | 0 |
|
1461 | 0 | PickleIterator iter__(reply__); |
1462 | 0 |
|
1463 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aAttributes)))) { |
1464 | 0 | FatalError("Error deserializing 'nsTArray'"); |
1465 | 0 | return false; |
1466 | 0 | } |
1467 | 0 | // Sentinel = 'aAttributes' |
1468 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 951860833)))) { |
1469 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
1470 | 0 | return false; |
1471 | 0 | } |
1472 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStartOffset)))) { |
1473 | 0 | FatalError("Error deserializing 'int32_t'"); |
1474 | 0 | return false; |
1475 | 0 | } |
1476 | 0 | // Sentinel = 'aStartOffset' |
1477 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1478 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1479 | 0 | return false; |
1480 | 0 | } |
1481 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aEndOffset)))) { |
1482 | 0 | FatalError("Error deserializing 'int32_t'"); |
1483 | 0 | return false; |
1484 | 0 | } |
1485 | 0 | // Sentinel = 'aEndOffset' |
1486 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1487 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1488 | 0 | return false; |
1489 | 0 | } |
1490 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1491 | 0 |
|
1492 | 0 | return true; |
1493 | 0 | } |
1494 | | |
1495 | | auto PDocAccessibleParent::SendDefaultTextAttributes( |
1496 | | const uint64_t& aID, |
1497 | | nsTArray<Attribute>* aAttributes) -> bool |
1498 | 0 | { |
1499 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_DefaultTextAttributes(Id()); |
1500 | 0 |
|
1501 | 0 | WriteIPDLParam(msg__, this, aID); |
1502 | 0 | // Sentinel = 'aID' |
1503 | 0 | (msg__)->WriteSentinel(2735041849); |
1504 | 0 |
|
1505 | 0 |
|
1506 | 0 |
|
1507 | 0 | Message reply__; |
1508 | 0 |
|
1509 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1510 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1511 | 0 | } |
1512 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DefaultTextAttributes", OTHER); |
1513 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1514 | 0 | mozilla::ipc::LogicError("Transition error"); |
1515 | 0 | } |
1516 | 0 |
|
1517 | 0 | bool sendok__; |
1518 | 0 | { |
1519 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_DefaultTextAttributes"); |
1520 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1521 | 0 | } |
1522 | 0 | if ((!(sendok__))) { |
1523 | 0 | return false; |
1524 | 0 | } |
1525 | 0 | |
1526 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1527 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1528 | 0 | } |
1529 | 0 |
|
1530 | 0 | PickleIterator iter__(reply__); |
1531 | 0 |
|
1532 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aAttributes)))) { |
1533 | 0 | FatalError("Error deserializing 'nsTArray'"); |
1534 | 0 | return false; |
1535 | 0 | } |
1536 | 0 | // Sentinel = 'aAttributes' |
1537 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 951860833)))) { |
1538 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
1539 | 0 | return false; |
1540 | 0 | } |
1541 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1542 | 0 |
|
1543 | 0 | return true; |
1544 | 0 | } |
1545 | | |
1546 | | auto PDocAccessibleParent::SendTextBounds( |
1547 | | const uint64_t& aID, |
1548 | | const int32_t& aStartOffset, |
1549 | | const int32_t& aEndOffset, |
1550 | | const uint32_t& aCoordType, |
1551 | | nsIntRect* aRetVal) -> bool |
1552 | 0 | { |
1553 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TextBounds(Id()); |
1554 | 0 |
|
1555 | 0 | WriteIPDLParam(msg__, this, aID); |
1556 | 0 | // Sentinel = 'aID' |
1557 | 0 | (msg__)->WriteSentinel(2735041849); |
1558 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
1559 | 0 | // Sentinel = 'aStartOffset' |
1560 | 0 | (msg__)->WriteSentinel(1066059254); |
1561 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
1562 | 0 | // Sentinel = 'aEndOffset' |
1563 | 0 | (msg__)->WriteSentinel(2439813419); |
1564 | 0 | WriteIPDLParam(msg__, this, aCoordType); |
1565 | 0 | // Sentinel = 'aCoordType' |
1566 | 0 | (msg__)->WriteSentinel(3719390058); |
1567 | 0 |
|
1568 | 0 |
|
1569 | 0 |
|
1570 | 0 | Message reply__; |
1571 | 0 |
|
1572 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1573 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1574 | 0 | } |
1575 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextBounds", OTHER); |
1576 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1577 | 0 | mozilla::ipc::LogicError("Transition error"); |
1578 | 0 | } |
1579 | 0 |
|
1580 | 0 | bool sendok__; |
1581 | 0 | { |
1582 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TextBounds"); |
1583 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1584 | 0 | } |
1585 | 0 | if ((!(sendok__))) { |
1586 | 0 | return false; |
1587 | 0 | } |
1588 | 0 | |
1589 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1590 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1591 | 0 | } |
1592 | 0 |
|
1593 | 0 | PickleIterator iter__(reply__); |
1594 | 0 |
|
1595 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
1596 | 0 | FatalError("Error deserializing 'nsIntRect'"); |
1597 | 0 | return false; |
1598 | 0 | } |
1599 | 0 | // Sentinel = 'aRetVal' |
1600 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
1601 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsIntRect'"); |
1602 | 0 | return false; |
1603 | 0 | } |
1604 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1605 | 0 |
|
1606 | 0 | return true; |
1607 | 0 | } |
1608 | | |
1609 | | auto PDocAccessibleParent::SendCharBounds( |
1610 | | const uint64_t& aID, |
1611 | | const int32_t& aOffset, |
1612 | | const uint32_t& aCoordType, |
1613 | | nsIntRect* aRetVal) -> bool |
1614 | 0 | { |
1615 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CharBounds(Id()); |
1616 | 0 |
|
1617 | 0 | WriteIPDLParam(msg__, this, aID); |
1618 | 0 | // Sentinel = 'aID' |
1619 | 0 | (msg__)->WriteSentinel(2735041849); |
1620 | 0 | WriteIPDLParam(msg__, this, aOffset); |
1621 | 0 | // Sentinel = 'aOffset' |
1622 | 0 | (msg__)->WriteSentinel(2656388039); |
1623 | 0 | WriteIPDLParam(msg__, this, aCoordType); |
1624 | 0 | // Sentinel = 'aCoordType' |
1625 | 0 | (msg__)->WriteSentinel(3719390058); |
1626 | 0 |
|
1627 | 0 |
|
1628 | 0 |
|
1629 | 0 | Message reply__; |
1630 | 0 |
|
1631 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1632 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1633 | 0 | } |
1634 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CharBounds", OTHER); |
1635 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1636 | 0 | mozilla::ipc::LogicError("Transition error"); |
1637 | 0 | } |
1638 | 0 |
|
1639 | 0 | bool sendok__; |
1640 | 0 | { |
1641 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CharBounds"); |
1642 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1643 | 0 | } |
1644 | 0 | if ((!(sendok__))) { |
1645 | 0 | return false; |
1646 | 0 | } |
1647 | 0 | |
1648 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1649 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1650 | 0 | } |
1651 | 0 |
|
1652 | 0 | PickleIterator iter__(reply__); |
1653 | 0 |
|
1654 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
1655 | 0 | FatalError("Error deserializing 'nsIntRect'"); |
1656 | 0 | return false; |
1657 | 0 | } |
1658 | 0 | // Sentinel = 'aRetVal' |
1659 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
1660 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsIntRect'"); |
1661 | 0 | return false; |
1662 | 0 | } |
1663 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1664 | 0 |
|
1665 | 0 | return true; |
1666 | 0 | } |
1667 | | |
1668 | | auto PDocAccessibleParent::SendOffsetAtPoint( |
1669 | | const uint64_t& aID, |
1670 | | const int32_t& aX, |
1671 | | const int32_t& aY, |
1672 | | const uint32_t& aCoordType, |
1673 | | int32_t* aRetVal) -> bool |
1674 | 0 | { |
1675 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_OffsetAtPoint(Id()); |
1676 | 0 |
|
1677 | 0 | WriteIPDLParam(msg__, this, aID); |
1678 | 0 | // Sentinel = 'aID' |
1679 | 0 | (msg__)->WriteSentinel(2735041849); |
1680 | 0 | WriteIPDLParam(msg__, this, aX); |
1681 | 0 | // Sentinel = 'aX' |
1682 | 0 | (msg__)->WriteSentinel(2745208761); |
1683 | 0 | WriteIPDLParam(msg__, this, aY); |
1684 | 0 | // Sentinel = 'aY' |
1685 | 0 | (msg__)->WriteSentinel(2745208760); |
1686 | 0 | WriteIPDLParam(msg__, this, aCoordType); |
1687 | 0 | // Sentinel = 'aCoordType' |
1688 | 0 | (msg__)->WriteSentinel(3719390058); |
1689 | 0 |
|
1690 | 0 |
|
1691 | 0 |
|
1692 | 0 | Message reply__; |
1693 | 0 |
|
1694 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1695 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1696 | 0 | } |
1697 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_OffsetAtPoint", OTHER); |
1698 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1699 | 0 | mozilla::ipc::LogicError("Transition error"); |
1700 | 0 | } |
1701 | 0 |
|
1702 | 0 | bool sendok__; |
1703 | 0 | { |
1704 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_OffsetAtPoint"); |
1705 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1706 | 0 | } |
1707 | 0 | if ((!(sendok__))) { |
1708 | 0 | return false; |
1709 | 0 | } |
1710 | 0 | |
1711 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1712 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1713 | 0 | } |
1714 | 0 |
|
1715 | 0 | PickleIterator iter__(reply__); |
1716 | 0 |
|
1717 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
1718 | 0 | FatalError("Error deserializing 'int32_t'"); |
1719 | 0 | return false; |
1720 | 0 | } |
1721 | 0 | // Sentinel = 'aRetVal' |
1722 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
1723 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1724 | 0 | return false; |
1725 | 0 | } |
1726 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1727 | 0 |
|
1728 | 0 | return true; |
1729 | 0 | } |
1730 | | |
1731 | | auto PDocAccessibleParent::SendSelectionBoundsAt( |
1732 | | const uint64_t& aID, |
1733 | | const int32_t& aSelectionNum, |
1734 | | bool* aSucceeded, |
1735 | | nsString* aData, |
1736 | | int32_t* aStartOffset, |
1737 | | int32_t* aEndOffset) -> bool |
1738 | 0 | { |
1739 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectionBoundsAt(Id()); |
1740 | 0 |
|
1741 | 0 | WriteIPDLParam(msg__, this, aID); |
1742 | 0 | // Sentinel = 'aID' |
1743 | 0 | (msg__)->WriteSentinel(2735041849); |
1744 | 0 | WriteIPDLParam(msg__, this, aSelectionNum); |
1745 | 0 | // Sentinel = 'aSelectionNum' |
1746 | 0 | (msg__)->WriteSentinel(3877370474); |
1747 | 0 |
|
1748 | 0 |
|
1749 | 0 |
|
1750 | 0 | Message reply__; |
1751 | 0 |
|
1752 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1753 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1754 | 0 | } |
1755 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionBoundsAt", OTHER); |
1756 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1757 | 0 | mozilla::ipc::LogicError("Transition error"); |
1758 | 0 | } |
1759 | 0 |
|
1760 | 0 | bool sendok__; |
1761 | 0 | { |
1762 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SelectionBoundsAt"); |
1763 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1764 | 0 | } |
1765 | 0 | if ((!(sendok__))) { |
1766 | 0 | return false; |
1767 | 0 | } |
1768 | 0 | |
1769 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1770 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1771 | 0 | } |
1772 | 0 |
|
1773 | 0 | PickleIterator iter__(reply__); |
1774 | 0 |
|
1775 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSucceeded)))) { |
1776 | 0 | FatalError("Error deserializing 'bool'"); |
1777 | 0 | return false; |
1778 | 0 | } |
1779 | 0 | // Sentinel = 'aSucceeded' |
1780 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3936867666)))) { |
1781 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
1782 | 0 | return false; |
1783 | 0 | } |
1784 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aData)))) { |
1785 | 0 | FatalError("Error deserializing 'nsString'"); |
1786 | 0 | return false; |
1787 | 0 | } |
1788 | 0 | // Sentinel = 'aData' |
1789 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3285075324)))) { |
1790 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
1791 | 0 | return false; |
1792 | 0 | } |
1793 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStartOffset)))) { |
1794 | 0 | FatalError("Error deserializing 'int32_t'"); |
1795 | 0 | return false; |
1796 | 0 | } |
1797 | 0 | // Sentinel = 'aStartOffset' |
1798 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
1799 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1800 | 0 | return false; |
1801 | 0 | } |
1802 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aEndOffset)))) { |
1803 | 0 | FatalError("Error deserializing 'int32_t'"); |
1804 | 0 | return false; |
1805 | 0 | } |
1806 | 0 | // Sentinel = 'aEndOffset' |
1807 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
1808 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
1809 | 0 | return false; |
1810 | 0 | } |
1811 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1812 | 0 |
|
1813 | 0 | return true; |
1814 | 0 | } |
1815 | | |
1816 | | auto PDocAccessibleParent::SendSetSelectionBoundsAt( |
1817 | | const uint64_t& aID, |
1818 | | const int32_t& aSelectionNum, |
1819 | | const int32_t& aStartOffset, |
1820 | | const int32_t& aEndOffset, |
1821 | | bool* aSucceeded) -> bool |
1822 | 0 | { |
1823 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SetSelectionBoundsAt(Id()); |
1824 | 0 |
|
1825 | 0 | WriteIPDLParam(msg__, this, aID); |
1826 | 0 | // Sentinel = 'aID' |
1827 | 0 | (msg__)->WriteSentinel(2735041849); |
1828 | 0 | WriteIPDLParam(msg__, this, aSelectionNum); |
1829 | 0 | // Sentinel = 'aSelectionNum' |
1830 | 0 | (msg__)->WriteSentinel(3877370474); |
1831 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
1832 | 0 | // Sentinel = 'aStartOffset' |
1833 | 0 | (msg__)->WriteSentinel(1066059254); |
1834 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
1835 | 0 | // Sentinel = 'aEndOffset' |
1836 | 0 | (msg__)->WriteSentinel(2439813419); |
1837 | 0 |
|
1838 | 0 |
|
1839 | 0 |
|
1840 | 0 | Message reply__; |
1841 | 0 |
|
1842 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1843 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1844 | 0 | } |
1845 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetSelectionBoundsAt", OTHER); |
1846 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1847 | 0 | mozilla::ipc::LogicError("Transition error"); |
1848 | 0 | } |
1849 | 0 |
|
1850 | 0 | bool sendok__; |
1851 | 0 | { |
1852 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SetSelectionBoundsAt"); |
1853 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1854 | 0 | } |
1855 | 0 | if ((!(sendok__))) { |
1856 | 0 | return false; |
1857 | 0 | } |
1858 | 0 | |
1859 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1860 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1861 | 0 | } |
1862 | 0 |
|
1863 | 0 | PickleIterator iter__(reply__); |
1864 | 0 |
|
1865 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSucceeded)))) { |
1866 | 0 | FatalError("Error deserializing 'bool'"); |
1867 | 0 | return false; |
1868 | 0 | } |
1869 | 0 | // Sentinel = 'aSucceeded' |
1870 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3936867666)))) { |
1871 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
1872 | 0 | return false; |
1873 | 0 | } |
1874 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1875 | 0 |
|
1876 | 0 | return true; |
1877 | 0 | } |
1878 | | |
1879 | | auto PDocAccessibleParent::SendAddToSelection( |
1880 | | const uint64_t& aID, |
1881 | | const int32_t& aStartOffset, |
1882 | | const int32_t& aEndOffset, |
1883 | | bool* aSucceeded) -> bool |
1884 | 0 | { |
1885 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AddToSelection(Id()); |
1886 | 0 |
|
1887 | 0 | WriteIPDLParam(msg__, this, aID); |
1888 | 0 | // Sentinel = 'aID' |
1889 | 0 | (msg__)->WriteSentinel(2735041849); |
1890 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
1891 | 0 | // Sentinel = 'aStartOffset' |
1892 | 0 | (msg__)->WriteSentinel(1066059254); |
1893 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
1894 | 0 | // Sentinel = 'aEndOffset' |
1895 | 0 | (msg__)->WriteSentinel(2439813419); |
1896 | 0 |
|
1897 | 0 |
|
1898 | 0 |
|
1899 | 0 | Message reply__; |
1900 | 0 |
|
1901 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1902 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1903 | 0 | } |
1904 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AddToSelection", OTHER); |
1905 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1906 | 0 | mozilla::ipc::LogicError("Transition error"); |
1907 | 0 | } |
1908 | 0 |
|
1909 | 0 | bool sendok__; |
1910 | 0 | { |
1911 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AddToSelection"); |
1912 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1913 | 0 | } |
1914 | 0 | if ((!(sendok__))) { |
1915 | 0 | return false; |
1916 | 0 | } |
1917 | 0 | |
1918 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1919 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1920 | 0 | } |
1921 | 0 |
|
1922 | 0 | PickleIterator iter__(reply__); |
1923 | 0 |
|
1924 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSucceeded)))) { |
1925 | 0 | FatalError("Error deserializing 'bool'"); |
1926 | 0 | return false; |
1927 | 0 | } |
1928 | 0 | // Sentinel = 'aSucceeded' |
1929 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3936867666)))) { |
1930 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
1931 | 0 | return false; |
1932 | 0 | } |
1933 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1934 | 0 |
|
1935 | 0 | return true; |
1936 | 0 | } |
1937 | | |
1938 | | auto PDocAccessibleParent::SendRemoveFromSelection( |
1939 | | const uint64_t& aID, |
1940 | | const int32_t& aSelectionNum, |
1941 | | bool* aSucceeded) -> bool |
1942 | 0 | { |
1943 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RemoveFromSelection(Id()); |
1944 | 0 |
|
1945 | 0 | WriteIPDLParam(msg__, this, aID); |
1946 | 0 | // Sentinel = 'aID' |
1947 | 0 | (msg__)->WriteSentinel(2735041849); |
1948 | 0 | WriteIPDLParam(msg__, this, aSelectionNum); |
1949 | 0 | // Sentinel = 'aSelectionNum' |
1950 | 0 | (msg__)->WriteSentinel(3877370474); |
1951 | 0 |
|
1952 | 0 |
|
1953 | 0 |
|
1954 | 0 | Message reply__; |
1955 | 0 |
|
1956 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1957 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
1958 | 0 | } |
1959 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RemoveFromSelection", OTHER); |
1960 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
1961 | 0 | mozilla::ipc::LogicError("Transition error"); |
1962 | 0 | } |
1963 | 0 |
|
1964 | 0 | bool sendok__; |
1965 | 0 | { |
1966 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RemoveFromSelection"); |
1967 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
1968 | 0 | } |
1969 | 0 | if ((!(sendok__))) { |
1970 | 0 | return false; |
1971 | 0 | } |
1972 | 0 | |
1973 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
1974 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
1975 | 0 | } |
1976 | 0 |
|
1977 | 0 | PickleIterator iter__(reply__); |
1978 | 0 |
|
1979 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSucceeded)))) { |
1980 | 0 | FatalError("Error deserializing 'bool'"); |
1981 | 0 | return false; |
1982 | 0 | } |
1983 | 0 | // Sentinel = 'aSucceeded' |
1984 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3936867666)))) { |
1985 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
1986 | 0 | return false; |
1987 | 0 | } |
1988 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
1989 | 0 |
|
1990 | 0 | return true; |
1991 | 0 | } |
1992 | | |
1993 | | auto PDocAccessibleParent::SendScrollSubstringTo( |
1994 | | const uint64_t& aID, |
1995 | | const int32_t& aStartOffset, |
1996 | | const int32_t& aEndOffset, |
1997 | | const uint32_t& aScrollType) -> bool |
1998 | 0 | { |
1999 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ScrollSubstringTo(Id()); |
2000 | 0 |
|
2001 | 0 | WriteIPDLParam(msg__, this, aID); |
2002 | 0 | // Sentinel = 'aID' |
2003 | 0 | (msg__)->WriteSentinel(2735041849); |
2004 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
2005 | 0 | // Sentinel = 'aStartOffset' |
2006 | 0 | (msg__)->WriteSentinel(1066059254); |
2007 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
2008 | 0 | // Sentinel = 'aEndOffset' |
2009 | 0 | (msg__)->WriteSentinel(2439813419); |
2010 | 0 | WriteIPDLParam(msg__, this, aScrollType); |
2011 | 0 | // Sentinel = 'aScrollType' |
2012 | 0 | (msg__)->WriteSentinel(2343471605); |
2013 | 0 |
|
2014 | 0 |
|
2015 | 0 |
|
2016 | 0 |
|
2017 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2018 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2019 | 0 | } |
2020 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollSubstringTo", OTHER); |
2021 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2022 | 0 | mozilla::ipc::LogicError("Transition error"); |
2023 | 0 | } |
2024 | 0 |
|
2025 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
2026 | 0 | return sendok__; |
2027 | 0 | } |
2028 | | |
2029 | | auto PDocAccessibleParent::SendScrollSubstringToPoint( |
2030 | | const uint64_t& aID, |
2031 | | const int32_t& aStartOffset, |
2032 | | const int32_t& aEndOffset, |
2033 | | const uint32_t& aCoordinateType, |
2034 | | const int32_t& aX, |
2035 | | const int32_t& aY) -> bool |
2036 | 0 | { |
2037 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ScrollSubstringToPoint(Id()); |
2038 | 0 |
|
2039 | 0 | WriteIPDLParam(msg__, this, aID); |
2040 | 0 | // Sentinel = 'aID' |
2041 | 0 | (msg__)->WriteSentinel(2735041849); |
2042 | 0 | WriteIPDLParam(msg__, this, aStartOffset); |
2043 | 0 | // Sentinel = 'aStartOffset' |
2044 | 0 | (msg__)->WriteSentinel(1066059254); |
2045 | 0 | WriteIPDLParam(msg__, this, aEndOffset); |
2046 | 0 | // Sentinel = 'aEndOffset' |
2047 | 0 | (msg__)->WriteSentinel(2439813419); |
2048 | 0 | WriteIPDLParam(msg__, this, aCoordinateType); |
2049 | 0 | // Sentinel = 'aCoordinateType' |
2050 | 0 | (msg__)->WriteSentinel(861667008); |
2051 | 0 | WriteIPDLParam(msg__, this, aX); |
2052 | 0 | // Sentinel = 'aX' |
2053 | 0 | (msg__)->WriteSentinel(2745208761); |
2054 | 0 | WriteIPDLParam(msg__, this, aY); |
2055 | 0 | // Sentinel = 'aY' |
2056 | 0 | (msg__)->WriteSentinel(2745208760); |
2057 | 0 |
|
2058 | 0 |
|
2059 | 0 |
|
2060 | 0 |
|
2061 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2062 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2063 | 0 | } |
2064 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollSubstringToPoint", OTHER); |
2065 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2066 | 0 | mozilla::ipc::LogicError("Transition error"); |
2067 | 0 | } |
2068 | 0 |
|
2069 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
2070 | 0 | return sendok__; |
2071 | 0 | } |
2072 | | |
2073 | | auto PDocAccessibleParent::SendText( |
2074 | | const uint64_t& aID, |
2075 | | nsString* aText) -> bool |
2076 | 0 | { |
2077 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Text(Id()); |
2078 | 0 |
|
2079 | 0 | WriteIPDLParam(msg__, this, aID); |
2080 | 0 | // Sentinel = 'aID' |
2081 | 0 | (msg__)->WriteSentinel(2735041849); |
2082 | 0 |
|
2083 | 0 |
|
2084 | 0 |
|
2085 | 0 | Message reply__; |
2086 | 0 |
|
2087 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2088 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2089 | 0 | } |
2090 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Text", OTHER); |
2091 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2092 | 0 | mozilla::ipc::LogicError("Transition error"); |
2093 | 0 | } |
2094 | 0 |
|
2095 | 0 | bool sendok__; |
2096 | 0 | { |
2097 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Text"); |
2098 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2099 | 0 | } |
2100 | 0 | if ((!(sendok__))) { |
2101 | 0 | return false; |
2102 | 0 | } |
2103 | 0 | |
2104 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2105 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2106 | 0 | } |
2107 | 0 |
|
2108 | 0 | PickleIterator iter__(reply__); |
2109 | 0 |
|
2110 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aText)))) { |
2111 | 0 | FatalError("Error deserializing 'nsString'"); |
2112 | 0 | return false; |
2113 | 0 | } |
2114 | 0 | // Sentinel = 'aText' |
2115 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 711388569)))) { |
2116 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
2117 | 0 | return false; |
2118 | 0 | } |
2119 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2120 | 0 |
|
2121 | 0 | return true; |
2122 | 0 | } |
2123 | | |
2124 | | auto PDocAccessibleParent::SendReplaceText( |
2125 | | const uint64_t& aID, |
2126 | | const nsString& aText) -> bool |
2127 | 0 | { |
2128 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ReplaceText(Id()); |
2129 | 0 |
|
2130 | 0 | WriteIPDLParam(msg__, this, aID); |
2131 | 0 | // Sentinel = 'aID' |
2132 | 0 | (msg__)->WriteSentinel(2735041849); |
2133 | 0 | WriteIPDLParam(msg__, this, aText); |
2134 | 0 | // Sentinel = 'aText' |
2135 | 0 | (msg__)->WriteSentinel(711388569); |
2136 | 0 |
|
2137 | 0 |
|
2138 | 0 |
|
2139 | 0 | Message reply__; |
2140 | 0 |
|
2141 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2142 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2143 | 0 | } |
2144 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ReplaceText", OTHER); |
2145 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2146 | 0 | mozilla::ipc::LogicError("Transition error"); |
2147 | 0 | } |
2148 | 0 |
|
2149 | 0 | bool sendok__; |
2150 | 0 | { |
2151 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ReplaceText"); |
2152 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2153 | 0 | } |
2154 | 0 | if ((!(sendok__))) { |
2155 | 0 | return false; |
2156 | 0 | } |
2157 | 0 | |
2158 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2159 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2160 | 0 | } |
2161 | 0 |
|
2162 | 0 | return true; |
2163 | 0 | } |
2164 | | |
2165 | | auto PDocAccessibleParent::SendInsertText( |
2166 | | const uint64_t& aID, |
2167 | | const nsString& aText, |
2168 | | const int32_t& aPosition, |
2169 | | bool* aValid) -> bool |
2170 | 0 | { |
2171 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_InsertText(Id()); |
2172 | 0 |
|
2173 | 0 | WriteIPDLParam(msg__, this, aID); |
2174 | 0 | // Sentinel = 'aID' |
2175 | 0 | (msg__)->WriteSentinel(2735041849); |
2176 | 0 | WriteIPDLParam(msg__, this, aText); |
2177 | 0 | // Sentinel = 'aText' |
2178 | 0 | (msg__)->WriteSentinel(711388569); |
2179 | 0 | WriteIPDLParam(msg__, this, aPosition); |
2180 | 0 | // Sentinel = 'aPosition' |
2181 | 0 | (msg__)->WriteSentinel(2753958473); |
2182 | 0 |
|
2183 | 0 |
|
2184 | 0 |
|
2185 | 0 | Message reply__; |
2186 | 0 |
|
2187 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2188 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2189 | 0 | } |
2190 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_InsertText", OTHER); |
2191 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2192 | 0 | mozilla::ipc::LogicError("Transition error"); |
2193 | 0 | } |
2194 | 0 |
|
2195 | 0 | bool sendok__; |
2196 | 0 | { |
2197 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_InsertText"); |
2198 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2199 | 0 | } |
2200 | 0 | if ((!(sendok__))) { |
2201 | 0 | return false; |
2202 | 0 | } |
2203 | 0 | |
2204 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2205 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2206 | 0 | } |
2207 | 0 |
|
2208 | 0 | PickleIterator iter__(reply__); |
2209 | 0 |
|
2210 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
2211 | 0 | FatalError("Error deserializing 'bool'"); |
2212 | 0 | return false; |
2213 | 0 | } |
2214 | 0 | // Sentinel = 'aValid' |
2215 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
2216 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2217 | 0 | return false; |
2218 | 0 | } |
2219 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2220 | 0 |
|
2221 | 0 | return true; |
2222 | 0 | } |
2223 | | |
2224 | | auto PDocAccessibleParent::SendCopyText( |
2225 | | const uint64_t& aID, |
2226 | | const int32_t& aStartPos, |
2227 | | const int32_t& aEndPos, |
2228 | | bool* aValid) -> bool |
2229 | 0 | { |
2230 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CopyText(Id()); |
2231 | 0 |
|
2232 | 0 | WriteIPDLParam(msg__, this, aID); |
2233 | 0 | // Sentinel = 'aID' |
2234 | 0 | (msg__)->WriteSentinel(2735041849); |
2235 | 0 | WriteIPDLParam(msg__, this, aStartPos); |
2236 | 0 | // Sentinel = 'aStartPos' |
2237 | 0 | (msg__)->WriteSentinel(2464563982); |
2238 | 0 | WriteIPDLParam(msg__, this, aEndPos); |
2239 | 0 | // Sentinel = 'aEndPos' |
2240 | 0 | (msg__)->WriteSentinel(2590709049); |
2241 | 0 |
|
2242 | 0 |
|
2243 | 0 |
|
2244 | 0 | Message reply__; |
2245 | 0 |
|
2246 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2247 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2248 | 0 | } |
2249 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CopyText", OTHER); |
2250 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2251 | 0 | mozilla::ipc::LogicError("Transition error"); |
2252 | 0 | } |
2253 | 0 |
|
2254 | 0 | bool sendok__; |
2255 | 0 | { |
2256 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CopyText"); |
2257 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2258 | 0 | } |
2259 | 0 | if ((!(sendok__))) { |
2260 | 0 | return false; |
2261 | 0 | } |
2262 | 0 | |
2263 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2264 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2265 | 0 | } |
2266 | 0 |
|
2267 | 0 | PickleIterator iter__(reply__); |
2268 | 0 |
|
2269 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
2270 | 0 | FatalError("Error deserializing 'bool'"); |
2271 | 0 | return false; |
2272 | 0 | } |
2273 | 0 | // Sentinel = 'aValid' |
2274 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
2275 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2276 | 0 | return false; |
2277 | 0 | } |
2278 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2279 | 0 |
|
2280 | 0 | return true; |
2281 | 0 | } |
2282 | | |
2283 | | auto PDocAccessibleParent::SendCutText( |
2284 | | const uint64_t& aID, |
2285 | | const int32_t& aStartPos, |
2286 | | const int32_t& aEndPos, |
2287 | | bool* aValid) -> bool |
2288 | 0 | { |
2289 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CutText(Id()); |
2290 | 0 |
|
2291 | 0 | WriteIPDLParam(msg__, this, aID); |
2292 | 0 | // Sentinel = 'aID' |
2293 | 0 | (msg__)->WriteSentinel(2735041849); |
2294 | 0 | WriteIPDLParam(msg__, this, aStartPos); |
2295 | 0 | // Sentinel = 'aStartPos' |
2296 | 0 | (msg__)->WriteSentinel(2464563982); |
2297 | 0 | WriteIPDLParam(msg__, this, aEndPos); |
2298 | 0 | // Sentinel = 'aEndPos' |
2299 | 0 | (msg__)->WriteSentinel(2590709049); |
2300 | 0 |
|
2301 | 0 |
|
2302 | 0 |
|
2303 | 0 | Message reply__; |
2304 | 0 |
|
2305 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2306 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2307 | 0 | } |
2308 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CutText", OTHER); |
2309 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2310 | 0 | mozilla::ipc::LogicError("Transition error"); |
2311 | 0 | } |
2312 | 0 |
|
2313 | 0 | bool sendok__; |
2314 | 0 | { |
2315 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CutText"); |
2316 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2317 | 0 | } |
2318 | 0 | if ((!(sendok__))) { |
2319 | 0 | return false; |
2320 | 0 | } |
2321 | 0 | |
2322 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2323 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2324 | 0 | } |
2325 | 0 |
|
2326 | 0 | PickleIterator iter__(reply__); |
2327 | 0 |
|
2328 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
2329 | 0 | FatalError("Error deserializing 'bool'"); |
2330 | 0 | return false; |
2331 | 0 | } |
2332 | 0 | // Sentinel = 'aValid' |
2333 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
2334 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2335 | 0 | return false; |
2336 | 0 | } |
2337 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2338 | 0 |
|
2339 | 0 | return true; |
2340 | 0 | } |
2341 | | |
2342 | | auto PDocAccessibleParent::SendDeleteText( |
2343 | | const uint64_t& aID, |
2344 | | const int32_t& aStartPos, |
2345 | | const int32_t& aEndPos, |
2346 | | bool* aValid) -> bool |
2347 | 0 | { |
2348 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_DeleteText(Id()); |
2349 | 0 |
|
2350 | 0 | WriteIPDLParam(msg__, this, aID); |
2351 | 0 | // Sentinel = 'aID' |
2352 | 0 | (msg__)->WriteSentinel(2735041849); |
2353 | 0 | WriteIPDLParam(msg__, this, aStartPos); |
2354 | 0 | // Sentinel = 'aStartPos' |
2355 | 0 | (msg__)->WriteSentinel(2464563982); |
2356 | 0 | WriteIPDLParam(msg__, this, aEndPos); |
2357 | 0 | // Sentinel = 'aEndPos' |
2358 | 0 | (msg__)->WriteSentinel(2590709049); |
2359 | 0 |
|
2360 | 0 |
|
2361 | 0 |
|
2362 | 0 | Message reply__; |
2363 | 0 |
|
2364 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2365 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2366 | 0 | } |
2367 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DeleteText", OTHER); |
2368 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2369 | 0 | mozilla::ipc::LogicError("Transition error"); |
2370 | 0 | } |
2371 | 0 |
|
2372 | 0 | bool sendok__; |
2373 | 0 | { |
2374 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_DeleteText"); |
2375 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2376 | 0 | } |
2377 | 0 | if ((!(sendok__))) { |
2378 | 0 | return false; |
2379 | 0 | } |
2380 | 0 | |
2381 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2382 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2383 | 0 | } |
2384 | 0 |
|
2385 | 0 | PickleIterator iter__(reply__); |
2386 | 0 |
|
2387 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
2388 | 0 | FatalError("Error deserializing 'bool'"); |
2389 | 0 | return false; |
2390 | 0 | } |
2391 | 0 | // Sentinel = 'aValid' |
2392 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
2393 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2394 | 0 | return false; |
2395 | 0 | } |
2396 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2397 | 0 |
|
2398 | 0 | return true; |
2399 | 0 | } |
2400 | | |
2401 | | auto PDocAccessibleParent::SendPasteText( |
2402 | | const uint64_t& aID, |
2403 | | const int32_t& aPosition, |
2404 | | bool* aValid) -> bool |
2405 | 0 | { |
2406 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_PasteText(Id()); |
2407 | 0 |
|
2408 | 0 | WriteIPDLParam(msg__, this, aID); |
2409 | 0 | // Sentinel = 'aID' |
2410 | 0 | (msg__)->WriteSentinel(2735041849); |
2411 | 0 | WriteIPDLParam(msg__, this, aPosition); |
2412 | 0 | // Sentinel = 'aPosition' |
2413 | 0 | (msg__)->WriteSentinel(2753958473); |
2414 | 0 |
|
2415 | 0 |
|
2416 | 0 |
|
2417 | 0 | Message reply__; |
2418 | 0 |
|
2419 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2420 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2421 | 0 | } |
2422 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_PasteText", OTHER); |
2423 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2424 | 0 | mozilla::ipc::LogicError("Transition error"); |
2425 | 0 | } |
2426 | 0 |
|
2427 | 0 | bool sendok__; |
2428 | 0 | { |
2429 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_PasteText"); |
2430 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2431 | 0 | } |
2432 | 0 | if ((!(sendok__))) { |
2433 | 0 | return false; |
2434 | 0 | } |
2435 | 0 | |
2436 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2437 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2438 | 0 | } |
2439 | 0 |
|
2440 | 0 | PickleIterator iter__(reply__); |
2441 | 0 |
|
2442 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValid)))) { |
2443 | 0 | FatalError("Error deserializing 'bool'"); |
2444 | 0 | return false; |
2445 | 0 | } |
2446 | 0 | // Sentinel = 'aValid' |
2447 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2510186467)))) { |
2448 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2449 | 0 | return false; |
2450 | 0 | } |
2451 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2452 | 0 |
|
2453 | 0 | return true; |
2454 | 0 | } |
2455 | | |
2456 | | auto PDocAccessibleParent::SendImagePosition( |
2457 | | const uint64_t& aID, |
2458 | | const uint32_t& aCoordType, |
2459 | | IntPoint* aRetVal) -> bool |
2460 | 0 | { |
2461 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ImagePosition(Id()); |
2462 | 0 |
|
2463 | 0 | WriteIPDLParam(msg__, this, aID); |
2464 | 0 | // Sentinel = 'aID' |
2465 | 0 | (msg__)->WriteSentinel(2735041849); |
2466 | 0 | WriteIPDLParam(msg__, this, aCoordType); |
2467 | 0 | // Sentinel = 'aCoordType' |
2468 | 0 | (msg__)->WriteSentinel(3719390058); |
2469 | 0 |
|
2470 | 0 |
|
2471 | 0 |
|
2472 | 0 | Message reply__; |
2473 | 0 |
|
2474 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2475 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2476 | 0 | } |
2477 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ImagePosition", OTHER); |
2478 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2479 | 0 | mozilla::ipc::LogicError("Transition error"); |
2480 | 0 | } |
2481 | 0 |
|
2482 | 0 | bool sendok__; |
2483 | 0 | { |
2484 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ImagePosition"); |
2485 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2486 | 0 | } |
2487 | 0 | if ((!(sendok__))) { |
2488 | 0 | return false; |
2489 | 0 | } |
2490 | 0 | |
2491 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2492 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2493 | 0 | } |
2494 | 0 |
|
2495 | 0 | PickleIterator iter__(reply__); |
2496 | 0 |
|
2497 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2498 | 0 | FatalError("Error deserializing 'IntPoint'"); |
2499 | 0 | return false; |
2500 | 0 | } |
2501 | 0 | // Sentinel = 'aRetVal' |
2502 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2503 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'IntPoint'"); |
2504 | 0 | return false; |
2505 | 0 | } |
2506 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2507 | 0 |
|
2508 | 0 | return true; |
2509 | 0 | } |
2510 | | |
2511 | | auto PDocAccessibleParent::SendImageSize( |
2512 | | const uint64_t& aID, |
2513 | | IntSize* aRetVal) -> bool |
2514 | 0 | { |
2515 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ImageSize(Id()); |
2516 | 0 |
|
2517 | 0 | WriteIPDLParam(msg__, this, aID); |
2518 | 0 | // Sentinel = 'aID' |
2519 | 0 | (msg__)->WriteSentinel(2735041849); |
2520 | 0 |
|
2521 | 0 |
|
2522 | 0 |
|
2523 | 0 | Message reply__; |
2524 | 0 |
|
2525 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2526 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2527 | 0 | } |
2528 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ImageSize", OTHER); |
2529 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2530 | 0 | mozilla::ipc::LogicError("Transition error"); |
2531 | 0 | } |
2532 | 0 |
|
2533 | 0 | bool sendok__; |
2534 | 0 | { |
2535 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ImageSize"); |
2536 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2537 | 0 | } |
2538 | 0 | if ((!(sendok__))) { |
2539 | 0 | return false; |
2540 | 0 | } |
2541 | 0 | |
2542 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2543 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2544 | 0 | } |
2545 | 0 |
|
2546 | 0 | PickleIterator iter__(reply__); |
2547 | 0 |
|
2548 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2549 | 0 | FatalError("Error deserializing 'IntSize'"); |
2550 | 0 | return false; |
2551 | 0 | } |
2552 | 0 | // Sentinel = 'aRetVal' |
2553 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2554 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'"); |
2555 | 0 | return false; |
2556 | 0 | } |
2557 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2558 | 0 |
|
2559 | 0 | return true; |
2560 | 0 | } |
2561 | | |
2562 | | auto PDocAccessibleParent::SendStartOffset( |
2563 | | const uint64_t& aID, |
2564 | | uint32_t* aRetVal, |
2565 | | bool* aOk) -> bool |
2566 | 0 | { |
2567 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_StartOffset(Id()); |
2568 | 0 |
|
2569 | 0 | WriteIPDLParam(msg__, this, aID); |
2570 | 0 | // Sentinel = 'aID' |
2571 | 0 | (msg__)->WriteSentinel(2735041849); |
2572 | 0 |
|
2573 | 0 |
|
2574 | 0 |
|
2575 | 0 | Message reply__; |
2576 | 0 |
|
2577 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2578 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2579 | 0 | } |
2580 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_StartOffset", OTHER); |
2581 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2582 | 0 | mozilla::ipc::LogicError("Transition error"); |
2583 | 0 | } |
2584 | 0 |
|
2585 | 0 | bool sendok__; |
2586 | 0 | { |
2587 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_StartOffset"); |
2588 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2589 | 0 | } |
2590 | 0 | if ((!(sendok__))) { |
2591 | 0 | return false; |
2592 | 0 | } |
2593 | 0 | |
2594 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2595 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2596 | 0 | } |
2597 | 0 |
|
2598 | 0 | PickleIterator iter__(reply__); |
2599 | 0 |
|
2600 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2601 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2602 | 0 | return false; |
2603 | 0 | } |
2604 | 0 | // Sentinel = 'aRetVal' |
2605 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2606 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2607 | 0 | return false; |
2608 | 0 | } |
2609 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
2610 | 0 | FatalError("Error deserializing 'bool'"); |
2611 | 0 | return false; |
2612 | 0 | } |
2613 | 0 | // Sentinel = 'aOk' |
2614 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
2615 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2616 | 0 | return false; |
2617 | 0 | } |
2618 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2619 | 0 |
|
2620 | 0 | return true; |
2621 | 0 | } |
2622 | | |
2623 | | auto PDocAccessibleParent::SendEndOffset( |
2624 | | const uint64_t& aID, |
2625 | | uint32_t* aRetVal, |
2626 | | bool* aOk) -> bool |
2627 | 0 | { |
2628 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_EndOffset(Id()); |
2629 | 0 |
|
2630 | 0 | WriteIPDLParam(msg__, this, aID); |
2631 | 0 | // Sentinel = 'aID' |
2632 | 0 | (msg__)->WriteSentinel(2735041849); |
2633 | 0 |
|
2634 | 0 |
|
2635 | 0 |
|
2636 | 0 | Message reply__; |
2637 | 0 |
|
2638 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2639 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2640 | 0 | } |
2641 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_EndOffset", OTHER); |
2642 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2643 | 0 | mozilla::ipc::LogicError("Transition error"); |
2644 | 0 | } |
2645 | 0 |
|
2646 | 0 | bool sendok__; |
2647 | 0 | { |
2648 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_EndOffset"); |
2649 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2650 | 0 | } |
2651 | 0 | if ((!(sendok__))) { |
2652 | 0 | return false; |
2653 | 0 | } |
2654 | 0 | |
2655 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2656 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2657 | 0 | } |
2658 | 0 |
|
2659 | 0 | PickleIterator iter__(reply__); |
2660 | 0 |
|
2661 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2662 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2663 | 0 | return false; |
2664 | 0 | } |
2665 | 0 | // Sentinel = 'aRetVal' |
2666 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2667 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2668 | 0 | return false; |
2669 | 0 | } |
2670 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
2671 | 0 | FatalError("Error deserializing 'bool'"); |
2672 | 0 | return false; |
2673 | 0 | } |
2674 | 0 | // Sentinel = 'aOk' |
2675 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
2676 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2677 | 0 | return false; |
2678 | 0 | } |
2679 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2680 | 0 |
|
2681 | 0 | return true; |
2682 | 0 | } |
2683 | | |
2684 | | auto PDocAccessibleParent::SendIsLinkValid( |
2685 | | const uint64_t& aID, |
2686 | | bool* aRetVal) -> bool |
2687 | 0 | { |
2688 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_IsLinkValid(Id()); |
2689 | 0 |
|
2690 | 0 | WriteIPDLParam(msg__, this, aID); |
2691 | 0 | // Sentinel = 'aID' |
2692 | 0 | (msg__)->WriteSentinel(2735041849); |
2693 | 0 |
|
2694 | 0 |
|
2695 | 0 |
|
2696 | 0 | Message reply__; |
2697 | 0 |
|
2698 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2699 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2700 | 0 | } |
2701 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsLinkValid", OTHER); |
2702 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2703 | 0 | mozilla::ipc::LogicError("Transition error"); |
2704 | 0 | } |
2705 | 0 |
|
2706 | 0 | bool sendok__; |
2707 | 0 | { |
2708 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_IsLinkValid"); |
2709 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2710 | 0 | } |
2711 | 0 | if ((!(sendok__))) { |
2712 | 0 | return false; |
2713 | 0 | } |
2714 | 0 | |
2715 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2716 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2717 | 0 | } |
2718 | 0 |
|
2719 | 0 | PickleIterator iter__(reply__); |
2720 | 0 |
|
2721 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2722 | 0 | FatalError("Error deserializing 'bool'"); |
2723 | 0 | return false; |
2724 | 0 | } |
2725 | 0 | // Sentinel = 'aRetVal' |
2726 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2727 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2728 | 0 | return false; |
2729 | 0 | } |
2730 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2731 | 0 |
|
2732 | 0 | return true; |
2733 | 0 | } |
2734 | | |
2735 | | auto PDocAccessibleParent::SendAnchorCount( |
2736 | | const uint64_t& aID, |
2737 | | uint32_t* aRetVal, |
2738 | | bool* aOk) -> bool |
2739 | 0 | { |
2740 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AnchorCount(Id()); |
2741 | 0 |
|
2742 | 0 | WriteIPDLParam(msg__, this, aID); |
2743 | 0 | // Sentinel = 'aID' |
2744 | 0 | (msg__)->WriteSentinel(2735041849); |
2745 | 0 |
|
2746 | 0 |
|
2747 | 0 |
|
2748 | 0 | Message reply__; |
2749 | 0 |
|
2750 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2751 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2752 | 0 | } |
2753 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorCount", OTHER); |
2754 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2755 | 0 | mozilla::ipc::LogicError("Transition error"); |
2756 | 0 | } |
2757 | 0 |
|
2758 | 0 | bool sendok__; |
2759 | 0 | { |
2760 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AnchorCount"); |
2761 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2762 | 0 | } |
2763 | 0 | if ((!(sendok__))) { |
2764 | 0 | return false; |
2765 | 0 | } |
2766 | 0 | |
2767 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2768 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2769 | 0 | } |
2770 | 0 |
|
2771 | 0 | PickleIterator iter__(reply__); |
2772 | 0 |
|
2773 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
2774 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2775 | 0 | return false; |
2776 | 0 | } |
2777 | 0 | // Sentinel = 'aRetVal' |
2778 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
2779 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2780 | 0 | return false; |
2781 | 0 | } |
2782 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
2783 | 0 | FatalError("Error deserializing 'bool'"); |
2784 | 0 | return false; |
2785 | 0 | } |
2786 | 0 | // Sentinel = 'aOk' |
2787 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
2788 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2789 | 0 | return false; |
2790 | 0 | } |
2791 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2792 | 0 |
|
2793 | 0 | return true; |
2794 | 0 | } |
2795 | | |
2796 | | auto PDocAccessibleParent::SendAnchorURIAt( |
2797 | | const uint64_t& aID, |
2798 | | const uint32_t& aIndex, |
2799 | | nsCString* aURI, |
2800 | | bool* aOk) -> bool |
2801 | 0 | { |
2802 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AnchorURIAt(Id()); |
2803 | 0 |
|
2804 | 0 | WriteIPDLParam(msg__, this, aID); |
2805 | 0 | // Sentinel = 'aID' |
2806 | 0 | (msg__)->WriteSentinel(2735041849); |
2807 | 0 | WriteIPDLParam(msg__, this, aIndex); |
2808 | 0 | // Sentinel = 'aIndex' |
2809 | 0 | (msg__)->WriteSentinel(3511194741); |
2810 | 0 |
|
2811 | 0 |
|
2812 | 0 |
|
2813 | 0 | Message reply__; |
2814 | 0 |
|
2815 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2816 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2817 | 0 | } |
2818 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorURIAt", OTHER); |
2819 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2820 | 0 | mozilla::ipc::LogicError("Transition error"); |
2821 | 0 | } |
2822 | 0 |
|
2823 | 0 | bool sendok__; |
2824 | 0 | { |
2825 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AnchorURIAt"); |
2826 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2827 | 0 | } |
2828 | 0 | if ((!(sendok__))) { |
2829 | 0 | return false; |
2830 | 0 | } |
2831 | 0 | |
2832 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2833 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2834 | 0 | } |
2835 | 0 |
|
2836 | 0 | PickleIterator iter__(reply__); |
2837 | 0 |
|
2838 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aURI)))) { |
2839 | 0 | FatalError("Error deserializing 'nsCString'"); |
2840 | 0 | return false; |
2841 | 0 | } |
2842 | 0 | // Sentinel = 'aURI' |
2843 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2075506333)))) { |
2844 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'"); |
2845 | 0 | return false; |
2846 | 0 | } |
2847 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
2848 | 0 | FatalError("Error deserializing 'bool'"); |
2849 | 0 | return false; |
2850 | 0 | } |
2851 | 0 | // Sentinel = 'aOk' |
2852 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
2853 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2854 | 0 | return false; |
2855 | 0 | } |
2856 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2857 | 0 |
|
2858 | 0 | return true; |
2859 | 0 | } |
2860 | | |
2861 | | auto PDocAccessibleParent::SendAnchorAt( |
2862 | | const uint64_t& aID, |
2863 | | const uint32_t& aIndex, |
2864 | | uint64_t* aIDOfAnchor, |
2865 | | bool* aOk) -> bool |
2866 | 0 | { |
2867 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AnchorAt(Id()); |
2868 | 0 |
|
2869 | 0 | WriteIPDLParam(msg__, this, aID); |
2870 | 0 | // Sentinel = 'aID' |
2871 | 0 | (msg__)->WriteSentinel(2735041849); |
2872 | 0 | WriteIPDLParam(msg__, this, aIndex); |
2873 | 0 | // Sentinel = 'aIndex' |
2874 | 0 | (msg__)->WriteSentinel(3511194741); |
2875 | 0 |
|
2876 | 0 |
|
2877 | 0 |
|
2878 | 0 | Message reply__; |
2879 | 0 |
|
2880 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2881 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2882 | 0 | } |
2883 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AnchorAt", OTHER); |
2884 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2885 | 0 | mozilla::ipc::LogicError("Transition error"); |
2886 | 0 | } |
2887 | 0 |
|
2888 | 0 | bool sendok__; |
2889 | 0 | { |
2890 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AnchorAt"); |
2891 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2892 | 0 | } |
2893 | 0 | if ((!(sendok__))) { |
2894 | 0 | return false; |
2895 | 0 | } |
2896 | 0 | |
2897 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2898 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2899 | 0 | } |
2900 | 0 |
|
2901 | 0 | PickleIterator iter__(reply__); |
2902 | 0 |
|
2903 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIDOfAnchor)))) { |
2904 | 0 | FatalError("Error deserializing 'uint64_t'"); |
2905 | 0 | return false; |
2906 | 0 | } |
2907 | 0 | // Sentinel = 'aIDOfAnchor' |
2908 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3054087993)))) { |
2909 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
2910 | 0 | return false; |
2911 | 0 | } |
2912 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
2913 | 0 | FatalError("Error deserializing 'bool'"); |
2914 | 0 | return false; |
2915 | 0 | } |
2916 | 0 | // Sentinel = 'aOk' |
2917 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
2918 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
2919 | 0 | return false; |
2920 | 0 | } |
2921 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2922 | 0 |
|
2923 | 0 | return true; |
2924 | 0 | } |
2925 | | |
2926 | | auto PDocAccessibleParent::SendLinkCount( |
2927 | | const uint64_t& aID, |
2928 | | uint32_t* aCount) -> bool |
2929 | 0 | { |
2930 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_LinkCount(Id()); |
2931 | 0 |
|
2932 | 0 | WriteIPDLParam(msg__, this, aID); |
2933 | 0 | // Sentinel = 'aID' |
2934 | 0 | (msg__)->WriteSentinel(2735041849); |
2935 | 0 |
|
2936 | 0 |
|
2937 | 0 |
|
2938 | 0 | Message reply__; |
2939 | 0 |
|
2940 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2941 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2942 | 0 | } |
2943 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkCount", OTHER); |
2944 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
2945 | 0 | mozilla::ipc::LogicError("Transition error"); |
2946 | 0 | } |
2947 | 0 |
|
2948 | 0 | bool sendok__; |
2949 | 0 | { |
2950 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_LinkCount"); |
2951 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
2952 | 0 | } |
2953 | 0 | if ((!(sendok__))) { |
2954 | 0 | return false; |
2955 | 0 | } |
2956 | 0 | |
2957 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2958 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
2959 | 0 | } |
2960 | 0 |
|
2961 | 0 | PickleIterator iter__(reply__); |
2962 | 0 |
|
2963 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCount)))) { |
2964 | 0 | FatalError("Error deserializing 'uint32_t'"); |
2965 | 0 | return false; |
2966 | 0 | } |
2967 | 0 | // Sentinel = 'aCount' |
2968 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2344199296)))) { |
2969 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
2970 | 0 | return false; |
2971 | 0 | } |
2972 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
2973 | 0 |
|
2974 | 0 | return true; |
2975 | 0 | } |
2976 | | |
2977 | | auto PDocAccessibleParent::SendLinkAt( |
2978 | | const uint64_t& aID, |
2979 | | const uint32_t& aIndex, |
2980 | | uint64_t* aIDOfLink, |
2981 | | bool* aOk) -> bool |
2982 | 0 | { |
2983 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_LinkAt(Id()); |
2984 | 0 |
|
2985 | 0 | WriteIPDLParam(msg__, this, aID); |
2986 | 0 | // Sentinel = 'aID' |
2987 | 0 | (msg__)->WriteSentinel(2735041849); |
2988 | 0 | WriteIPDLParam(msg__, this, aIndex); |
2989 | 0 | // Sentinel = 'aIndex' |
2990 | 0 | (msg__)->WriteSentinel(3511194741); |
2991 | 0 |
|
2992 | 0 |
|
2993 | 0 |
|
2994 | 0 | Message reply__; |
2995 | 0 |
|
2996 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
2997 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
2998 | 0 | } |
2999 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkAt", OTHER); |
3000 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3001 | 0 | mozilla::ipc::LogicError("Transition error"); |
3002 | 0 | } |
3003 | 0 |
|
3004 | 0 | bool sendok__; |
3005 | 0 | { |
3006 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_LinkAt"); |
3007 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3008 | 0 | } |
3009 | 0 | if ((!(sendok__))) { |
3010 | 0 | return false; |
3011 | 0 | } |
3012 | 0 | |
3013 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3014 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3015 | 0 | } |
3016 | 0 |
|
3017 | 0 | PickleIterator iter__(reply__); |
3018 | 0 |
|
3019 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIDOfLink)))) { |
3020 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3021 | 0 | return false; |
3022 | 0 | } |
3023 | 0 | // Sentinel = 'aIDOfLink' |
3024 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 915366984)))) { |
3025 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3026 | 0 | return false; |
3027 | 0 | } |
3028 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
3029 | 0 | FatalError("Error deserializing 'bool'"); |
3030 | 0 | return false; |
3031 | 0 | } |
3032 | 0 | // Sentinel = 'aOk' |
3033 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
3034 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
3035 | 0 | return false; |
3036 | 0 | } |
3037 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3038 | 0 |
|
3039 | 0 | return true; |
3040 | 0 | } |
3041 | | |
3042 | | auto PDocAccessibleParent::SendLinkIndexOf( |
3043 | | const uint64_t& aID, |
3044 | | const uint64_t& aLinkID, |
3045 | | int32_t* aIndex) -> bool |
3046 | 0 | { |
3047 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_LinkIndexOf(Id()); |
3048 | 0 |
|
3049 | 0 | WriteIPDLParam(msg__, this, aID); |
3050 | 0 | // Sentinel = 'aID' |
3051 | 0 | (msg__)->WriteSentinel(2735041849); |
3052 | 0 | WriteIPDLParam(msg__, this, aLinkID); |
3053 | 0 | // Sentinel = 'aLinkID' |
3054 | 0 | (msg__)->WriteSentinel(4101703593); |
3055 | 0 |
|
3056 | 0 |
|
3057 | 0 |
|
3058 | 0 | Message reply__; |
3059 | 0 |
|
3060 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3061 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3062 | 0 | } |
3063 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkIndexOf", OTHER); |
3064 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3065 | 0 | mozilla::ipc::LogicError("Transition error"); |
3066 | 0 | } |
3067 | 0 |
|
3068 | 0 | bool sendok__; |
3069 | 0 | { |
3070 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_LinkIndexOf"); |
3071 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3072 | 0 | } |
3073 | 0 | if ((!(sendok__))) { |
3074 | 0 | return false; |
3075 | 0 | } |
3076 | 0 | |
3077 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3078 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3079 | 0 | } |
3080 | 0 |
|
3081 | 0 | PickleIterator iter__(reply__); |
3082 | 0 |
|
3083 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIndex)))) { |
3084 | 0 | FatalError("Error deserializing 'int32_t'"); |
3085 | 0 | return false; |
3086 | 0 | } |
3087 | 0 | // Sentinel = 'aIndex' |
3088 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3089 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
3090 | 0 | return false; |
3091 | 0 | } |
3092 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3093 | 0 |
|
3094 | 0 | return true; |
3095 | 0 | } |
3096 | | |
3097 | | auto PDocAccessibleParent::SendLinkIndexAtOffset( |
3098 | | const uint64_t& aID, |
3099 | | const uint32_t& aOffset, |
3100 | | int32_t* aIndex) -> bool |
3101 | 0 | { |
3102 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_LinkIndexAtOffset(Id()); |
3103 | 0 |
|
3104 | 0 | WriteIPDLParam(msg__, this, aID); |
3105 | 0 | // Sentinel = 'aID' |
3106 | 0 | (msg__)->WriteSentinel(2735041849); |
3107 | 0 | WriteIPDLParam(msg__, this, aOffset); |
3108 | 0 | // Sentinel = 'aOffset' |
3109 | 0 | (msg__)->WriteSentinel(2656388039); |
3110 | 0 |
|
3111 | 0 |
|
3112 | 0 |
|
3113 | 0 | Message reply__; |
3114 | 0 |
|
3115 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3116 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3117 | 0 | } |
3118 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_LinkIndexAtOffset", OTHER); |
3119 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3120 | 0 | mozilla::ipc::LogicError("Transition error"); |
3121 | 0 | } |
3122 | 0 |
|
3123 | 0 | bool sendok__; |
3124 | 0 | { |
3125 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_LinkIndexAtOffset"); |
3126 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3127 | 0 | } |
3128 | 0 | if ((!(sendok__))) { |
3129 | 0 | return false; |
3130 | 0 | } |
3131 | 0 | |
3132 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3133 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3134 | 0 | } |
3135 | 0 |
|
3136 | 0 | PickleIterator iter__(reply__); |
3137 | 0 |
|
3138 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIndex)))) { |
3139 | 0 | FatalError("Error deserializing 'int32_t'"); |
3140 | 0 | return false; |
3141 | 0 | } |
3142 | 0 | // Sentinel = 'aIndex' |
3143 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3144 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
3145 | 0 | return false; |
3146 | 0 | } |
3147 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3148 | 0 |
|
3149 | 0 | return true; |
3150 | 0 | } |
3151 | | |
3152 | | auto PDocAccessibleParent::SendTableOfACell( |
3153 | | const uint64_t& aID, |
3154 | | uint64_t* aTableID, |
3155 | | bool* aOk) -> bool |
3156 | 0 | { |
3157 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableOfACell(Id()); |
3158 | 0 |
|
3159 | 0 | WriteIPDLParam(msg__, this, aID); |
3160 | 0 | // Sentinel = 'aID' |
3161 | 0 | (msg__)->WriteSentinel(2735041849); |
3162 | 0 |
|
3163 | 0 |
|
3164 | 0 |
|
3165 | 0 | Message reply__; |
3166 | 0 |
|
3167 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3168 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3169 | 0 | } |
3170 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableOfACell", OTHER); |
3171 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3172 | 0 | mozilla::ipc::LogicError("Transition error"); |
3173 | 0 | } |
3174 | 0 |
|
3175 | 0 | bool sendok__; |
3176 | 0 | { |
3177 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableOfACell"); |
3178 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3179 | 0 | } |
3180 | 0 | if ((!(sendok__))) { |
3181 | 0 | return false; |
3182 | 0 | } |
3183 | 0 | |
3184 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3185 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3186 | 0 | } |
3187 | 0 |
|
3188 | 0 | PickleIterator iter__(reply__); |
3189 | 0 |
|
3190 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aTableID)))) { |
3191 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3192 | 0 | return false; |
3193 | 0 | } |
3194 | 0 | // Sentinel = 'aTableID' |
3195 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 333025064)))) { |
3196 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3197 | 0 | return false; |
3198 | 0 | } |
3199 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
3200 | 0 | FatalError("Error deserializing 'bool'"); |
3201 | 0 | return false; |
3202 | 0 | } |
3203 | 0 | // Sentinel = 'aOk' |
3204 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
3205 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
3206 | 0 | return false; |
3207 | 0 | } |
3208 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3209 | 0 |
|
3210 | 0 | return true; |
3211 | 0 | } |
3212 | | |
3213 | | auto PDocAccessibleParent::SendColIdx( |
3214 | | const uint64_t& aID, |
3215 | | uint32_t* aIndex) -> bool |
3216 | 0 | { |
3217 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ColIdx(Id()); |
3218 | 0 |
|
3219 | 0 | WriteIPDLParam(msg__, this, aID); |
3220 | 0 | // Sentinel = 'aID' |
3221 | 0 | (msg__)->WriteSentinel(2735041849); |
3222 | 0 |
|
3223 | 0 |
|
3224 | 0 |
|
3225 | 0 | Message reply__; |
3226 | 0 |
|
3227 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3228 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3229 | 0 | } |
3230 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColIdx", OTHER); |
3231 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3232 | 0 | mozilla::ipc::LogicError("Transition error"); |
3233 | 0 | } |
3234 | 0 |
|
3235 | 0 | bool sendok__; |
3236 | 0 | { |
3237 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ColIdx"); |
3238 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3239 | 0 | } |
3240 | 0 | if ((!(sendok__))) { |
3241 | 0 | return false; |
3242 | 0 | } |
3243 | 0 | |
3244 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3245 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3246 | 0 | } |
3247 | 0 |
|
3248 | 0 | PickleIterator iter__(reply__); |
3249 | 0 |
|
3250 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIndex)))) { |
3251 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3252 | 0 | return false; |
3253 | 0 | } |
3254 | 0 | // Sentinel = 'aIndex' |
3255 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3256 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3257 | 0 | return false; |
3258 | 0 | } |
3259 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3260 | 0 |
|
3261 | 0 | return true; |
3262 | 0 | } |
3263 | | |
3264 | | auto PDocAccessibleParent::SendRowIdx( |
3265 | | const uint64_t& aID, |
3266 | | uint32_t* aIndex) -> bool |
3267 | 0 | { |
3268 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RowIdx(Id()); |
3269 | 0 |
|
3270 | 0 | WriteIPDLParam(msg__, this, aID); |
3271 | 0 | // Sentinel = 'aID' |
3272 | 0 | (msg__)->WriteSentinel(2735041849); |
3273 | 0 |
|
3274 | 0 |
|
3275 | 0 |
|
3276 | 0 | Message reply__; |
3277 | 0 |
|
3278 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3279 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3280 | 0 | } |
3281 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowIdx", OTHER); |
3282 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3283 | 0 | mozilla::ipc::LogicError("Transition error"); |
3284 | 0 | } |
3285 | 0 |
|
3286 | 0 | bool sendok__; |
3287 | 0 | { |
3288 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RowIdx"); |
3289 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3290 | 0 | } |
3291 | 0 | if ((!(sendok__))) { |
3292 | 0 | return false; |
3293 | 0 | } |
3294 | 0 | |
3295 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3296 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3297 | 0 | } |
3298 | 0 |
|
3299 | 0 | PickleIterator iter__(reply__); |
3300 | 0 |
|
3301 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIndex)))) { |
3302 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3303 | 0 | return false; |
3304 | 0 | } |
3305 | 0 | // Sentinel = 'aIndex' |
3306 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
3307 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3308 | 0 | return false; |
3309 | 0 | } |
3310 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3311 | 0 |
|
3312 | 0 | return true; |
3313 | 0 | } |
3314 | | |
3315 | | auto PDocAccessibleParent::SendGetPosition( |
3316 | | const uint64_t& aID, |
3317 | | uint32_t* aRow, |
3318 | | uint32_t* aCol) -> bool |
3319 | 0 | { |
3320 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetPosition(Id()); |
3321 | 0 |
|
3322 | 0 | WriteIPDLParam(msg__, this, aID); |
3323 | 0 | // Sentinel = 'aID' |
3324 | 0 | (msg__)->WriteSentinel(2735041849); |
3325 | 0 |
|
3326 | 0 |
|
3327 | 0 |
|
3328 | 0 | Message reply__; |
3329 | 0 |
|
3330 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3331 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3332 | 0 | } |
3333 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetPosition", OTHER); |
3334 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3335 | 0 | mozilla::ipc::LogicError("Transition error"); |
3336 | 0 | } |
3337 | 0 |
|
3338 | 0 | bool sendok__; |
3339 | 0 | { |
3340 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetPosition"); |
3341 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3342 | 0 | } |
3343 | 0 | if ((!(sendok__))) { |
3344 | 0 | return false; |
3345 | 0 | } |
3346 | 0 | |
3347 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3348 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3349 | 0 | } |
3350 | 0 |
|
3351 | 0 | PickleIterator iter__(reply__); |
3352 | 0 |
|
3353 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRow)))) { |
3354 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3355 | 0 | return false; |
3356 | 0 | } |
3357 | 0 | // Sentinel = 'aRow' |
3358 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
3359 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3360 | 0 | return false; |
3361 | 0 | } |
3362 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCol)))) { |
3363 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3364 | 0 | return false; |
3365 | 0 | } |
3366 | 0 | // Sentinel = 'aCol' |
3367 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 606995717)))) { |
3368 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3369 | 0 | return false; |
3370 | 0 | } |
3371 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3372 | 0 |
|
3373 | 0 | return true; |
3374 | 0 | } |
3375 | | |
3376 | | auto PDocAccessibleParent::SendColExtent( |
3377 | | const uint64_t& aID, |
3378 | | uint32_t* aExtent) -> bool |
3379 | 0 | { |
3380 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ColExtent(Id()); |
3381 | 0 |
|
3382 | 0 | WriteIPDLParam(msg__, this, aID); |
3383 | 0 | // Sentinel = 'aID' |
3384 | 0 | (msg__)->WriteSentinel(2735041849); |
3385 | 0 |
|
3386 | 0 |
|
3387 | 0 |
|
3388 | 0 | Message reply__; |
3389 | 0 |
|
3390 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3391 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3392 | 0 | } |
3393 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColExtent", OTHER); |
3394 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3395 | 0 | mozilla::ipc::LogicError("Transition error"); |
3396 | 0 | } |
3397 | 0 |
|
3398 | 0 | bool sendok__; |
3399 | 0 | { |
3400 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ColExtent"); |
3401 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3402 | 0 | } |
3403 | 0 | if ((!(sendok__))) { |
3404 | 0 | return false; |
3405 | 0 | } |
3406 | 0 | |
3407 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3408 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3409 | 0 | } |
3410 | 0 |
|
3411 | 0 | PickleIterator iter__(reply__); |
3412 | 0 |
|
3413 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aExtent)))) { |
3414 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3415 | 0 | return false; |
3416 | 0 | } |
3417 | 0 | // Sentinel = 'aExtent' |
3418 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2688935310)))) { |
3419 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3420 | 0 | return false; |
3421 | 0 | } |
3422 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3423 | 0 |
|
3424 | 0 | return true; |
3425 | 0 | } |
3426 | | |
3427 | | auto PDocAccessibleParent::SendRowExtent( |
3428 | | const uint64_t& aID, |
3429 | | uint32_t* aExtent) -> bool |
3430 | 0 | { |
3431 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RowExtent(Id()); |
3432 | 0 |
|
3433 | 0 | WriteIPDLParam(msg__, this, aID); |
3434 | 0 | // Sentinel = 'aID' |
3435 | 0 | (msg__)->WriteSentinel(2735041849); |
3436 | 0 |
|
3437 | 0 |
|
3438 | 0 |
|
3439 | 0 | Message reply__; |
3440 | 0 |
|
3441 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3442 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3443 | 0 | } |
3444 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowExtent", OTHER); |
3445 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3446 | 0 | mozilla::ipc::LogicError("Transition error"); |
3447 | 0 | } |
3448 | 0 |
|
3449 | 0 | bool sendok__; |
3450 | 0 | { |
3451 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RowExtent"); |
3452 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3453 | 0 | } |
3454 | 0 | if ((!(sendok__))) { |
3455 | 0 | return false; |
3456 | 0 | } |
3457 | 0 | |
3458 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3459 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3460 | 0 | } |
3461 | 0 |
|
3462 | 0 | PickleIterator iter__(reply__); |
3463 | 0 |
|
3464 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aExtent)))) { |
3465 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3466 | 0 | return false; |
3467 | 0 | } |
3468 | 0 | // Sentinel = 'aExtent' |
3469 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2688935310)))) { |
3470 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3471 | 0 | return false; |
3472 | 0 | } |
3473 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3474 | 0 |
|
3475 | 0 | return true; |
3476 | 0 | } |
3477 | | |
3478 | | auto PDocAccessibleParent::SendGetColRowExtents( |
3479 | | const uint64_t& aID, |
3480 | | uint32_t* aCol, |
3481 | | uint32_t* aRow, |
3482 | | uint32_t* aColExtent, |
3483 | | uint32_t* aRowExtent) -> bool |
3484 | 0 | { |
3485 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetColRowExtents(Id()); |
3486 | 0 |
|
3487 | 0 | WriteIPDLParam(msg__, this, aID); |
3488 | 0 | // Sentinel = 'aID' |
3489 | 0 | (msg__)->WriteSentinel(2735041849); |
3490 | 0 |
|
3491 | 0 |
|
3492 | 0 |
|
3493 | 0 | Message reply__; |
3494 | 0 |
|
3495 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3496 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3497 | 0 | } |
3498 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetColRowExtents", OTHER); |
3499 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3500 | 0 | mozilla::ipc::LogicError("Transition error"); |
3501 | 0 | } |
3502 | 0 |
|
3503 | 0 | bool sendok__; |
3504 | 0 | { |
3505 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetColRowExtents"); |
3506 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3507 | 0 | } |
3508 | 0 | if ((!(sendok__))) { |
3509 | 0 | return false; |
3510 | 0 | } |
3511 | 0 | |
3512 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3513 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3514 | 0 | } |
3515 | 0 |
|
3516 | 0 | PickleIterator iter__(reply__); |
3517 | 0 |
|
3518 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCol)))) { |
3519 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3520 | 0 | return false; |
3521 | 0 | } |
3522 | 0 | // Sentinel = 'aCol' |
3523 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 606995717)))) { |
3524 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3525 | 0 | return false; |
3526 | 0 | } |
3527 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRow)))) { |
3528 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3529 | 0 | return false; |
3530 | 0 | } |
3531 | 0 | // Sentinel = 'aRow' |
3532 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
3533 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3534 | 0 | return false; |
3535 | 0 | } |
3536 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aColExtent)))) { |
3537 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3538 | 0 | return false; |
3539 | 0 | } |
3540 | 0 | // Sentinel = 'aColExtent' |
3541 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3232202595)))) { |
3542 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3543 | 0 | return false; |
3544 | 0 | } |
3545 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRowExtent)))) { |
3546 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3547 | 0 | return false; |
3548 | 0 | } |
3549 | 0 | // Sentinel = 'aRowExtent' |
3550 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3757458781)))) { |
3551 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3552 | 0 | return false; |
3553 | 0 | } |
3554 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3555 | 0 |
|
3556 | 0 | return true; |
3557 | 0 | } |
3558 | | |
3559 | | auto PDocAccessibleParent::SendColHeaderCells( |
3560 | | const uint64_t& aID, |
3561 | | nsTArray<uint64_t>* aCells) -> bool |
3562 | 0 | { |
3563 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ColHeaderCells(Id()); |
3564 | 0 |
|
3565 | 0 | WriteIPDLParam(msg__, this, aID); |
3566 | 0 | // Sentinel = 'aID' |
3567 | 0 | (msg__)->WriteSentinel(2735041849); |
3568 | 0 |
|
3569 | 0 |
|
3570 | 0 |
|
3571 | 0 | Message reply__; |
3572 | 0 |
|
3573 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3574 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3575 | 0 | } |
3576 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ColHeaderCells", OTHER); |
3577 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3578 | 0 | mozilla::ipc::LogicError("Transition error"); |
3579 | 0 | } |
3580 | 0 |
|
3581 | 0 | bool sendok__; |
3582 | 0 | { |
3583 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ColHeaderCells"); |
3584 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3585 | 0 | } |
3586 | 0 | if ((!(sendok__))) { |
3587 | 0 | return false; |
3588 | 0 | } |
3589 | 0 | |
3590 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3591 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3592 | 0 | } |
3593 | 0 |
|
3594 | 0 | PickleIterator iter__(reply__); |
3595 | 0 |
|
3596 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCells)))) { |
3597 | 0 | FatalError("Error deserializing 'nsTArray'"); |
3598 | 0 | return false; |
3599 | 0 | } |
3600 | 0 | // Sentinel = 'aCells' |
3601 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1350396922)))) { |
3602 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
3603 | 0 | return false; |
3604 | 0 | } |
3605 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3606 | 0 |
|
3607 | 0 | return true; |
3608 | 0 | } |
3609 | | |
3610 | | auto PDocAccessibleParent::SendRowHeaderCells( |
3611 | | const uint64_t& aID, |
3612 | | nsTArray<uint64_t>* aCells) -> bool |
3613 | 0 | { |
3614 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RowHeaderCells(Id()); |
3615 | 0 |
|
3616 | 0 | WriteIPDLParam(msg__, this, aID); |
3617 | 0 | // Sentinel = 'aID' |
3618 | 0 | (msg__)->WriteSentinel(2735041849); |
3619 | 0 |
|
3620 | 0 |
|
3621 | 0 |
|
3622 | 0 | Message reply__; |
3623 | 0 |
|
3624 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3625 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3626 | 0 | } |
3627 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RowHeaderCells", OTHER); |
3628 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3629 | 0 | mozilla::ipc::LogicError("Transition error"); |
3630 | 0 | } |
3631 | 0 |
|
3632 | 0 | bool sendok__; |
3633 | 0 | { |
3634 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RowHeaderCells"); |
3635 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3636 | 0 | } |
3637 | 0 | if ((!(sendok__))) { |
3638 | 0 | return false; |
3639 | 0 | } |
3640 | 0 | |
3641 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3642 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3643 | 0 | } |
3644 | 0 |
|
3645 | 0 | PickleIterator iter__(reply__); |
3646 | 0 |
|
3647 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCells)))) { |
3648 | 0 | FatalError("Error deserializing 'nsTArray'"); |
3649 | 0 | return false; |
3650 | 0 | } |
3651 | 0 | // Sentinel = 'aCells' |
3652 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1350396922)))) { |
3653 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
3654 | 0 | return false; |
3655 | 0 | } |
3656 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3657 | 0 |
|
3658 | 0 | return true; |
3659 | 0 | } |
3660 | | |
3661 | | auto PDocAccessibleParent::SendIsCellSelected( |
3662 | | const uint64_t& aID, |
3663 | | bool* aSelected) -> bool |
3664 | 0 | { |
3665 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_IsCellSelected(Id()); |
3666 | 0 |
|
3667 | 0 | WriteIPDLParam(msg__, this, aID); |
3668 | 0 | // Sentinel = 'aID' |
3669 | 0 | (msg__)->WriteSentinel(2735041849); |
3670 | 0 |
|
3671 | 0 |
|
3672 | 0 |
|
3673 | 0 | Message reply__; |
3674 | 0 |
|
3675 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3676 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3677 | 0 | } |
3678 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsCellSelected", OTHER); |
3679 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3680 | 0 | mozilla::ipc::LogicError("Transition error"); |
3681 | 0 | } |
3682 | 0 |
|
3683 | 0 | bool sendok__; |
3684 | 0 | { |
3685 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_IsCellSelected"); |
3686 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3687 | 0 | } |
3688 | 0 | if ((!(sendok__))) { |
3689 | 0 | return false; |
3690 | 0 | } |
3691 | 0 | |
3692 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3693 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3694 | 0 | } |
3695 | 0 |
|
3696 | 0 | PickleIterator iter__(reply__); |
3697 | 0 |
|
3698 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
3699 | 0 | FatalError("Error deserializing 'bool'"); |
3700 | 0 | return false; |
3701 | 0 | } |
3702 | 0 | // Sentinel = 'aSelected' |
3703 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
3704 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
3705 | 0 | return false; |
3706 | 0 | } |
3707 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3708 | 0 |
|
3709 | 0 | return true; |
3710 | 0 | } |
3711 | | |
3712 | | auto PDocAccessibleParent::SendTableCaption( |
3713 | | const uint64_t& aID, |
3714 | | uint64_t* aCaptionID, |
3715 | | bool* aOk) -> bool |
3716 | 0 | { |
3717 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableCaption(Id()); |
3718 | 0 |
|
3719 | 0 | WriteIPDLParam(msg__, this, aID); |
3720 | 0 | // Sentinel = 'aID' |
3721 | 0 | (msg__)->WriteSentinel(2735041849); |
3722 | 0 |
|
3723 | 0 |
|
3724 | 0 |
|
3725 | 0 | Message reply__; |
3726 | 0 |
|
3727 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3728 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3729 | 0 | } |
3730 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCaption", OTHER); |
3731 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3732 | 0 | mozilla::ipc::LogicError("Transition error"); |
3733 | 0 | } |
3734 | 0 |
|
3735 | 0 | bool sendok__; |
3736 | 0 | { |
3737 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableCaption"); |
3738 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3739 | 0 | } |
3740 | 0 | if ((!(sendok__))) { |
3741 | 0 | return false; |
3742 | 0 | } |
3743 | 0 | |
3744 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3745 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3746 | 0 | } |
3747 | 0 |
|
3748 | 0 | PickleIterator iter__(reply__); |
3749 | 0 |
|
3750 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCaptionID)))) { |
3751 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3752 | 0 | return false; |
3753 | 0 | } |
3754 | 0 | // Sentinel = 'aCaptionID' |
3755 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2559797456)))) { |
3756 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3757 | 0 | return false; |
3758 | 0 | } |
3759 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
3760 | 0 | FatalError("Error deserializing 'bool'"); |
3761 | 0 | return false; |
3762 | 0 | } |
3763 | 0 | // Sentinel = 'aOk' |
3764 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
3765 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
3766 | 0 | return false; |
3767 | 0 | } |
3768 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3769 | 0 |
|
3770 | 0 | return true; |
3771 | 0 | } |
3772 | | |
3773 | | auto PDocAccessibleParent::SendTableSummary( |
3774 | | const uint64_t& aID, |
3775 | | nsString* aSummary) -> bool |
3776 | 0 | { |
3777 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSummary(Id()); |
3778 | 0 |
|
3779 | 0 | WriteIPDLParam(msg__, this, aID); |
3780 | 0 | // Sentinel = 'aID' |
3781 | 0 | (msg__)->WriteSentinel(2735041849); |
3782 | 0 |
|
3783 | 0 |
|
3784 | 0 |
|
3785 | 0 | Message reply__; |
3786 | 0 |
|
3787 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3788 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3789 | 0 | } |
3790 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSummary", OTHER); |
3791 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3792 | 0 | mozilla::ipc::LogicError("Transition error"); |
3793 | 0 | } |
3794 | 0 |
|
3795 | 0 | bool sendok__; |
3796 | 0 | { |
3797 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSummary"); |
3798 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3799 | 0 | } |
3800 | 0 | if ((!(sendok__))) { |
3801 | 0 | return false; |
3802 | 0 | } |
3803 | 0 | |
3804 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3805 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3806 | 0 | } |
3807 | 0 |
|
3808 | 0 | PickleIterator iter__(reply__); |
3809 | 0 |
|
3810 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSummary)))) { |
3811 | 0 | FatalError("Error deserializing 'nsString'"); |
3812 | 0 | return false; |
3813 | 0 | } |
3814 | 0 | // Sentinel = 'aSummary' |
3815 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1147077767)))) { |
3816 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
3817 | 0 | return false; |
3818 | 0 | } |
3819 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3820 | 0 |
|
3821 | 0 | return true; |
3822 | 0 | } |
3823 | | |
3824 | | auto PDocAccessibleParent::SendTableColumnCount( |
3825 | | const uint64_t& aID, |
3826 | | uint32_t* aColCount) -> bool |
3827 | 0 | { |
3828 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableColumnCount(Id()); |
3829 | 0 |
|
3830 | 0 | WriteIPDLParam(msg__, this, aID); |
3831 | 0 | // Sentinel = 'aID' |
3832 | 0 | (msg__)->WriteSentinel(2735041849); |
3833 | 0 |
|
3834 | 0 |
|
3835 | 0 |
|
3836 | 0 | Message reply__; |
3837 | 0 |
|
3838 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3839 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3840 | 0 | } |
3841 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnCount", OTHER); |
3842 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3843 | 0 | mozilla::ipc::LogicError("Transition error"); |
3844 | 0 | } |
3845 | 0 |
|
3846 | 0 | bool sendok__; |
3847 | 0 | { |
3848 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableColumnCount"); |
3849 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3850 | 0 | } |
3851 | 0 | if ((!(sendok__))) { |
3852 | 0 | return false; |
3853 | 0 | } |
3854 | 0 | |
3855 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3856 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3857 | 0 | } |
3858 | 0 |
|
3859 | 0 | PickleIterator iter__(reply__); |
3860 | 0 |
|
3861 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aColCount)))) { |
3862 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3863 | 0 | return false; |
3864 | 0 | } |
3865 | 0 | // Sentinel = 'aColCount' |
3866 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4099895023)))) { |
3867 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3868 | 0 | return false; |
3869 | 0 | } |
3870 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3871 | 0 |
|
3872 | 0 | return true; |
3873 | 0 | } |
3874 | | |
3875 | | auto PDocAccessibleParent::SendTableRowCount( |
3876 | | const uint64_t& aID, |
3877 | | uint32_t* aRowCount) -> bool |
3878 | 0 | { |
3879 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowCount(Id()); |
3880 | 0 |
|
3881 | 0 | WriteIPDLParam(msg__, this, aID); |
3882 | 0 | // Sentinel = 'aID' |
3883 | 0 | (msg__)->WriteSentinel(2735041849); |
3884 | 0 |
|
3885 | 0 |
|
3886 | 0 |
|
3887 | 0 | Message reply__; |
3888 | 0 |
|
3889 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3890 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3891 | 0 | } |
3892 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowCount", OTHER); |
3893 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3894 | 0 | mozilla::ipc::LogicError("Transition error"); |
3895 | 0 | } |
3896 | 0 |
|
3897 | 0 | bool sendok__; |
3898 | 0 | { |
3899 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowCount"); |
3900 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3901 | 0 | } |
3902 | 0 | if ((!(sendok__))) { |
3903 | 0 | return false; |
3904 | 0 | } |
3905 | 0 | |
3906 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3907 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3908 | 0 | } |
3909 | 0 |
|
3910 | 0 | PickleIterator iter__(reply__); |
3911 | 0 |
|
3912 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRowCount)))) { |
3913 | 0 | FatalError("Error deserializing 'uint32_t'"); |
3914 | 0 | return false; |
3915 | 0 | } |
3916 | 0 | // Sentinel = 'aRowCount' |
3917 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3376726569)))) { |
3918 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
3919 | 0 | return false; |
3920 | 0 | } |
3921 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3922 | 0 |
|
3923 | 0 | return true; |
3924 | 0 | } |
3925 | | |
3926 | | auto PDocAccessibleParent::SendTableCellAt( |
3927 | | const uint64_t& aID, |
3928 | | const uint32_t& aRow, |
3929 | | const uint32_t& aCol, |
3930 | | uint64_t* aCellID, |
3931 | | bool* aOk) -> bool |
3932 | 0 | { |
3933 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableCellAt(Id()); |
3934 | 0 |
|
3935 | 0 | WriteIPDLParam(msg__, this, aID); |
3936 | 0 | // Sentinel = 'aID' |
3937 | 0 | (msg__)->WriteSentinel(2735041849); |
3938 | 0 | WriteIPDLParam(msg__, this, aRow); |
3939 | 0 | // Sentinel = 'aRow' |
3940 | 0 | (msg__)->WriteSentinel(1286438599); |
3941 | 0 | WriteIPDLParam(msg__, this, aCol); |
3942 | 0 | // Sentinel = 'aCol' |
3943 | 0 | (msg__)->WriteSentinel(606995717); |
3944 | 0 |
|
3945 | 0 |
|
3946 | 0 |
|
3947 | 0 | Message reply__; |
3948 | 0 |
|
3949 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3950 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
3951 | 0 | } |
3952 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellAt", OTHER); |
3953 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
3954 | 0 | mozilla::ipc::LogicError("Transition error"); |
3955 | 0 | } |
3956 | 0 |
|
3957 | 0 | bool sendok__; |
3958 | 0 | { |
3959 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableCellAt"); |
3960 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
3961 | 0 | } |
3962 | 0 | if ((!(sendok__))) { |
3963 | 0 | return false; |
3964 | 0 | } |
3965 | 0 | |
3966 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
3967 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
3968 | 0 | } |
3969 | 0 |
|
3970 | 0 | PickleIterator iter__(reply__); |
3971 | 0 |
|
3972 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCellID)))) { |
3973 | 0 | FatalError("Error deserializing 'uint64_t'"); |
3974 | 0 | return false; |
3975 | 0 | } |
3976 | 0 | // Sentinel = 'aCellID' |
3977 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3073786001)))) { |
3978 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
3979 | 0 | return false; |
3980 | 0 | } |
3981 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
3982 | 0 | FatalError("Error deserializing 'bool'"); |
3983 | 0 | return false; |
3984 | 0 | } |
3985 | 0 | // Sentinel = 'aOk' |
3986 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
3987 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
3988 | 0 | return false; |
3989 | 0 | } |
3990 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
3991 | 0 |
|
3992 | 0 | return true; |
3993 | 0 | } |
3994 | | |
3995 | | auto PDocAccessibleParent::SendTableCellIndexAt( |
3996 | | const uint64_t& aID, |
3997 | | const uint32_t& aRow, |
3998 | | const uint32_t& aCol, |
3999 | | int32_t* aIndex) -> bool |
4000 | 0 | { |
4001 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableCellIndexAt(Id()); |
4002 | 0 |
|
4003 | 0 | WriteIPDLParam(msg__, this, aID); |
4004 | 0 | // Sentinel = 'aID' |
4005 | 0 | (msg__)->WriteSentinel(2735041849); |
4006 | 0 | WriteIPDLParam(msg__, this, aRow); |
4007 | 0 | // Sentinel = 'aRow' |
4008 | 0 | (msg__)->WriteSentinel(1286438599); |
4009 | 0 | WriteIPDLParam(msg__, this, aCol); |
4010 | 0 | // Sentinel = 'aCol' |
4011 | 0 | (msg__)->WriteSentinel(606995717); |
4012 | 0 |
|
4013 | 0 |
|
4014 | 0 |
|
4015 | 0 | Message reply__; |
4016 | 0 |
|
4017 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4018 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4019 | 0 | } |
4020 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellIndexAt", OTHER); |
4021 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4022 | 0 | mozilla::ipc::LogicError("Transition error"); |
4023 | 0 | } |
4024 | 0 |
|
4025 | 0 | bool sendok__; |
4026 | 0 | { |
4027 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableCellIndexAt"); |
4028 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4029 | 0 | } |
4030 | 0 | if ((!(sendok__))) { |
4031 | 0 | return false; |
4032 | 0 | } |
4033 | 0 | |
4034 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4035 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4036 | 0 | } |
4037 | 0 |
|
4038 | 0 | PickleIterator iter__(reply__); |
4039 | 0 |
|
4040 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aIndex)))) { |
4041 | 0 | FatalError("Error deserializing 'int32_t'"); |
4042 | 0 | return false; |
4043 | 0 | } |
4044 | 0 | // Sentinel = 'aIndex' |
4045 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3511194741)))) { |
4046 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
4047 | 0 | return false; |
4048 | 0 | } |
4049 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4050 | 0 |
|
4051 | 0 | return true; |
4052 | 0 | } |
4053 | | |
4054 | | auto PDocAccessibleParent::SendTableColumnIndexAt( |
4055 | | const uint64_t& aID, |
4056 | | const uint32_t& aCellIndex, |
4057 | | int32_t* aCol) -> bool |
4058 | 0 | { |
4059 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableColumnIndexAt(Id()); |
4060 | 0 |
|
4061 | 0 | WriteIPDLParam(msg__, this, aID); |
4062 | 0 | // Sentinel = 'aID' |
4063 | 0 | (msg__)->WriteSentinel(2735041849); |
4064 | 0 | WriteIPDLParam(msg__, this, aCellIndex); |
4065 | 0 | // Sentinel = 'aCellIndex' |
4066 | 0 | (msg__)->WriteSentinel(2080431501); |
4067 | 0 |
|
4068 | 0 |
|
4069 | 0 |
|
4070 | 0 | Message reply__; |
4071 | 0 |
|
4072 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4073 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4074 | 0 | } |
4075 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnIndexAt", OTHER); |
4076 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4077 | 0 | mozilla::ipc::LogicError("Transition error"); |
4078 | 0 | } |
4079 | 0 |
|
4080 | 0 | bool sendok__; |
4081 | 0 | { |
4082 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableColumnIndexAt"); |
4083 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4084 | 0 | } |
4085 | 0 | if ((!(sendok__))) { |
4086 | 0 | return false; |
4087 | 0 | } |
4088 | 0 | |
4089 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4090 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4091 | 0 | } |
4092 | 0 |
|
4093 | 0 | PickleIterator iter__(reply__); |
4094 | 0 |
|
4095 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCol)))) { |
4096 | 0 | FatalError("Error deserializing 'int32_t'"); |
4097 | 0 | return false; |
4098 | 0 | } |
4099 | 0 | // Sentinel = 'aCol' |
4100 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4101 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
4102 | 0 | return false; |
4103 | 0 | } |
4104 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4105 | 0 |
|
4106 | 0 | return true; |
4107 | 0 | } |
4108 | | |
4109 | | auto PDocAccessibleParent::SendTableRowIndexAt( |
4110 | | const uint64_t& aID, |
4111 | | const uint32_t& aCellIndex, |
4112 | | int32_t* aRow) -> bool |
4113 | 0 | { |
4114 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowIndexAt(Id()); |
4115 | 0 |
|
4116 | 0 | WriteIPDLParam(msg__, this, aID); |
4117 | 0 | // Sentinel = 'aID' |
4118 | 0 | (msg__)->WriteSentinel(2735041849); |
4119 | 0 | WriteIPDLParam(msg__, this, aCellIndex); |
4120 | 0 | // Sentinel = 'aCellIndex' |
4121 | 0 | (msg__)->WriteSentinel(2080431501); |
4122 | 0 |
|
4123 | 0 |
|
4124 | 0 |
|
4125 | 0 | Message reply__; |
4126 | 0 |
|
4127 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4128 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4129 | 0 | } |
4130 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowIndexAt", OTHER); |
4131 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4132 | 0 | mozilla::ipc::LogicError("Transition error"); |
4133 | 0 | } |
4134 | 0 |
|
4135 | 0 | bool sendok__; |
4136 | 0 | { |
4137 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowIndexAt"); |
4138 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4139 | 0 | } |
4140 | 0 | if ((!(sendok__))) { |
4141 | 0 | return false; |
4142 | 0 | } |
4143 | 0 | |
4144 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4145 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4146 | 0 | } |
4147 | 0 |
|
4148 | 0 | PickleIterator iter__(reply__); |
4149 | 0 |
|
4150 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRow)))) { |
4151 | 0 | FatalError("Error deserializing 'int32_t'"); |
4152 | 0 | return false; |
4153 | 0 | } |
4154 | 0 | // Sentinel = 'aRow' |
4155 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4156 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
4157 | 0 | return false; |
4158 | 0 | } |
4159 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4160 | 0 |
|
4161 | 0 | return true; |
4162 | 0 | } |
4163 | | |
4164 | | auto PDocAccessibleParent::SendTableRowAndColumnIndicesAt( |
4165 | | const uint64_t& aID, |
4166 | | const uint32_t& aCellIndex, |
4167 | | int32_t* aRow, |
4168 | | int32_t* aCol) -> bool |
4169 | 0 | { |
4170 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowAndColumnIndicesAt(Id()); |
4171 | 0 |
|
4172 | 0 | WriteIPDLParam(msg__, this, aID); |
4173 | 0 | // Sentinel = 'aID' |
4174 | 0 | (msg__)->WriteSentinel(2735041849); |
4175 | 0 | WriteIPDLParam(msg__, this, aCellIndex); |
4176 | 0 | // Sentinel = 'aCellIndex' |
4177 | 0 | (msg__)->WriteSentinel(2080431501); |
4178 | 0 |
|
4179 | 0 |
|
4180 | 0 |
|
4181 | 0 | Message reply__; |
4182 | 0 |
|
4183 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4184 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4185 | 0 | } |
4186 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowAndColumnIndicesAt", OTHER); |
4187 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4188 | 0 | mozilla::ipc::LogicError("Transition error"); |
4189 | 0 | } |
4190 | 0 |
|
4191 | 0 | bool sendok__; |
4192 | 0 | { |
4193 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowAndColumnIndicesAt"); |
4194 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4195 | 0 | } |
4196 | 0 | if ((!(sendok__))) { |
4197 | 0 | return false; |
4198 | 0 | } |
4199 | 0 | |
4200 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4201 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4202 | 0 | } |
4203 | 0 |
|
4204 | 0 | PickleIterator iter__(reply__); |
4205 | 0 |
|
4206 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRow)))) { |
4207 | 0 | FatalError("Error deserializing 'int32_t'"); |
4208 | 0 | return false; |
4209 | 0 | } |
4210 | 0 | // Sentinel = 'aRow' |
4211 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1286438599)))) { |
4212 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
4213 | 0 | return false; |
4214 | 0 | } |
4215 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCol)))) { |
4216 | 0 | FatalError("Error deserializing 'int32_t'"); |
4217 | 0 | return false; |
4218 | 0 | } |
4219 | 0 | // Sentinel = 'aCol' |
4220 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 606995717)))) { |
4221 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
4222 | 0 | return false; |
4223 | 0 | } |
4224 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4225 | 0 |
|
4226 | 0 | return true; |
4227 | 0 | } |
4228 | | |
4229 | | auto PDocAccessibleParent::SendTableColumnExtentAt( |
4230 | | const uint64_t& aID, |
4231 | | const uint32_t& aRow, |
4232 | | const uint32_t& aCol, |
4233 | | uint32_t* aExtent) -> bool |
4234 | 0 | { |
4235 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableColumnExtentAt(Id()); |
4236 | 0 |
|
4237 | 0 | WriteIPDLParam(msg__, this, aID); |
4238 | 0 | // Sentinel = 'aID' |
4239 | 0 | (msg__)->WriteSentinel(2735041849); |
4240 | 0 | WriteIPDLParam(msg__, this, aRow); |
4241 | 0 | // Sentinel = 'aRow' |
4242 | 0 | (msg__)->WriteSentinel(1286438599); |
4243 | 0 | WriteIPDLParam(msg__, this, aCol); |
4244 | 0 | // Sentinel = 'aCol' |
4245 | 0 | (msg__)->WriteSentinel(606995717); |
4246 | 0 |
|
4247 | 0 |
|
4248 | 0 |
|
4249 | 0 | Message reply__; |
4250 | 0 |
|
4251 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4252 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4253 | 0 | } |
4254 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnExtentAt", OTHER); |
4255 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4256 | 0 | mozilla::ipc::LogicError("Transition error"); |
4257 | 0 | } |
4258 | 0 |
|
4259 | 0 | bool sendok__; |
4260 | 0 | { |
4261 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableColumnExtentAt"); |
4262 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4263 | 0 | } |
4264 | 0 | if ((!(sendok__))) { |
4265 | 0 | return false; |
4266 | 0 | } |
4267 | 0 | |
4268 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4269 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4270 | 0 | } |
4271 | 0 |
|
4272 | 0 | PickleIterator iter__(reply__); |
4273 | 0 |
|
4274 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aExtent)))) { |
4275 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4276 | 0 | return false; |
4277 | 0 | } |
4278 | 0 | // Sentinel = 'aExtent' |
4279 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2688935310)))) { |
4280 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4281 | 0 | return false; |
4282 | 0 | } |
4283 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4284 | 0 |
|
4285 | 0 | return true; |
4286 | 0 | } |
4287 | | |
4288 | | auto PDocAccessibleParent::SendTableRowExtentAt( |
4289 | | const uint64_t& aID, |
4290 | | const uint32_t& aRow, |
4291 | | const uint32_t& aCol, |
4292 | | uint32_t* aExtent) -> bool |
4293 | 0 | { |
4294 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowExtentAt(Id()); |
4295 | 0 |
|
4296 | 0 | WriteIPDLParam(msg__, this, aID); |
4297 | 0 | // Sentinel = 'aID' |
4298 | 0 | (msg__)->WriteSentinel(2735041849); |
4299 | 0 | WriteIPDLParam(msg__, this, aRow); |
4300 | 0 | // Sentinel = 'aRow' |
4301 | 0 | (msg__)->WriteSentinel(1286438599); |
4302 | 0 | WriteIPDLParam(msg__, this, aCol); |
4303 | 0 | // Sentinel = 'aCol' |
4304 | 0 | (msg__)->WriteSentinel(606995717); |
4305 | 0 |
|
4306 | 0 |
|
4307 | 0 |
|
4308 | 0 | Message reply__; |
4309 | 0 |
|
4310 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4311 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4312 | 0 | } |
4313 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowExtentAt", OTHER); |
4314 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4315 | 0 | mozilla::ipc::LogicError("Transition error"); |
4316 | 0 | } |
4317 | 0 |
|
4318 | 0 | bool sendok__; |
4319 | 0 | { |
4320 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowExtentAt"); |
4321 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4322 | 0 | } |
4323 | 0 | if ((!(sendok__))) { |
4324 | 0 | return false; |
4325 | 0 | } |
4326 | 0 | |
4327 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4328 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4329 | 0 | } |
4330 | 0 |
|
4331 | 0 | PickleIterator iter__(reply__); |
4332 | 0 |
|
4333 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aExtent)))) { |
4334 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4335 | 0 | return false; |
4336 | 0 | } |
4337 | 0 | // Sentinel = 'aExtent' |
4338 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2688935310)))) { |
4339 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4340 | 0 | return false; |
4341 | 0 | } |
4342 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4343 | 0 |
|
4344 | 0 | return true; |
4345 | 0 | } |
4346 | | |
4347 | | auto PDocAccessibleParent::SendTableColumnDescription( |
4348 | | const uint64_t& aID, |
4349 | | const uint32_t& aCol, |
4350 | | nsString* aDescription) -> bool |
4351 | 0 | { |
4352 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableColumnDescription(Id()); |
4353 | 0 |
|
4354 | 0 | WriteIPDLParam(msg__, this, aID); |
4355 | 0 | // Sentinel = 'aID' |
4356 | 0 | (msg__)->WriteSentinel(2735041849); |
4357 | 0 | WriteIPDLParam(msg__, this, aCol); |
4358 | 0 | // Sentinel = 'aCol' |
4359 | 0 | (msg__)->WriteSentinel(606995717); |
4360 | 0 |
|
4361 | 0 |
|
4362 | 0 |
|
4363 | 0 | Message reply__; |
4364 | 0 |
|
4365 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4366 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4367 | 0 | } |
4368 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnDescription", OTHER); |
4369 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4370 | 0 | mozilla::ipc::LogicError("Transition error"); |
4371 | 0 | } |
4372 | 0 |
|
4373 | 0 | bool sendok__; |
4374 | 0 | { |
4375 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableColumnDescription"); |
4376 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4377 | 0 | } |
4378 | 0 | if ((!(sendok__))) { |
4379 | 0 | return false; |
4380 | 0 | } |
4381 | 0 | |
4382 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4383 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4384 | 0 | } |
4385 | 0 |
|
4386 | 0 | PickleIterator iter__(reply__); |
4387 | 0 |
|
4388 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aDescription)))) { |
4389 | 0 | FatalError("Error deserializing 'nsString'"); |
4390 | 0 | return false; |
4391 | 0 | } |
4392 | 0 | // Sentinel = 'aDescription' |
4393 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1173016929)))) { |
4394 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
4395 | 0 | return false; |
4396 | 0 | } |
4397 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4398 | 0 |
|
4399 | 0 | return true; |
4400 | 0 | } |
4401 | | |
4402 | | auto PDocAccessibleParent::SendTableRowDescription( |
4403 | | const uint64_t& aID, |
4404 | | const uint32_t& aRow, |
4405 | | nsString* aDescription) -> bool |
4406 | 0 | { |
4407 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowDescription(Id()); |
4408 | 0 |
|
4409 | 0 | WriteIPDLParam(msg__, this, aID); |
4410 | 0 | // Sentinel = 'aID' |
4411 | 0 | (msg__)->WriteSentinel(2735041849); |
4412 | 0 | WriteIPDLParam(msg__, this, aRow); |
4413 | 0 | // Sentinel = 'aRow' |
4414 | 0 | (msg__)->WriteSentinel(1286438599); |
4415 | 0 |
|
4416 | 0 |
|
4417 | 0 |
|
4418 | 0 | Message reply__; |
4419 | 0 |
|
4420 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4421 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4422 | 0 | } |
4423 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowDescription", OTHER); |
4424 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4425 | 0 | mozilla::ipc::LogicError("Transition error"); |
4426 | 0 | } |
4427 | 0 |
|
4428 | 0 | bool sendok__; |
4429 | 0 | { |
4430 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowDescription"); |
4431 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4432 | 0 | } |
4433 | 0 | if ((!(sendok__))) { |
4434 | 0 | return false; |
4435 | 0 | } |
4436 | 0 | |
4437 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4438 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4439 | 0 | } |
4440 | 0 |
|
4441 | 0 | PickleIterator iter__(reply__); |
4442 | 0 |
|
4443 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aDescription)))) { |
4444 | 0 | FatalError("Error deserializing 'nsString'"); |
4445 | 0 | return false; |
4446 | 0 | } |
4447 | 0 | // Sentinel = 'aDescription' |
4448 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1173016929)))) { |
4449 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
4450 | 0 | return false; |
4451 | 0 | } |
4452 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4453 | 0 |
|
4454 | 0 | return true; |
4455 | 0 | } |
4456 | | |
4457 | | auto PDocAccessibleParent::SendTableColumnSelected( |
4458 | | const uint64_t& aID, |
4459 | | const uint32_t& aCol, |
4460 | | bool* aSelected) -> bool |
4461 | 0 | { |
4462 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableColumnSelected(Id()); |
4463 | 0 |
|
4464 | 0 | WriteIPDLParam(msg__, this, aID); |
4465 | 0 | // Sentinel = 'aID' |
4466 | 0 | (msg__)->WriteSentinel(2735041849); |
4467 | 0 | WriteIPDLParam(msg__, this, aCol); |
4468 | 0 | // Sentinel = 'aCol' |
4469 | 0 | (msg__)->WriteSentinel(606995717); |
4470 | 0 |
|
4471 | 0 |
|
4472 | 0 |
|
4473 | 0 | Message reply__; |
4474 | 0 |
|
4475 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4476 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4477 | 0 | } |
4478 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableColumnSelected", OTHER); |
4479 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4480 | 0 | mozilla::ipc::LogicError("Transition error"); |
4481 | 0 | } |
4482 | 0 |
|
4483 | 0 | bool sendok__; |
4484 | 0 | { |
4485 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableColumnSelected"); |
4486 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4487 | 0 | } |
4488 | 0 | if ((!(sendok__))) { |
4489 | 0 | return false; |
4490 | 0 | } |
4491 | 0 | |
4492 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4493 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4494 | 0 | } |
4495 | 0 |
|
4496 | 0 | PickleIterator iter__(reply__); |
4497 | 0 |
|
4498 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
4499 | 0 | FatalError("Error deserializing 'bool'"); |
4500 | 0 | return false; |
4501 | 0 | } |
4502 | 0 | // Sentinel = 'aSelected' |
4503 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
4504 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
4505 | 0 | return false; |
4506 | 0 | } |
4507 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4508 | 0 |
|
4509 | 0 | return true; |
4510 | 0 | } |
4511 | | |
4512 | | auto PDocAccessibleParent::SendTableRowSelected( |
4513 | | const uint64_t& aID, |
4514 | | const uint32_t& aRow, |
4515 | | bool* aSelected) -> bool |
4516 | 0 | { |
4517 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableRowSelected(Id()); |
4518 | 0 |
|
4519 | 0 | WriteIPDLParam(msg__, this, aID); |
4520 | 0 | // Sentinel = 'aID' |
4521 | 0 | (msg__)->WriteSentinel(2735041849); |
4522 | 0 | WriteIPDLParam(msg__, this, aRow); |
4523 | 0 | // Sentinel = 'aRow' |
4524 | 0 | (msg__)->WriteSentinel(1286438599); |
4525 | 0 |
|
4526 | 0 |
|
4527 | 0 |
|
4528 | 0 | Message reply__; |
4529 | 0 |
|
4530 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4531 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4532 | 0 | } |
4533 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableRowSelected", OTHER); |
4534 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4535 | 0 | mozilla::ipc::LogicError("Transition error"); |
4536 | 0 | } |
4537 | 0 |
|
4538 | 0 | bool sendok__; |
4539 | 0 | { |
4540 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableRowSelected"); |
4541 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4542 | 0 | } |
4543 | 0 | if ((!(sendok__))) { |
4544 | 0 | return false; |
4545 | 0 | } |
4546 | 0 | |
4547 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4548 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4549 | 0 | } |
4550 | 0 |
|
4551 | 0 | PickleIterator iter__(reply__); |
4552 | 0 |
|
4553 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
4554 | 0 | FatalError("Error deserializing 'bool'"); |
4555 | 0 | return false; |
4556 | 0 | } |
4557 | 0 | // Sentinel = 'aSelected' |
4558 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
4559 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
4560 | 0 | return false; |
4561 | 0 | } |
4562 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4563 | 0 |
|
4564 | 0 | return true; |
4565 | 0 | } |
4566 | | |
4567 | | auto PDocAccessibleParent::SendTableCellSelected( |
4568 | | const uint64_t& aID, |
4569 | | const uint32_t& aRow, |
4570 | | const uint32_t& aCol, |
4571 | | bool* aSelected) -> bool |
4572 | 0 | { |
4573 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableCellSelected(Id()); |
4574 | 0 |
|
4575 | 0 | WriteIPDLParam(msg__, this, aID); |
4576 | 0 | // Sentinel = 'aID' |
4577 | 0 | (msg__)->WriteSentinel(2735041849); |
4578 | 0 | WriteIPDLParam(msg__, this, aRow); |
4579 | 0 | // Sentinel = 'aRow' |
4580 | 0 | (msg__)->WriteSentinel(1286438599); |
4581 | 0 | WriteIPDLParam(msg__, this, aCol); |
4582 | 0 | // Sentinel = 'aCol' |
4583 | 0 | (msg__)->WriteSentinel(606995717); |
4584 | 0 |
|
4585 | 0 |
|
4586 | 0 |
|
4587 | 0 | Message reply__; |
4588 | 0 |
|
4589 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4590 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4591 | 0 | } |
4592 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableCellSelected", OTHER); |
4593 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4594 | 0 | mozilla::ipc::LogicError("Transition error"); |
4595 | 0 | } |
4596 | 0 |
|
4597 | 0 | bool sendok__; |
4598 | 0 | { |
4599 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableCellSelected"); |
4600 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4601 | 0 | } |
4602 | 0 | if ((!(sendok__))) { |
4603 | 0 | return false; |
4604 | 0 | } |
4605 | 0 | |
4606 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4607 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4608 | 0 | } |
4609 | 0 |
|
4610 | 0 | PickleIterator iter__(reply__); |
4611 | 0 |
|
4612 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
4613 | 0 | FatalError("Error deserializing 'bool'"); |
4614 | 0 | return false; |
4615 | 0 | } |
4616 | 0 | // Sentinel = 'aSelected' |
4617 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
4618 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
4619 | 0 | return false; |
4620 | 0 | } |
4621 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4622 | 0 |
|
4623 | 0 | return true; |
4624 | 0 | } |
4625 | | |
4626 | | auto PDocAccessibleParent::SendTableSelectedCellCount( |
4627 | | const uint64_t& aID, |
4628 | | uint32_t* aSelectedCells) -> bool |
4629 | 0 | { |
4630 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedCellCount(Id()); |
4631 | 0 |
|
4632 | 0 | WriteIPDLParam(msg__, this, aID); |
4633 | 0 | // Sentinel = 'aID' |
4634 | 0 | (msg__)->WriteSentinel(2735041849); |
4635 | 0 |
|
4636 | 0 |
|
4637 | 0 |
|
4638 | 0 | Message reply__; |
4639 | 0 |
|
4640 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4641 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4642 | 0 | } |
4643 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCellCount", OTHER); |
4644 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4645 | 0 | mozilla::ipc::LogicError("Transition error"); |
4646 | 0 | } |
4647 | 0 |
|
4648 | 0 | bool sendok__; |
4649 | 0 | { |
4650 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedCellCount"); |
4651 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4652 | 0 | } |
4653 | 0 | if ((!(sendok__))) { |
4654 | 0 | return false; |
4655 | 0 | } |
4656 | 0 | |
4657 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4658 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4659 | 0 | } |
4660 | 0 |
|
4661 | 0 | PickleIterator iter__(reply__); |
4662 | 0 |
|
4663 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelectedCells)))) { |
4664 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4665 | 0 | return false; |
4666 | 0 | } |
4667 | 0 | // Sentinel = 'aSelectedCells' |
4668 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 305105039)))) { |
4669 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4670 | 0 | return false; |
4671 | 0 | } |
4672 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4673 | 0 |
|
4674 | 0 | return true; |
4675 | 0 | } |
4676 | | |
4677 | | auto PDocAccessibleParent::SendTableSelectedColumnCount( |
4678 | | const uint64_t& aID, |
4679 | | uint32_t* aSelectedColumns) -> bool |
4680 | 0 | { |
4681 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedColumnCount(Id()); |
4682 | 0 |
|
4683 | 0 | WriteIPDLParam(msg__, this, aID); |
4684 | 0 | // Sentinel = 'aID' |
4685 | 0 | (msg__)->WriteSentinel(2735041849); |
4686 | 0 |
|
4687 | 0 |
|
4688 | 0 |
|
4689 | 0 | Message reply__; |
4690 | 0 |
|
4691 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4692 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4693 | 0 | } |
4694 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedColumnCount", OTHER); |
4695 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4696 | 0 | mozilla::ipc::LogicError("Transition error"); |
4697 | 0 | } |
4698 | 0 |
|
4699 | 0 | bool sendok__; |
4700 | 0 | { |
4701 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedColumnCount"); |
4702 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4703 | 0 | } |
4704 | 0 | if ((!(sendok__))) { |
4705 | 0 | return false; |
4706 | 0 | } |
4707 | 0 | |
4708 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4709 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4710 | 0 | } |
4711 | 0 |
|
4712 | 0 | PickleIterator iter__(reply__); |
4713 | 0 |
|
4714 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelectedColumns)))) { |
4715 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4716 | 0 | return false; |
4717 | 0 | } |
4718 | 0 | // Sentinel = 'aSelectedColumns' |
4719 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3599775843)))) { |
4720 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4721 | 0 | return false; |
4722 | 0 | } |
4723 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4724 | 0 |
|
4725 | 0 | return true; |
4726 | 0 | } |
4727 | | |
4728 | | auto PDocAccessibleParent::SendTableSelectedRowCount( |
4729 | | const uint64_t& aID, |
4730 | | uint32_t* aSelectedRows) -> bool |
4731 | 0 | { |
4732 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedRowCount(Id()); |
4733 | 0 |
|
4734 | 0 | WriteIPDLParam(msg__, this, aID); |
4735 | 0 | // Sentinel = 'aID' |
4736 | 0 | (msg__)->WriteSentinel(2735041849); |
4737 | 0 |
|
4738 | 0 |
|
4739 | 0 |
|
4740 | 0 | Message reply__; |
4741 | 0 |
|
4742 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4743 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4744 | 0 | } |
4745 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedRowCount", OTHER); |
4746 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4747 | 0 | mozilla::ipc::LogicError("Transition error"); |
4748 | 0 | } |
4749 | 0 |
|
4750 | 0 | bool sendok__; |
4751 | 0 | { |
4752 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedRowCount"); |
4753 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4754 | 0 | } |
4755 | 0 | if ((!(sendok__))) { |
4756 | 0 | return false; |
4757 | 0 | } |
4758 | 0 | |
4759 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4760 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4761 | 0 | } |
4762 | 0 |
|
4763 | 0 | PickleIterator iter__(reply__); |
4764 | 0 |
|
4765 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelectedRows)))) { |
4766 | 0 | FatalError("Error deserializing 'uint32_t'"); |
4767 | 0 | return false; |
4768 | 0 | } |
4769 | 0 | // Sentinel = 'aSelectedRows' |
4770 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 148477904)))) { |
4771 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
4772 | 0 | return false; |
4773 | 0 | } |
4774 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4775 | 0 |
|
4776 | 0 | return true; |
4777 | 0 | } |
4778 | | |
4779 | | auto PDocAccessibleParent::SendTableSelectedCells( |
4780 | | const uint64_t& aID, |
4781 | | nsTArray<uint64_t>* aCellIDs) -> bool |
4782 | 0 | { |
4783 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedCells(Id()); |
4784 | 0 |
|
4785 | 0 | WriteIPDLParam(msg__, this, aID); |
4786 | 0 | // Sentinel = 'aID' |
4787 | 0 | (msg__)->WriteSentinel(2735041849); |
4788 | 0 |
|
4789 | 0 |
|
4790 | 0 |
|
4791 | 0 | Message reply__; |
4792 | 0 |
|
4793 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4794 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4795 | 0 | } |
4796 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCells", OTHER); |
4797 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4798 | 0 | mozilla::ipc::LogicError("Transition error"); |
4799 | 0 | } |
4800 | 0 |
|
4801 | 0 | bool sendok__; |
4802 | 0 | { |
4803 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedCells"); |
4804 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4805 | 0 | } |
4806 | 0 | if ((!(sendok__))) { |
4807 | 0 | return false; |
4808 | 0 | } |
4809 | 0 | |
4810 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4811 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4812 | 0 | } |
4813 | 0 |
|
4814 | 0 | PickleIterator iter__(reply__); |
4815 | 0 |
|
4816 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCellIDs)))) { |
4817 | 0 | FatalError("Error deserializing 'nsTArray'"); |
4818 | 0 | return false; |
4819 | 0 | } |
4820 | 0 | // Sentinel = 'aCellIDs' |
4821 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3097727801)))) { |
4822 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
4823 | 0 | return false; |
4824 | 0 | } |
4825 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4826 | 0 |
|
4827 | 0 | return true; |
4828 | 0 | } |
4829 | | |
4830 | | auto PDocAccessibleParent::SendTableSelectedCellIndices( |
4831 | | const uint64_t& aID, |
4832 | | nsTArray<uint32_t>* aCellIndeces) -> bool |
4833 | 0 | { |
4834 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedCellIndices(Id()); |
4835 | 0 |
|
4836 | 0 | WriteIPDLParam(msg__, this, aID); |
4837 | 0 | // Sentinel = 'aID' |
4838 | 0 | (msg__)->WriteSentinel(2735041849); |
4839 | 0 |
|
4840 | 0 |
|
4841 | 0 |
|
4842 | 0 | Message reply__; |
4843 | 0 |
|
4844 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4845 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4846 | 0 | } |
4847 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedCellIndices", OTHER); |
4848 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4849 | 0 | mozilla::ipc::LogicError("Transition error"); |
4850 | 0 | } |
4851 | 0 |
|
4852 | 0 | bool sendok__; |
4853 | 0 | { |
4854 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedCellIndices"); |
4855 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4856 | 0 | } |
4857 | 0 | if ((!(sendok__))) { |
4858 | 0 | return false; |
4859 | 0 | } |
4860 | 0 | |
4861 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4862 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4863 | 0 | } |
4864 | 0 |
|
4865 | 0 | PickleIterator iter__(reply__); |
4866 | 0 |
|
4867 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCellIndeces)))) { |
4868 | 0 | FatalError("Error deserializing 'nsTArray'"); |
4869 | 0 | return false; |
4870 | 0 | } |
4871 | 0 | // Sentinel = 'aCellIndeces' |
4872 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2924033324)))) { |
4873 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
4874 | 0 | return false; |
4875 | 0 | } |
4876 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4877 | 0 |
|
4878 | 0 | return true; |
4879 | 0 | } |
4880 | | |
4881 | | auto PDocAccessibleParent::SendTableSelectedColumnIndices( |
4882 | | const uint64_t& aID, |
4883 | | nsTArray<uint32_t>* aColumnIndeces) -> bool |
4884 | 0 | { |
4885 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedColumnIndices(Id()); |
4886 | 0 |
|
4887 | 0 | WriteIPDLParam(msg__, this, aID); |
4888 | 0 | // Sentinel = 'aID' |
4889 | 0 | (msg__)->WriteSentinel(2735041849); |
4890 | 0 |
|
4891 | 0 |
|
4892 | 0 |
|
4893 | 0 | Message reply__; |
4894 | 0 |
|
4895 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4896 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4897 | 0 | } |
4898 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedColumnIndices", OTHER); |
4899 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4900 | 0 | mozilla::ipc::LogicError("Transition error"); |
4901 | 0 | } |
4902 | 0 |
|
4903 | 0 | bool sendok__; |
4904 | 0 | { |
4905 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedColumnIndices"); |
4906 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4907 | 0 | } |
4908 | 0 | if ((!(sendok__))) { |
4909 | 0 | return false; |
4910 | 0 | } |
4911 | 0 | |
4912 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4913 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4914 | 0 | } |
4915 | 0 |
|
4916 | 0 | PickleIterator iter__(reply__); |
4917 | 0 |
|
4918 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aColumnIndeces)))) { |
4919 | 0 | FatalError("Error deserializing 'nsTArray'"); |
4920 | 0 | return false; |
4921 | 0 | } |
4922 | 0 | // Sentinel = 'aColumnIndeces' |
4923 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2315565168)))) { |
4924 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
4925 | 0 | return false; |
4926 | 0 | } |
4927 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4928 | 0 |
|
4929 | 0 | return true; |
4930 | 0 | } |
4931 | | |
4932 | | auto PDocAccessibleParent::SendTableSelectedRowIndices( |
4933 | | const uint64_t& aID, |
4934 | | nsTArray<uint32_t>* aRowIndeces) -> bool |
4935 | 0 | { |
4936 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectedRowIndices(Id()); |
4937 | 0 |
|
4938 | 0 | WriteIPDLParam(msg__, this, aID); |
4939 | 0 | // Sentinel = 'aID' |
4940 | 0 | (msg__)->WriteSentinel(2735041849); |
4941 | 0 |
|
4942 | 0 |
|
4943 | 0 |
|
4944 | 0 | Message reply__; |
4945 | 0 |
|
4946 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4947 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
4948 | 0 | } |
4949 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectedRowIndices", OTHER); |
4950 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
4951 | 0 | mozilla::ipc::LogicError("Transition error"); |
4952 | 0 | } |
4953 | 0 |
|
4954 | 0 | bool sendok__; |
4955 | 0 | { |
4956 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectedRowIndices"); |
4957 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
4958 | 0 | } |
4959 | 0 | if ((!(sendok__))) { |
4960 | 0 | return false; |
4961 | 0 | } |
4962 | 0 | |
4963 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
4964 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
4965 | 0 | } |
4966 | 0 |
|
4967 | 0 | PickleIterator iter__(reply__); |
4968 | 0 |
|
4969 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRowIndeces)))) { |
4970 | 0 | FatalError("Error deserializing 'nsTArray'"); |
4971 | 0 | return false; |
4972 | 0 | } |
4973 | 0 | // Sentinel = 'aRowIndeces' |
4974 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 838152053)))) { |
4975 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
4976 | 0 | return false; |
4977 | 0 | } |
4978 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
4979 | 0 |
|
4980 | 0 | return true; |
4981 | 0 | } |
4982 | | |
4983 | | auto PDocAccessibleParent::SendTableSelectColumn( |
4984 | | const uint64_t& aID, |
4985 | | const uint32_t& aCol) -> bool |
4986 | 0 | { |
4987 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectColumn(Id()); |
4988 | 0 |
|
4989 | 0 | WriteIPDLParam(msg__, this, aID); |
4990 | 0 | // Sentinel = 'aID' |
4991 | 0 | (msg__)->WriteSentinel(2735041849); |
4992 | 0 | WriteIPDLParam(msg__, this, aCol); |
4993 | 0 | // Sentinel = 'aCol' |
4994 | 0 | (msg__)->WriteSentinel(606995717); |
4995 | 0 |
|
4996 | 0 |
|
4997 | 0 |
|
4998 | 0 | Message reply__; |
4999 | 0 |
|
5000 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5001 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5002 | 0 | } |
5003 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectColumn", OTHER); |
5004 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5005 | 0 | mozilla::ipc::LogicError("Transition error"); |
5006 | 0 | } |
5007 | 0 |
|
5008 | 0 | bool sendok__; |
5009 | 0 | { |
5010 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectColumn"); |
5011 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5012 | 0 | } |
5013 | 0 | if ((!(sendok__))) { |
5014 | 0 | return false; |
5015 | 0 | } |
5016 | 0 | |
5017 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5018 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5019 | 0 | } |
5020 | 0 |
|
5021 | 0 | return true; |
5022 | 0 | } |
5023 | | |
5024 | | auto PDocAccessibleParent::SendTableSelectRow( |
5025 | | const uint64_t& aID, |
5026 | | const uint32_t& aRow) -> bool |
5027 | 0 | { |
5028 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableSelectRow(Id()); |
5029 | 0 |
|
5030 | 0 | WriteIPDLParam(msg__, this, aID); |
5031 | 0 | // Sentinel = 'aID' |
5032 | 0 | (msg__)->WriteSentinel(2735041849); |
5033 | 0 | WriteIPDLParam(msg__, this, aRow); |
5034 | 0 | // Sentinel = 'aRow' |
5035 | 0 | (msg__)->WriteSentinel(1286438599); |
5036 | 0 |
|
5037 | 0 |
|
5038 | 0 |
|
5039 | 0 | Message reply__; |
5040 | 0 |
|
5041 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5042 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5043 | 0 | } |
5044 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableSelectRow", OTHER); |
5045 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5046 | 0 | mozilla::ipc::LogicError("Transition error"); |
5047 | 0 | } |
5048 | 0 |
|
5049 | 0 | bool sendok__; |
5050 | 0 | { |
5051 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableSelectRow"); |
5052 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5053 | 0 | } |
5054 | 0 | if ((!(sendok__))) { |
5055 | 0 | return false; |
5056 | 0 | } |
5057 | 0 | |
5058 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5059 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5060 | 0 | } |
5061 | 0 |
|
5062 | 0 | return true; |
5063 | 0 | } |
5064 | | |
5065 | | auto PDocAccessibleParent::SendTableUnselectColumn( |
5066 | | const uint64_t& aID, |
5067 | | const uint32_t& aCol) -> bool |
5068 | 0 | { |
5069 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableUnselectColumn(Id()); |
5070 | 0 |
|
5071 | 0 | WriteIPDLParam(msg__, this, aID); |
5072 | 0 | // Sentinel = 'aID' |
5073 | 0 | (msg__)->WriteSentinel(2735041849); |
5074 | 0 | WriteIPDLParam(msg__, this, aCol); |
5075 | 0 | // Sentinel = 'aCol' |
5076 | 0 | (msg__)->WriteSentinel(606995717); |
5077 | 0 |
|
5078 | 0 |
|
5079 | 0 |
|
5080 | 0 | Message reply__; |
5081 | 0 |
|
5082 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5083 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5084 | 0 | } |
5085 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableUnselectColumn", OTHER); |
5086 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5087 | 0 | mozilla::ipc::LogicError("Transition error"); |
5088 | 0 | } |
5089 | 0 |
|
5090 | 0 | bool sendok__; |
5091 | 0 | { |
5092 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableUnselectColumn"); |
5093 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5094 | 0 | } |
5095 | 0 | if ((!(sendok__))) { |
5096 | 0 | return false; |
5097 | 0 | } |
5098 | 0 | |
5099 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5100 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5101 | 0 | } |
5102 | 0 |
|
5103 | 0 | return true; |
5104 | 0 | } |
5105 | | |
5106 | | auto PDocAccessibleParent::SendTableUnselectRow( |
5107 | | const uint64_t& aID, |
5108 | | const uint32_t& aRow) -> bool |
5109 | 0 | { |
5110 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableUnselectRow(Id()); |
5111 | 0 |
|
5112 | 0 | WriteIPDLParam(msg__, this, aID); |
5113 | 0 | // Sentinel = 'aID' |
5114 | 0 | (msg__)->WriteSentinel(2735041849); |
5115 | 0 | WriteIPDLParam(msg__, this, aRow); |
5116 | 0 | // Sentinel = 'aRow' |
5117 | 0 | (msg__)->WriteSentinel(1286438599); |
5118 | 0 |
|
5119 | 0 |
|
5120 | 0 |
|
5121 | 0 | Message reply__; |
5122 | 0 |
|
5123 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5124 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5125 | 0 | } |
5126 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableUnselectRow", OTHER); |
5127 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5128 | 0 | mozilla::ipc::LogicError("Transition error"); |
5129 | 0 | } |
5130 | 0 |
|
5131 | 0 | bool sendok__; |
5132 | 0 | { |
5133 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableUnselectRow"); |
5134 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5135 | 0 | } |
5136 | 0 | if ((!(sendok__))) { |
5137 | 0 | return false; |
5138 | 0 | } |
5139 | 0 | |
5140 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5141 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5142 | 0 | } |
5143 | 0 |
|
5144 | 0 | return true; |
5145 | 0 | } |
5146 | | |
5147 | | auto PDocAccessibleParent::SendTableIsProbablyForLayout( |
5148 | | const uint64_t& aID, |
5149 | | bool* aForLayout) -> bool |
5150 | 0 | { |
5151 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TableIsProbablyForLayout(Id()); |
5152 | 0 |
|
5153 | 0 | WriteIPDLParam(msg__, this, aID); |
5154 | 0 | // Sentinel = 'aID' |
5155 | 0 | (msg__)->WriteSentinel(2735041849); |
5156 | 0 |
|
5157 | 0 |
|
5158 | 0 |
|
5159 | 0 | Message reply__; |
5160 | 0 |
|
5161 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5162 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5163 | 0 | } |
5164 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TableIsProbablyForLayout", OTHER); |
5165 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5166 | 0 | mozilla::ipc::LogicError("Transition error"); |
5167 | 0 | } |
5168 | 0 |
|
5169 | 0 | bool sendok__; |
5170 | 0 | { |
5171 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_TableIsProbablyForLayout"); |
5172 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5173 | 0 | } |
5174 | 0 | if ((!(sendok__))) { |
5175 | 0 | return false; |
5176 | 0 | } |
5177 | 0 | |
5178 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5179 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5180 | 0 | } |
5181 | 0 |
|
5182 | 0 | PickleIterator iter__(reply__); |
5183 | 0 |
|
5184 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aForLayout)))) { |
5185 | 0 | FatalError("Error deserializing 'bool'"); |
5186 | 0 | return false; |
5187 | 0 | } |
5188 | 0 | // Sentinel = 'aForLayout' |
5189 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2091975930)))) { |
5190 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5191 | 0 | return false; |
5192 | 0 | } |
5193 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5194 | 0 |
|
5195 | 0 | return true; |
5196 | 0 | } |
5197 | | |
5198 | | auto PDocAccessibleParent::SendAtkTableColumnHeader( |
5199 | | const uint64_t& aID, |
5200 | | const int32_t& aCol, |
5201 | | uint64_t* aHeaderID, |
5202 | | bool* aOk) -> bool |
5203 | 0 | { |
5204 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AtkTableColumnHeader(Id()); |
5205 | 0 |
|
5206 | 0 | WriteIPDLParam(msg__, this, aID); |
5207 | 0 | // Sentinel = 'aID' |
5208 | 0 | (msg__)->WriteSentinel(2735041849); |
5209 | 0 | WriteIPDLParam(msg__, this, aCol); |
5210 | 0 | // Sentinel = 'aCol' |
5211 | 0 | (msg__)->WriteSentinel(606995717); |
5212 | 0 |
|
5213 | 0 |
|
5214 | 0 |
|
5215 | 0 | Message reply__; |
5216 | 0 |
|
5217 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5218 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5219 | 0 | } |
5220 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkTableColumnHeader", OTHER); |
5221 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5222 | 0 | mozilla::ipc::LogicError("Transition error"); |
5223 | 0 | } |
5224 | 0 |
|
5225 | 0 | bool sendok__; |
5226 | 0 | { |
5227 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AtkTableColumnHeader"); |
5228 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5229 | 0 | } |
5230 | 0 | if ((!(sendok__))) { |
5231 | 0 | return false; |
5232 | 0 | } |
5233 | 0 | |
5234 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5235 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5236 | 0 | } |
5237 | 0 |
|
5238 | 0 | PickleIterator iter__(reply__); |
5239 | 0 |
|
5240 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aHeaderID)))) { |
5241 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5242 | 0 | return false; |
5243 | 0 | } |
5244 | 0 | // Sentinel = 'aHeaderID' |
5245 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3333620492)))) { |
5246 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5247 | 0 | return false; |
5248 | 0 | } |
5249 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
5250 | 0 | FatalError("Error deserializing 'bool'"); |
5251 | 0 | return false; |
5252 | 0 | } |
5253 | 0 | // Sentinel = 'aOk' |
5254 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
5255 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5256 | 0 | return false; |
5257 | 0 | } |
5258 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5259 | 0 |
|
5260 | 0 | return true; |
5261 | 0 | } |
5262 | | |
5263 | | auto PDocAccessibleParent::SendAtkTableRowHeader( |
5264 | | const uint64_t& aID, |
5265 | | const int32_t& aRow, |
5266 | | uint64_t* aHeaderID, |
5267 | | bool* aOk) -> bool |
5268 | 0 | { |
5269 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AtkTableRowHeader(Id()); |
5270 | 0 |
|
5271 | 0 | WriteIPDLParam(msg__, this, aID); |
5272 | 0 | // Sentinel = 'aID' |
5273 | 0 | (msg__)->WriteSentinel(2735041849); |
5274 | 0 | WriteIPDLParam(msg__, this, aRow); |
5275 | 0 | // Sentinel = 'aRow' |
5276 | 0 | (msg__)->WriteSentinel(1286438599); |
5277 | 0 |
|
5278 | 0 |
|
5279 | 0 |
|
5280 | 0 | Message reply__; |
5281 | 0 |
|
5282 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5283 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5284 | 0 | } |
5285 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkTableRowHeader", OTHER); |
5286 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5287 | 0 | mozilla::ipc::LogicError("Transition error"); |
5288 | 0 | } |
5289 | 0 |
|
5290 | 0 | bool sendok__; |
5291 | 0 | { |
5292 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AtkTableRowHeader"); |
5293 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5294 | 0 | } |
5295 | 0 | if ((!(sendok__))) { |
5296 | 0 | return false; |
5297 | 0 | } |
5298 | 0 | |
5299 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5300 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5301 | 0 | } |
5302 | 0 |
|
5303 | 0 | PickleIterator iter__(reply__); |
5304 | 0 |
|
5305 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aHeaderID)))) { |
5306 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5307 | 0 | return false; |
5308 | 0 | } |
5309 | 0 | // Sentinel = 'aHeaderID' |
5310 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3333620492)))) { |
5311 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5312 | 0 | return false; |
5313 | 0 | } |
5314 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
5315 | 0 | FatalError("Error deserializing 'bool'"); |
5316 | 0 | return false; |
5317 | 0 | } |
5318 | 0 | // Sentinel = 'aOk' |
5319 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
5320 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5321 | 0 | return false; |
5322 | 0 | } |
5323 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5324 | 0 |
|
5325 | 0 | return true; |
5326 | 0 | } |
5327 | | |
5328 | | auto PDocAccessibleParent::SendSelectedItems( |
5329 | | const uint64_t& aID, |
5330 | | nsTArray<uint64_t>* aSelectedItemIDs) -> bool |
5331 | 0 | { |
5332 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectedItems(Id()); |
5333 | 0 |
|
5334 | 0 | WriteIPDLParam(msg__, this, aID); |
5335 | 0 | // Sentinel = 'aID' |
5336 | 0 | (msg__)->WriteSentinel(2735041849); |
5337 | 0 |
|
5338 | 0 |
|
5339 | 0 |
|
5340 | 0 | Message reply__; |
5341 | 0 |
|
5342 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5343 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5344 | 0 | } |
5345 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectedItems", OTHER); |
5346 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5347 | 0 | mozilla::ipc::LogicError("Transition error"); |
5348 | 0 | } |
5349 | 0 |
|
5350 | 0 | bool sendok__; |
5351 | 0 | { |
5352 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SelectedItems"); |
5353 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5354 | 0 | } |
5355 | 0 | if ((!(sendok__))) { |
5356 | 0 | return false; |
5357 | 0 | } |
5358 | 0 | |
5359 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5360 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5361 | 0 | } |
5362 | 0 |
|
5363 | 0 | PickleIterator iter__(reply__); |
5364 | 0 |
|
5365 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelectedItemIDs)))) { |
5366 | 0 | FatalError("Error deserializing 'nsTArray'"); |
5367 | 0 | return false; |
5368 | 0 | } |
5369 | 0 | // Sentinel = 'aSelectedItemIDs' |
5370 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1397582911)))) { |
5371 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'"); |
5372 | 0 | return false; |
5373 | 0 | } |
5374 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5375 | 0 |
|
5376 | 0 | return true; |
5377 | 0 | } |
5378 | | |
5379 | | auto PDocAccessibleParent::SendSelectedItemCount( |
5380 | | const uint64_t& aID, |
5381 | | uint32_t* aCount) -> bool |
5382 | 0 | { |
5383 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectedItemCount(Id()); |
5384 | 0 |
|
5385 | 0 | WriteIPDLParam(msg__, this, aID); |
5386 | 0 | // Sentinel = 'aID' |
5387 | 0 | (msg__)->WriteSentinel(2735041849); |
5388 | 0 |
|
5389 | 0 |
|
5390 | 0 |
|
5391 | 0 | Message reply__; |
5392 | 0 |
|
5393 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5394 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5395 | 0 | } |
5396 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectedItemCount", OTHER); |
5397 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5398 | 0 | mozilla::ipc::LogicError("Transition error"); |
5399 | 0 | } |
5400 | 0 |
|
5401 | 0 | bool sendok__; |
5402 | 0 | { |
5403 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SelectedItemCount"); |
5404 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5405 | 0 | } |
5406 | 0 | if ((!(sendok__))) { |
5407 | 0 | return false; |
5408 | 0 | } |
5409 | 0 | |
5410 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5411 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5412 | 0 | } |
5413 | 0 |
|
5414 | 0 | PickleIterator iter__(reply__); |
5415 | 0 |
|
5416 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCount)))) { |
5417 | 0 | FatalError("Error deserializing 'uint32_t'"); |
5418 | 0 | return false; |
5419 | 0 | } |
5420 | 0 | // Sentinel = 'aCount' |
5421 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2344199296)))) { |
5422 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
5423 | 0 | return false; |
5424 | 0 | } |
5425 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5426 | 0 |
|
5427 | 0 | return true; |
5428 | 0 | } |
5429 | | |
5430 | | auto PDocAccessibleParent::SendGetSelectedItem( |
5431 | | const uint64_t& aID, |
5432 | | const uint32_t& aIndex, |
5433 | | uint64_t* aSelected, |
5434 | | bool* aOk) -> bool |
5435 | 0 | { |
5436 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_GetSelectedItem(Id()); |
5437 | 0 |
|
5438 | 0 | WriteIPDLParam(msg__, this, aID); |
5439 | 0 | // Sentinel = 'aID' |
5440 | 0 | (msg__)->WriteSentinel(2735041849); |
5441 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5442 | 0 | // Sentinel = 'aIndex' |
5443 | 0 | (msg__)->WriteSentinel(3511194741); |
5444 | 0 |
|
5445 | 0 |
|
5446 | 0 |
|
5447 | 0 | Message reply__; |
5448 | 0 |
|
5449 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5450 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5451 | 0 | } |
5452 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_GetSelectedItem", OTHER); |
5453 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5454 | 0 | mozilla::ipc::LogicError("Transition error"); |
5455 | 0 | } |
5456 | 0 |
|
5457 | 0 | bool sendok__; |
5458 | 0 | { |
5459 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_GetSelectedItem"); |
5460 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5461 | 0 | } |
5462 | 0 | if ((!(sendok__))) { |
5463 | 0 | return false; |
5464 | 0 | } |
5465 | 0 | |
5466 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5467 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5468 | 0 | } |
5469 | 0 |
|
5470 | 0 | PickleIterator iter__(reply__); |
5471 | 0 |
|
5472 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
5473 | 0 | FatalError("Error deserializing 'uint64_t'"); |
5474 | 0 | return false; |
5475 | 0 | } |
5476 | 0 | // Sentinel = 'aSelected' |
5477 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
5478 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
5479 | 0 | return false; |
5480 | 0 | } |
5481 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
5482 | 0 | FatalError("Error deserializing 'bool'"); |
5483 | 0 | return false; |
5484 | 0 | } |
5485 | 0 | // Sentinel = 'aOk' |
5486 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
5487 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5488 | 0 | return false; |
5489 | 0 | } |
5490 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5491 | 0 |
|
5492 | 0 | return true; |
5493 | 0 | } |
5494 | | |
5495 | | auto PDocAccessibleParent::SendIsItemSelected( |
5496 | | const uint64_t& aID, |
5497 | | const uint32_t& aIndex, |
5498 | | bool* aSelected) -> bool |
5499 | 0 | { |
5500 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_IsItemSelected(Id()); |
5501 | 0 |
|
5502 | 0 | WriteIPDLParam(msg__, this, aID); |
5503 | 0 | // Sentinel = 'aID' |
5504 | 0 | (msg__)->WriteSentinel(2735041849); |
5505 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5506 | 0 | // Sentinel = 'aIndex' |
5507 | 0 | (msg__)->WriteSentinel(3511194741); |
5508 | 0 |
|
5509 | 0 |
|
5510 | 0 |
|
5511 | 0 | Message reply__; |
5512 | 0 |
|
5513 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5514 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5515 | 0 | } |
5516 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_IsItemSelected", OTHER); |
5517 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5518 | 0 | mozilla::ipc::LogicError("Transition error"); |
5519 | 0 | } |
5520 | 0 |
|
5521 | 0 | bool sendok__; |
5522 | 0 | { |
5523 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_IsItemSelected"); |
5524 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5525 | 0 | } |
5526 | 0 | if ((!(sendok__))) { |
5527 | 0 | return false; |
5528 | 0 | } |
5529 | 0 | |
5530 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5531 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5532 | 0 | } |
5533 | 0 |
|
5534 | 0 | PickleIterator iter__(reply__); |
5535 | 0 |
|
5536 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSelected)))) { |
5537 | 0 | FatalError("Error deserializing 'bool'"); |
5538 | 0 | return false; |
5539 | 0 | } |
5540 | 0 | // Sentinel = 'aSelected' |
5541 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1712258447)))) { |
5542 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5543 | 0 | return false; |
5544 | 0 | } |
5545 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5546 | 0 |
|
5547 | 0 | return true; |
5548 | 0 | } |
5549 | | |
5550 | | auto PDocAccessibleParent::SendAddItemToSelection( |
5551 | | const uint64_t& aID, |
5552 | | const uint32_t& aIndex, |
5553 | | bool* aSuccess) -> bool |
5554 | 0 | { |
5555 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AddItemToSelection(Id()); |
5556 | 0 |
|
5557 | 0 | WriteIPDLParam(msg__, this, aID); |
5558 | 0 | // Sentinel = 'aID' |
5559 | 0 | (msg__)->WriteSentinel(2735041849); |
5560 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5561 | 0 | // Sentinel = 'aIndex' |
5562 | 0 | (msg__)->WriteSentinel(3511194741); |
5563 | 0 |
|
5564 | 0 |
|
5565 | 0 |
|
5566 | 0 | Message reply__; |
5567 | 0 |
|
5568 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5569 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5570 | 0 | } |
5571 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AddItemToSelection", OTHER); |
5572 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5573 | 0 | mozilla::ipc::LogicError("Transition error"); |
5574 | 0 | } |
5575 | 0 |
|
5576 | 0 | bool sendok__; |
5577 | 0 | { |
5578 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AddItemToSelection"); |
5579 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5580 | 0 | } |
5581 | 0 | if ((!(sendok__))) { |
5582 | 0 | return false; |
5583 | 0 | } |
5584 | 0 | |
5585 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5586 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5587 | 0 | } |
5588 | 0 |
|
5589 | 0 | PickleIterator iter__(reply__); |
5590 | 0 |
|
5591 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSuccess)))) { |
5592 | 0 | FatalError("Error deserializing 'bool'"); |
5593 | 0 | return false; |
5594 | 0 | } |
5595 | 0 | // Sentinel = 'aSuccess' |
5596 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2132928722)))) { |
5597 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5598 | 0 | return false; |
5599 | 0 | } |
5600 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5601 | 0 |
|
5602 | 0 | return true; |
5603 | 0 | } |
5604 | | |
5605 | | auto PDocAccessibleParent::SendRemoveItemFromSelection( |
5606 | | const uint64_t& aID, |
5607 | | const uint32_t& aIndex, |
5608 | | bool* aSuccess) -> bool |
5609 | 0 | { |
5610 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_RemoveItemFromSelection(Id()); |
5611 | 0 |
|
5612 | 0 | WriteIPDLParam(msg__, this, aID); |
5613 | 0 | // Sentinel = 'aID' |
5614 | 0 | (msg__)->WriteSentinel(2735041849); |
5615 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5616 | 0 | // Sentinel = 'aIndex' |
5617 | 0 | (msg__)->WriteSentinel(3511194741); |
5618 | 0 |
|
5619 | 0 |
|
5620 | 0 |
|
5621 | 0 | Message reply__; |
5622 | 0 |
|
5623 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5624 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5625 | 0 | } |
5626 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RemoveItemFromSelection", OTHER); |
5627 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5628 | 0 | mozilla::ipc::LogicError("Transition error"); |
5629 | 0 | } |
5630 | 0 |
|
5631 | 0 | bool sendok__; |
5632 | 0 | { |
5633 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_RemoveItemFromSelection"); |
5634 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5635 | 0 | } |
5636 | 0 | if ((!(sendok__))) { |
5637 | 0 | return false; |
5638 | 0 | } |
5639 | 0 | |
5640 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5641 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5642 | 0 | } |
5643 | 0 |
|
5644 | 0 | PickleIterator iter__(reply__); |
5645 | 0 |
|
5646 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSuccess)))) { |
5647 | 0 | FatalError("Error deserializing 'bool'"); |
5648 | 0 | return false; |
5649 | 0 | } |
5650 | 0 | // Sentinel = 'aSuccess' |
5651 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2132928722)))) { |
5652 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5653 | 0 | return false; |
5654 | 0 | } |
5655 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5656 | 0 |
|
5657 | 0 | return true; |
5658 | 0 | } |
5659 | | |
5660 | | auto PDocAccessibleParent::SendSelectAll( |
5661 | | const uint64_t& aID, |
5662 | | bool* aSuccess) -> bool |
5663 | 0 | { |
5664 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SelectAll(Id()); |
5665 | 0 |
|
5666 | 0 | WriteIPDLParam(msg__, this, aID); |
5667 | 0 | // Sentinel = 'aID' |
5668 | 0 | (msg__)->WriteSentinel(2735041849); |
5669 | 0 |
|
5670 | 0 |
|
5671 | 0 |
|
5672 | 0 | Message reply__; |
5673 | 0 |
|
5674 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5675 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5676 | 0 | } |
5677 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectAll", OTHER); |
5678 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5679 | 0 | mozilla::ipc::LogicError("Transition error"); |
5680 | 0 | } |
5681 | 0 |
|
5682 | 0 | bool sendok__; |
5683 | 0 | { |
5684 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SelectAll"); |
5685 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5686 | 0 | } |
5687 | 0 | if ((!(sendok__))) { |
5688 | 0 | return false; |
5689 | 0 | } |
5690 | 0 | |
5691 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5692 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5693 | 0 | } |
5694 | 0 |
|
5695 | 0 | PickleIterator iter__(reply__); |
5696 | 0 |
|
5697 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSuccess)))) { |
5698 | 0 | FatalError("Error deserializing 'bool'"); |
5699 | 0 | return false; |
5700 | 0 | } |
5701 | 0 | // Sentinel = 'aSuccess' |
5702 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2132928722)))) { |
5703 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5704 | 0 | return false; |
5705 | 0 | } |
5706 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5707 | 0 |
|
5708 | 0 | return true; |
5709 | 0 | } |
5710 | | |
5711 | | auto PDocAccessibleParent::SendUnselectAll( |
5712 | | const uint64_t& aID, |
5713 | | bool* aSuccess) -> bool |
5714 | 0 | { |
5715 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_UnselectAll(Id()); |
5716 | 0 |
|
5717 | 0 | WriteIPDLParam(msg__, this, aID); |
5718 | 0 | // Sentinel = 'aID' |
5719 | 0 | (msg__)->WriteSentinel(2735041849); |
5720 | 0 |
|
5721 | 0 |
|
5722 | 0 |
|
5723 | 0 | Message reply__; |
5724 | 0 |
|
5725 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5726 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5727 | 0 | } |
5728 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_UnselectAll", OTHER); |
5729 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5730 | 0 | mozilla::ipc::LogicError("Transition error"); |
5731 | 0 | } |
5732 | 0 |
|
5733 | 0 | bool sendok__; |
5734 | 0 | { |
5735 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_UnselectAll"); |
5736 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5737 | 0 | } |
5738 | 0 | if ((!(sendok__))) { |
5739 | 0 | return false; |
5740 | 0 | } |
5741 | 0 | |
5742 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5743 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5744 | 0 | } |
5745 | 0 |
|
5746 | 0 | PickleIterator iter__(reply__); |
5747 | 0 |
|
5748 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSuccess)))) { |
5749 | 0 | FatalError("Error deserializing 'bool'"); |
5750 | 0 | return false; |
5751 | 0 | } |
5752 | 0 | // Sentinel = 'aSuccess' |
5753 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2132928722)))) { |
5754 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5755 | 0 | return false; |
5756 | 0 | } |
5757 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5758 | 0 |
|
5759 | 0 | return true; |
5760 | 0 | } |
5761 | | |
5762 | | auto PDocAccessibleParent::SendTakeSelection(const uint64_t& aID) -> bool |
5763 | 0 | { |
5764 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TakeSelection(Id()); |
5765 | 0 |
|
5766 | 0 | WriteIPDLParam(msg__, this, aID); |
5767 | 0 | // Sentinel = 'aID' |
5768 | 0 | (msg__)->WriteSentinel(2735041849); |
5769 | 0 |
|
5770 | 0 |
|
5771 | 0 |
|
5772 | 0 |
|
5773 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5774 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5775 | 0 | } |
5776 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TakeSelection", OTHER); |
5777 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5778 | 0 | mozilla::ipc::LogicError("Transition error"); |
5779 | 0 | } |
5780 | 0 |
|
5781 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
5782 | 0 | return sendok__; |
5783 | 0 | } |
5784 | | |
5785 | | auto PDocAccessibleParent::SendSetSelected( |
5786 | | const uint64_t& aID, |
5787 | | const bool& aSelected) -> bool |
5788 | 0 | { |
5789 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SetSelected(Id()); |
5790 | 0 |
|
5791 | 0 | WriteIPDLParam(msg__, this, aID); |
5792 | 0 | // Sentinel = 'aID' |
5793 | 0 | (msg__)->WriteSentinel(2735041849); |
5794 | 0 | WriteIPDLParam(msg__, this, aSelected); |
5795 | 0 | // Sentinel = 'aSelected' |
5796 | 0 | (msg__)->WriteSentinel(1712258447); |
5797 | 0 |
|
5798 | 0 |
|
5799 | 0 |
|
5800 | 0 |
|
5801 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5802 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5803 | 0 | } |
5804 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetSelected", OTHER); |
5805 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5806 | 0 | mozilla::ipc::LogicError("Transition error"); |
5807 | 0 | } |
5808 | 0 |
|
5809 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
5810 | 0 | return sendok__; |
5811 | 0 | } |
5812 | | |
5813 | | auto PDocAccessibleParent::SendDoAction( |
5814 | | const uint64_t& aID, |
5815 | | const uint8_t& aIndex, |
5816 | | bool* aSuccess) -> bool |
5817 | 0 | { |
5818 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_DoAction(Id()); |
5819 | 0 |
|
5820 | 0 | WriteIPDLParam(msg__, this, aID); |
5821 | 0 | // Sentinel = 'aID' |
5822 | 0 | (msg__)->WriteSentinel(2735041849); |
5823 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5824 | 0 | // Sentinel = 'aIndex' |
5825 | 0 | (msg__)->WriteSentinel(3511194741); |
5826 | 0 |
|
5827 | 0 |
|
5828 | 0 |
|
5829 | 0 | Message reply__; |
5830 | 0 |
|
5831 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5832 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5833 | 0 | } |
5834 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DoAction", OTHER); |
5835 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5836 | 0 | mozilla::ipc::LogicError("Transition error"); |
5837 | 0 | } |
5838 | 0 |
|
5839 | 0 | bool sendok__; |
5840 | 0 | { |
5841 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_DoAction"); |
5842 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5843 | 0 | } |
5844 | 0 | if ((!(sendok__))) { |
5845 | 0 | return false; |
5846 | 0 | } |
5847 | 0 | |
5848 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5849 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5850 | 0 | } |
5851 | 0 |
|
5852 | 0 | PickleIterator iter__(reply__); |
5853 | 0 |
|
5854 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aSuccess)))) { |
5855 | 0 | FatalError("Error deserializing 'bool'"); |
5856 | 0 | return false; |
5857 | 0 | } |
5858 | 0 | // Sentinel = 'aSuccess' |
5859 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2132928722)))) { |
5860 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
5861 | 0 | return false; |
5862 | 0 | } |
5863 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5864 | 0 |
|
5865 | 0 | return true; |
5866 | 0 | } |
5867 | | |
5868 | | auto PDocAccessibleParent::SendActionCount( |
5869 | | const uint64_t& aID, |
5870 | | uint8_t* aCount) -> bool |
5871 | 0 | { |
5872 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ActionCount(Id()); |
5873 | 0 |
|
5874 | 0 | WriteIPDLParam(msg__, this, aID); |
5875 | 0 | // Sentinel = 'aID' |
5876 | 0 | (msg__)->WriteSentinel(2735041849); |
5877 | 0 |
|
5878 | 0 |
|
5879 | 0 |
|
5880 | 0 | Message reply__; |
5881 | 0 |
|
5882 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5883 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5884 | 0 | } |
5885 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionCount", OTHER); |
5886 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5887 | 0 | mozilla::ipc::LogicError("Transition error"); |
5888 | 0 | } |
5889 | 0 |
|
5890 | 0 | bool sendok__; |
5891 | 0 | { |
5892 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ActionCount"); |
5893 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5894 | 0 | } |
5895 | 0 | if ((!(sendok__))) { |
5896 | 0 | return false; |
5897 | 0 | } |
5898 | 0 | |
5899 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5900 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5901 | 0 | } |
5902 | 0 |
|
5903 | 0 | PickleIterator iter__(reply__); |
5904 | 0 |
|
5905 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aCount)))) { |
5906 | 0 | FatalError("Error deserializing 'uint8_t'"); |
5907 | 0 | return false; |
5908 | 0 | } |
5909 | 0 | // Sentinel = 'aCount' |
5910 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2344199296)))) { |
5911 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'"); |
5912 | 0 | return false; |
5913 | 0 | } |
5914 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5915 | 0 |
|
5916 | 0 | return true; |
5917 | 0 | } |
5918 | | |
5919 | | auto PDocAccessibleParent::SendActionDescriptionAt( |
5920 | | const uint64_t& aID, |
5921 | | const uint8_t& aIndex, |
5922 | | nsString* aDescription) -> bool |
5923 | 0 | { |
5924 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ActionDescriptionAt(Id()); |
5925 | 0 |
|
5926 | 0 | WriteIPDLParam(msg__, this, aID); |
5927 | 0 | // Sentinel = 'aID' |
5928 | 0 | (msg__)->WriteSentinel(2735041849); |
5929 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5930 | 0 | // Sentinel = 'aIndex' |
5931 | 0 | (msg__)->WriteSentinel(3511194741); |
5932 | 0 |
|
5933 | 0 |
|
5934 | 0 |
|
5935 | 0 | Message reply__; |
5936 | 0 |
|
5937 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5938 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5939 | 0 | } |
5940 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionDescriptionAt", OTHER); |
5941 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5942 | 0 | mozilla::ipc::LogicError("Transition error"); |
5943 | 0 | } |
5944 | 0 |
|
5945 | 0 | bool sendok__; |
5946 | 0 | { |
5947 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ActionDescriptionAt"); |
5948 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
5949 | 0 | } |
5950 | 0 | if ((!(sendok__))) { |
5951 | 0 | return false; |
5952 | 0 | } |
5953 | 0 | |
5954 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5955 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
5956 | 0 | } |
5957 | 0 |
|
5958 | 0 | PickleIterator iter__(reply__); |
5959 | 0 |
|
5960 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aDescription)))) { |
5961 | 0 | FatalError("Error deserializing 'nsString'"); |
5962 | 0 | return false; |
5963 | 0 | } |
5964 | 0 | // Sentinel = 'aDescription' |
5965 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1173016929)))) { |
5966 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
5967 | 0 | return false; |
5968 | 0 | } |
5969 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
5970 | 0 |
|
5971 | 0 | return true; |
5972 | 0 | } |
5973 | | |
5974 | | auto PDocAccessibleParent::SendActionNameAt( |
5975 | | const uint64_t& aID, |
5976 | | const uint8_t& aIndex, |
5977 | | nsString* aName) -> bool |
5978 | 0 | { |
5979 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ActionNameAt(Id()); |
5980 | 0 |
|
5981 | 0 | WriteIPDLParam(msg__, this, aID); |
5982 | 0 | // Sentinel = 'aID' |
5983 | 0 | (msg__)->WriteSentinel(2735041849); |
5984 | 0 | WriteIPDLParam(msg__, this, aIndex); |
5985 | 0 | // Sentinel = 'aIndex' |
5986 | 0 | (msg__)->WriteSentinel(3511194741); |
5987 | 0 |
|
5988 | 0 |
|
5989 | 0 |
|
5990 | 0 | Message reply__; |
5991 | 0 |
|
5992 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
5993 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
5994 | 0 | } |
5995 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ActionNameAt", OTHER); |
5996 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
5997 | 0 | mozilla::ipc::LogicError("Transition error"); |
5998 | 0 | } |
5999 | 0 |
|
6000 | 0 | bool sendok__; |
6001 | 0 | { |
6002 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ActionNameAt"); |
6003 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6004 | 0 | } |
6005 | 0 | if ((!(sendok__))) { |
6006 | 0 | return false; |
6007 | 0 | } |
6008 | 0 | |
6009 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6010 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6011 | 0 | } |
6012 | 0 |
|
6013 | 0 | PickleIterator iter__(reply__); |
6014 | 0 |
|
6015 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aName)))) { |
6016 | 0 | FatalError("Error deserializing 'nsString'"); |
6017 | 0 | return false; |
6018 | 0 | } |
6019 | 0 | // Sentinel = 'aName' |
6020 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1450162941)))) { |
6021 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6022 | 0 | return false; |
6023 | 0 | } |
6024 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6025 | 0 |
|
6026 | 0 | return true; |
6027 | 0 | } |
6028 | | |
6029 | | auto PDocAccessibleParent::SendAccessKey( |
6030 | | const uint64_t& aID, |
6031 | | uint32_t* aKey, |
6032 | | uint32_t* aModifierMask) -> bool |
6033 | 0 | { |
6034 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AccessKey(Id()); |
6035 | 0 |
|
6036 | 0 | WriteIPDLParam(msg__, this, aID); |
6037 | 0 | // Sentinel = 'aID' |
6038 | 0 | (msg__)->WriteSentinel(2735041849); |
6039 | 0 |
|
6040 | 0 |
|
6041 | 0 |
|
6042 | 0 | Message reply__; |
6043 | 0 |
|
6044 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6045 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6046 | 0 | } |
6047 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AccessKey", OTHER); |
6048 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6049 | 0 | mozilla::ipc::LogicError("Transition error"); |
6050 | 0 | } |
6051 | 0 |
|
6052 | 0 | bool sendok__; |
6053 | 0 | { |
6054 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AccessKey"); |
6055 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6056 | 0 | } |
6057 | 0 | if ((!(sendok__))) { |
6058 | 0 | return false; |
6059 | 0 | } |
6060 | 0 | |
6061 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6062 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6063 | 0 | } |
6064 | 0 |
|
6065 | 0 | PickleIterator iter__(reply__); |
6066 | 0 |
|
6067 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aKey)))) { |
6068 | 0 | FatalError("Error deserializing 'uint32_t'"); |
6069 | 0 | return false; |
6070 | 0 | } |
6071 | 0 | // Sentinel = 'aKey' |
6072 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3415890794)))) { |
6073 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
6074 | 0 | return false; |
6075 | 0 | } |
6076 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aModifierMask)))) { |
6077 | 0 | FatalError("Error deserializing 'uint32_t'"); |
6078 | 0 | return false; |
6079 | 0 | } |
6080 | 0 | // Sentinel = 'aModifierMask' |
6081 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2810469331)))) { |
6082 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
6083 | 0 | return false; |
6084 | 0 | } |
6085 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6086 | 0 |
|
6087 | 0 | return true; |
6088 | 0 | } |
6089 | | |
6090 | | auto PDocAccessibleParent::SendKeyboardShortcut( |
6091 | | const uint64_t& aID, |
6092 | | uint32_t* aKey, |
6093 | | uint32_t* aModifierMask) -> bool |
6094 | 0 | { |
6095 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_KeyboardShortcut(Id()); |
6096 | 0 |
|
6097 | 0 | WriteIPDLParam(msg__, this, aID); |
6098 | 0 | // Sentinel = 'aID' |
6099 | 0 | (msg__)->WriteSentinel(2735041849); |
6100 | 0 |
|
6101 | 0 |
|
6102 | 0 |
|
6103 | 0 | Message reply__; |
6104 | 0 |
|
6105 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6106 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6107 | 0 | } |
6108 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_KeyboardShortcut", OTHER); |
6109 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6110 | 0 | mozilla::ipc::LogicError("Transition error"); |
6111 | 0 | } |
6112 | 0 |
|
6113 | 0 | bool sendok__; |
6114 | 0 | { |
6115 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_KeyboardShortcut"); |
6116 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6117 | 0 | } |
6118 | 0 | if ((!(sendok__))) { |
6119 | 0 | return false; |
6120 | 0 | } |
6121 | 0 | |
6122 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6123 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6124 | 0 | } |
6125 | 0 |
|
6126 | 0 | PickleIterator iter__(reply__); |
6127 | 0 |
|
6128 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aKey)))) { |
6129 | 0 | FatalError("Error deserializing 'uint32_t'"); |
6130 | 0 | return false; |
6131 | 0 | } |
6132 | 0 | // Sentinel = 'aKey' |
6133 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3415890794)))) { |
6134 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
6135 | 0 | return false; |
6136 | 0 | } |
6137 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aModifierMask)))) { |
6138 | 0 | FatalError("Error deserializing 'uint32_t'"); |
6139 | 0 | return false; |
6140 | 0 | } |
6141 | 0 | // Sentinel = 'aModifierMask' |
6142 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2810469331)))) { |
6143 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
6144 | 0 | return false; |
6145 | 0 | } |
6146 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6147 | 0 |
|
6148 | 0 | return true; |
6149 | 0 | } |
6150 | | |
6151 | | auto PDocAccessibleParent::SendAtkKeyBinding( |
6152 | | const uint64_t& aID, |
6153 | | nsString* aResult) -> bool |
6154 | 0 | { |
6155 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AtkKeyBinding(Id()); |
6156 | 0 |
|
6157 | 0 | WriteIPDLParam(msg__, this, aID); |
6158 | 0 | // Sentinel = 'aID' |
6159 | 0 | (msg__)->WriteSentinel(2735041849); |
6160 | 0 |
|
6161 | 0 |
|
6162 | 0 |
|
6163 | 0 | Message reply__; |
6164 | 0 |
|
6165 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6166 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6167 | 0 | } |
6168 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AtkKeyBinding", OTHER); |
6169 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6170 | 0 | mozilla::ipc::LogicError("Transition error"); |
6171 | 0 | } |
6172 | 0 |
|
6173 | 0 | bool sendok__; |
6174 | 0 | { |
6175 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AtkKeyBinding"); |
6176 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6177 | 0 | } |
6178 | 0 | if ((!(sendok__))) { |
6179 | 0 | return false; |
6180 | 0 | } |
6181 | 0 | |
6182 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6183 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6184 | 0 | } |
6185 | 0 |
|
6186 | 0 | PickleIterator iter__(reply__); |
6187 | 0 |
|
6188 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aResult)))) { |
6189 | 0 | FatalError("Error deserializing 'nsString'"); |
6190 | 0 | return false; |
6191 | 0 | } |
6192 | 0 | // Sentinel = 'aResult' |
6193 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3888726089)))) { |
6194 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6195 | 0 | return false; |
6196 | 0 | } |
6197 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6198 | 0 |
|
6199 | 0 | return true; |
6200 | 0 | } |
6201 | | |
6202 | | auto PDocAccessibleParent::SendCurValue( |
6203 | | const uint64_t& aID, |
6204 | | double* aValue) -> bool |
6205 | 0 | { |
6206 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_CurValue(Id()); |
6207 | 0 |
|
6208 | 0 | WriteIPDLParam(msg__, this, aID); |
6209 | 0 | // Sentinel = 'aID' |
6210 | 0 | (msg__)->WriteSentinel(2735041849); |
6211 | 0 |
|
6212 | 0 |
|
6213 | 0 |
|
6214 | 0 | Message reply__; |
6215 | 0 |
|
6216 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6217 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6218 | 0 | } |
6219 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CurValue", OTHER); |
6220 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6221 | 0 | mozilla::ipc::LogicError("Transition error"); |
6222 | 0 | } |
6223 | 0 |
|
6224 | 0 | bool sendok__; |
6225 | 0 | { |
6226 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_CurValue"); |
6227 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6228 | 0 | } |
6229 | 0 | if ((!(sendok__))) { |
6230 | 0 | return false; |
6231 | 0 | } |
6232 | 0 | |
6233 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6234 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6235 | 0 | } |
6236 | 0 |
|
6237 | 0 | PickleIterator iter__(reply__); |
6238 | 0 |
|
6239 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValue)))) { |
6240 | 0 | FatalError("Error deserializing 'double'"); |
6241 | 0 | return false; |
6242 | 0 | } |
6243 | 0 | // Sentinel = 'aValue' |
6244 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2522186438)))) { |
6245 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'double'"); |
6246 | 0 | return false; |
6247 | 0 | } |
6248 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6249 | 0 |
|
6250 | 0 | return true; |
6251 | 0 | } |
6252 | | |
6253 | | auto PDocAccessibleParent::SendSetCurValue( |
6254 | | const uint64_t& aID, |
6255 | | const double& aValue, |
6256 | | bool* aRetVal) -> bool |
6257 | 0 | { |
6258 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_SetCurValue(Id()); |
6259 | 0 |
|
6260 | 0 | WriteIPDLParam(msg__, this, aID); |
6261 | 0 | // Sentinel = 'aID' |
6262 | 0 | (msg__)->WriteSentinel(2735041849); |
6263 | 0 | WriteIPDLParam(msg__, this, aValue); |
6264 | 0 | // Sentinel = 'aValue' |
6265 | 0 | (msg__)->WriteSentinel(2522186438); |
6266 | 0 |
|
6267 | 0 |
|
6268 | 0 |
|
6269 | 0 | Message reply__; |
6270 | 0 |
|
6271 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6272 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6273 | 0 | } |
6274 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SetCurValue", OTHER); |
6275 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6276 | 0 | mozilla::ipc::LogicError("Transition error"); |
6277 | 0 | } |
6278 | 0 |
|
6279 | 0 | bool sendok__; |
6280 | 0 | { |
6281 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_SetCurValue"); |
6282 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6283 | 0 | } |
6284 | 0 | if ((!(sendok__))) { |
6285 | 0 | return false; |
6286 | 0 | } |
6287 | 0 | |
6288 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6289 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6290 | 0 | } |
6291 | 0 |
|
6292 | 0 | PickleIterator iter__(reply__); |
6293 | 0 |
|
6294 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aRetVal)))) { |
6295 | 0 | FatalError("Error deserializing 'bool'"); |
6296 | 0 | return false; |
6297 | 0 | } |
6298 | 0 | // Sentinel = 'aRetVal' |
6299 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4235942908)))) { |
6300 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
6301 | 0 | return false; |
6302 | 0 | } |
6303 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6304 | 0 |
|
6305 | 0 | return true; |
6306 | 0 | } |
6307 | | |
6308 | | auto PDocAccessibleParent::SendMinValue( |
6309 | | const uint64_t& aID, |
6310 | | double* aValue) -> bool |
6311 | 0 | { |
6312 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_MinValue(Id()); |
6313 | 0 |
|
6314 | 0 | WriteIPDLParam(msg__, this, aID); |
6315 | 0 | // Sentinel = 'aID' |
6316 | 0 | (msg__)->WriteSentinel(2735041849); |
6317 | 0 |
|
6318 | 0 |
|
6319 | 0 |
|
6320 | 0 | Message reply__; |
6321 | 0 |
|
6322 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6323 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6324 | 0 | } |
6325 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MinValue", OTHER); |
6326 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6327 | 0 | mozilla::ipc::LogicError("Transition error"); |
6328 | 0 | } |
6329 | 0 |
|
6330 | 0 | bool sendok__; |
6331 | 0 | { |
6332 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_MinValue"); |
6333 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6334 | 0 | } |
6335 | 0 | if ((!(sendok__))) { |
6336 | 0 | return false; |
6337 | 0 | } |
6338 | 0 | |
6339 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6340 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6341 | 0 | } |
6342 | 0 |
|
6343 | 0 | PickleIterator iter__(reply__); |
6344 | 0 |
|
6345 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValue)))) { |
6346 | 0 | FatalError("Error deserializing 'double'"); |
6347 | 0 | return false; |
6348 | 0 | } |
6349 | 0 | // Sentinel = 'aValue' |
6350 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2522186438)))) { |
6351 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'double'"); |
6352 | 0 | return false; |
6353 | 0 | } |
6354 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6355 | 0 |
|
6356 | 0 | return true; |
6357 | 0 | } |
6358 | | |
6359 | | auto PDocAccessibleParent::SendMaxValue( |
6360 | | const uint64_t& aID, |
6361 | | double* aValue) -> bool |
6362 | 0 | { |
6363 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_MaxValue(Id()); |
6364 | 0 |
|
6365 | 0 | WriteIPDLParam(msg__, this, aID); |
6366 | 0 | // Sentinel = 'aID' |
6367 | 0 | (msg__)->WriteSentinel(2735041849); |
6368 | 0 |
|
6369 | 0 |
|
6370 | 0 |
|
6371 | 0 | Message reply__; |
6372 | 0 |
|
6373 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6374 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6375 | 0 | } |
6376 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MaxValue", OTHER); |
6377 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6378 | 0 | mozilla::ipc::LogicError("Transition error"); |
6379 | 0 | } |
6380 | 0 |
|
6381 | 0 | bool sendok__; |
6382 | 0 | { |
6383 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_MaxValue"); |
6384 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6385 | 0 | } |
6386 | 0 | if ((!(sendok__))) { |
6387 | 0 | return false; |
6388 | 0 | } |
6389 | 0 | |
6390 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6391 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6392 | 0 | } |
6393 | 0 |
|
6394 | 0 | PickleIterator iter__(reply__); |
6395 | 0 |
|
6396 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aValue)))) { |
6397 | 0 | FatalError("Error deserializing 'double'"); |
6398 | 0 | return false; |
6399 | 0 | } |
6400 | 0 | // Sentinel = 'aValue' |
6401 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2522186438)))) { |
6402 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'double'"); |
6403 | 0 | return false; |
6404 | 0 | } |
6405 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6406 | 0 |
|
6407 | 0 | return true; |
6408 | 0 | } |
6409 | | |
6410 | | auto PDocAccessibleParent::SendStep( |
6411 | | const uint64_t& aID, |
6412 | | double* aStep) -> bool |
6413 | 0 | { |
6414 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Step(Id()); |
6415 | 0 |
|
6416 | 0 | WriteIPDLParam(msg__, this, aID); |
6417 | 0 | // Sentinel = 'aID' |
6418 | 0 | (msg__)->WriteSentinel(2735041849); |
6419 | 0 |
|
6420 | 0 |
|
6421 | 0 |
|
6422 | 0 | Message reply__; |
6423 | 0 |
|
6424 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6425 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6426 | 0 | } |
6427 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Step", OTHER); |
6428 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6429 | 0 | mozilla::ipc::LogicError("Transition error"); |
6430 | 0 | } |
6431 | 0 |
|
6432 | 0 | bool sendok__; |
6433 | 0 | { |
6434 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Step"); |
6435 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6436 | 0 | } |
6437 | 0 | if ((!(sendok__))) { |
6438 | 0 | return false; |
6439 | 0 | } |
6440 | 0 | |
6441 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6442 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6443 | 0 | } |
6444 | 0 |
|
6445 | 0 | PickleIterator iter__(reply__); |
6446 | 0 |
|
6447 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aStep)))) { |
6448 | 0 | FatalError("Error deserializing 'double'"); |
6449 | 0 | return false; |
6450 | 0 | } |
6451 | 0 | // Sentinel = 'aStep' |
6452 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 516775534)))) { |
6453 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'double'"); |
6454 | 0 | return false; |
6455 | 0 | } |
6456 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6457 | 0 |
|
6458 | 0 | return true; |
6459 | 0 | } |
6460 | | |
6461 | | auto PDocAccessibleParent::SendTakeFocus(const uint64_t& aID) -> bool |
6462 | 0 | { |
6463 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_TakeFocus(Id()); |
6464 | 0 |
|
6465 | 0 | WriteIPDLParam(msg__, this, aID); |
6466 | 0 | // Sentinel = 'aID' |
6467 | 0 | (msg__)->WriteSentinel(2735041849); |
6468 | 0 |
|
6469 | 0 |
|
6470 | 0 |
|
6471 | 0 |
|
6472 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6473 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6474 | 0 | } |
6475 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TakeFocus", OTHER); |
6476 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6477 | 0 | mozilla::ipc::LogicError("Transition error"); |
6478 | 0 | } |
6479 | 0 |
|
6480 | 0 | bool sendok__ = (GetIPCChannel())->Send(msg__); |
6481 | 0 | return sendok__; |
6482 | 0 | } |
6483 | | |
6484 | | auto PDocAccessibleParent::SendFocusedChild( |
6485 | | const uint64_t& aID, |
6486 | | uint64_t* aChild, |
6487 | | bool* aOk) -> bool |
6488 | 0 | { |
6489 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_FocusedChild(Id()); |
6490 | 0 |
|
6491 | 0 | WriteIPDLParam(msg__, this, aID); |
6492 | 0 | // Sentinel = 'aID' |
6493 | 0 | (msg__)->WriteSentinel(2735041849); |
6494 | 0 |
|
6495 | 0 |
|
6496 | 0 |
|
6497 | 0 | Message reply__; |
6498 | 0 |
|
6499 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6500 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6501 | 0 | } |
6502 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_FocusedChild", OTHER); |
6503 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6504 | 0 | mozilla::ipc::LogicError("Transition error"); |
6505 | 0 | } |
6506 | 0 |
|
6507 | 0 | bool sendok__; |
6508 | 0 | { |
6509 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_FocusedChild"); |
6510 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6511 | 0 | } |
6512 | 0 | if ((!(sendok__))) { |
6513 | 0 | return false; |
6514 | 0 | } |
6515 | 0 | |
6516 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6517 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6518 | 0 | } |
6519 | 0 |
|
6520 | 0 | PickleIterator iter__(reply__); |
6521 | 0 |
|
6522 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aChild)))) { |
6523 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6524 | 0 | return false; |
6525 | 0 | } |
6526 | 0 | // Sentinel = 'aChild' |
6527 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1727831903)))) { |
6528 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6529 | 0 | return false; |
6530 | 0 | } |
6531 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
6532 | 0 | FatalError("Error deserializing 'bool'"); |
6533 | 0 | return false; |
6534 | 0 | } |
6535 | 0 | // Sentinel = 'aOk' |
6536 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
6537 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
6538 | 0 | return false; |
6539 | 0 | } |
6540 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6541 | 0 |
|
6542 | 0 | return true; |
6543 | 0 | } |
6544 | | |
6545 | | auto PDocAccessibleParent::SendLanguage( |
6546 | | const uint64_t& aID, |
6547 | | nsString* aLocale) -> bool |
6548 | 0 | { |
6549 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Language(Id()); |
6550 | 0 |
|
6551 | 0 | WriteIPDLParam(msg__, this, aID); |
6552 | 0 | // Sentinel = 'aID' |
6553 | 0 | (msg__)->WriteSentinel(2735041849); |
6554 | 0 |
|
6555 | 0 |
|
6556 | 0 |
|
6557 | 0 | Message reply__; |
6558 | 0 |
|
6559 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6560 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6561 | 0 | } |
6562 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Language", OTHER); |
6563 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6564 | 0 | mozilla::ipc::LogicError("Transition error"); |
6565 | 0 | } |
6566 | 0 |
|
6567 | 0 | bool sendok__; |
6568 | 0 | { |
6569 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Language"); |
6570 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6571 | 0 | } |
6572 | 0 | if ((!(sendok__))) { |
6573 | 0 | return false; |
6574 | 0 | } |
6575 | 0 | |
6576 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6577 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6578 | 0 | } |
6579 | 0 |
|
6580 | 0 | PickleIterator iter__(reply__); |
6581 | 0 |
|
6582 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aLocale)))) { |
6583 | 0 | FatalError("Error deserializing 'nsString'"); |
6584 | 0 | return false; |
6585 | 0 | } |
6586 | 0 | // Sentinel = 'aLocale' |
6587 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1354699728)))) { |
6588 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6589 | 0 | return false; |
6590 | 0 | } |
6591 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6592 | 0 |
|
6593 | 0 | return true; |
6594 | 0 | } |
6595 | | |
6596 | | auto PDocAccessibleParent::SendDocType( |
6597 | | const uint64_t& aID, |
6598 | | nsString* aType) -> bool |
6599 | 0 | { |
6600 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_DocType(Id()); |
6601 | 0 |
|
6602 | 0 | WriteIPDLParam(msg__, this, aID); |
6603 | 0 | // Sentinel = 'aID' |
6604 | 0 | (msg__)->WriteSentinel(2735041849); |
6605 | 0 |
|
6606 | 0 |
|
6607 | 0 |
|
6608 | 0 | Message reply__; |
6609 | 0 |
|
6610 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6611 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6612 | 0 | } |
6613 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DocType", OTHER); |
6614 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6615 | 0 | mozilla::ipc::LogicError("Transition error"); |
6616 | 0 | } |
6617 | 0 |
|
6618 | 0 | bool sendok__; |
6619 | 0 | { |
6620 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_DocType"); |
6621 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6622 | 0 | } |
6623 | 0 | if ((!(sendok__))) { |
6624 | 0 | return false; |
6625 | 0 | } |
6626 | 0 | |
6627 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6628 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6629 | 0 | } |
6630 | 0 |
|
6631 | 0 | PickleIterator iter__(reply__); |
6632 | 0 |
|
6633 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aType)))) { |
6634 | 0 | FatalError("Error deserializing 'nsString'"); |
6635 | 0 | return false; |
6636 | 0 | } |
6637 | 0 | // Sentinel = 'aType' |
6638 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1819585676)))) { |
6639 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6640 | 0 | return false; |
6641 | 0 | } |
6642 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6643 | 0 |
|
6644 | 0 | return true; |
6645 | 0 | } |
6646 | | |
6647 | | auto PDocAccessibleParent::SendTitle( |
6648 | | const uint64_t& aID, |
6649 | | nsString* aTitle) -> bool |
6650 | 0 | { |
6651 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Title(Id()); |
6652 | 0 |
|
6653 | 0 | WriteIPDLParam(msg__, this, aID); |
6654 | 0 | // Sentinel = 'aID' |
6655 | 0 | (msg__)->WriteSentinel(2735041849); |
6656 | 0 |
|
6657 | 0 |
|
6658 | 0 |
|
6659 | 0 | Message reply__; |
6660 | 0 |
|
6661 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6662 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6663 | 0 | } |
6664 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Title", OTHER); |
6665 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6666 | 0 | mozilla::ipc::LogicError("Transition error"); |
6667 | 0 | } |
6668 | 0 |
|
6669 | 0 | bool sendok__; |
6670 | 0 | { |
6671 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Title"); |
6672 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6673 | 0 | } |
6674 | 0 | if ((!(sendok__))) { |
6675 | 0 | return false; |
6676 | 0 | } |
6677 | 0 | |
6678 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6679 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6680 | 0 | } |
6681 | 0 |
|
6682 | 0 | PickleIterator iter__(reply__); |
6683 | 0 |
|
6684 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aTitle)))) { |
6685 | 0 | FatalError("Error deserializing 'nsString'"); |
6686 | 0 | return false; |
6687 | 0 | } |
6688 | 0 | // Sentinel = 'aTitle' |
6689 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4082117431)))) { |
6690 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6691 | 0 | return false; |
6692 | 0 | } |
6693 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6694 | 0 |
|
6695 | 0 | return true; |
6696 | 0 | } |
6697 | | |
6698 | | auto PDocAccessibleParent::SendURL( |
6699 | | const uint64_t& aID, |
6700 | | nsString* aURL) -> bool |
6701 | 0 | { |
6702 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_URL(Id()); |
6703 | 0 |
|
6704 | 0 | WriteIPDLParam(msg__, this, aID); |
6705 | 0 | // Sentinel = 'aID' |
6706 | 0 | (msg__)->WriteSentinel(2735041849); |
6707 | 0 |
|
6708 | 0 |
|
6709 | 0 |
|
6710 | 0 | Message reply__; |
6711 | 0 |
|
6712 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6713 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6714 | 0 | } |
6715 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_URL", OTHER); |
6716 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6717 | 0 | mozilla::ipc::LogicError("Transition error"); |
6718 | 0 | } |
6719 | 0 |
|
6720 | 0 | bool sendok__; |
6721 | 0 | { |
6722 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_URL"); |
6723 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6724 | 0 | } |
6725 | 0 | if ((!(sendok__))) { |
6726 | 0 | return false; |
6727 | 0 | } |
6728 | 0 | |
6729 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6730 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6731 | 0 | } |
6732 | 0 |
|
6733 | 0 | PickleIterator iter__(reply__); |
6734 | 0 |
|
6735 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aURL)))) { |
6736 | 0 | FatalError("Error deserializing 'nsString'"); |
6737 | 0 | return false; |
6738 | 0 | } |
6739 | 0 | // Sentinel = 'aURL' |
6740 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2075506328)))) { |
6741 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6742 | 0 | return false; |
6743 | 0 | } |
6744 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6745 | 0 |
|
6746 | 0 | return true; |
6747 | 0 | } |
6748 | | |
6749 | | auto PDocAccessibleParent::SendMimeType( |
6750 | | const uint64_t& aID, |
6751 | | nsString* aMime) -> bool |
6752 | 0 | { |
6753 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_MimeType(Id()); |
6754 | 0 |
|
6755 | 0 | WriteIPDLParam(msg__, this, aID); |
6756 | 0 | // Sentinel = 'aID' |
6757 | 0 | (msg__)->WriteSentinel(2735041849); |
6758 | 0 |
|
6759 | 0 |
|
6760 | 0 |
|
6761 | 0 | Message reply__; |
6762 | 0 |
|
6763 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6764 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6765 | 0 | } |
6766 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_MimeType", OTHER); |
6767 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6768 | 0 | mozilla::ipc::LogicError("Transition error"); |
6769 | 0 | } |
6770 | 0 |
|
6771 | 0 | bool sendok__; |
6772 | 0 | { |
6773 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_MimeType"); |
6774 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6775 | 0 | } |
6776 | 0 | if ((!(sendok__))) { |
6777 | 0 | return false; |
6778 | 0 | } |
6779 | 0 | |
6780 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6781 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6782 | 0 | } |
6783 | 0 |
|
6784 | 0 | PickleIterator iter__(reply__); |
6785 | 0 |
|
6786 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aMime)))) { |
6787 | 0 | FatalError("Error deserializing 'nsString'"); |
6788 | 0 | return false; |
6789 | 0 | } |
6790 | 0 | // Sentinel = 'aMime' |
6791 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4202017388)))) { |
6792 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6793 | 0 | return false; |
6794 | 0 | } |
6795 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6796 | 0 |
|
6797 | 0 | return true; |
6798 | 0 | } |
6799 | | |
6800 | | auto PDocAccessibleParent::SendURLDocTypeMimeType( |
6801 | | const uint64_t& aID, |
6802 | | nsString* aURL, |
6803 | | nsString* aDocType, |
6804 | | nsString* aMimeType) -> bool |
6805 | 0 | { |
6806 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_URLDocTypeMimeType(Id()); |
6807 | 0 |
|
6808 | 0 | WriteIPDLParam(msg__, this, aID); |
6809 | 0 | // Sentinel = 'aID' |
6810 | 0 | (msg__)->WriteSentinel(2735041849); |
6811 | 0 |
|
6812 | 0 |
|
6813 | 0 |
|
6814 | 0 | Message reply__; |
6815 | 0 |
|
6816 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6817 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6818 | 0 | } |
6819 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_URLDocTypeMimeType", OTHER); |
6820 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6821 | 0 | mozilla::ipc::LogicError("Transition error"); |
6822 | 0 | } |
6823 | 0 |
|
6824 | 0 | bool sendok__; |
6825 | 0 | { |
6826 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_URLDocTypeMimeType"); |
6827 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6828 | 0 | } |
6829 | 0 | if ((!(sendok__))) { |
6830 | 0 | return false; |
6831 | 0 | } |
6832 | 0 | |
6833 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6834 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6835 | 0 | } |
6836 | 0 |
|
6837 | 0 | PickleIterator iter__(reply__); |
6838 | 0 |
|
6839 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aURL)))) { |
6840 | 0 | FatalError("Error deserializing 'nsString'"); |
6841 | 0 | return false; |
6842 | 0 | } |
6843 | 0 | // Sentinel = 'aURL' |
6844 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2075506328)))) { |
6845 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6846 | 0 | return false; |
6847 | 0 | } |
6848 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aDocType)))) { |
6849 | 0 | FatalError("Error deserializing 'nsString'"); |
6850 | 0 | return false; |
6851 | 0 | } |
6852 | 0 | // Sentinel = 'aDocType' |
6853 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1438909565)))) { |
6854 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6855 | 0 | return false; |
6856 | 0 | } |
6857 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aMimeType)))) { |
6858 | 0 | FatalError("Error deserializing 'nsString'"); |
6859 | 0 | return false; |
6860 | 0 | } |
6861 | 0 | // Sentinel = 'aMimeType' |
6862 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 698220456)))) { |
6863 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
6864 | 0 | return false; |
6865 | 0 | } |
6866 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6867 | 0 |
|
6868 | 0 | return true; |
6869 | 0 | } |
6870 | | |
6871 | | auto PDocAccessibleParent::SendAccessibleAtPoint( |
6872 | | const uint64_t& aID, |
6873 | | const int32_t& aX, |
6874 | | const int32_t& aY, |
6875 | | const bool& aNeedsScreenCoords, |
6876 | | const uint32_t& aWhich, |
6877 | | uint64_t* aResult, |
6878 | | bool* aOk) -> bool |
6879 | 0 | { |
6880 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_AccessibleAtPoint(Id()); |
6881 | 0 |
|
6882 | 0 | WriteIPDLParam(msg__, this, aID); |
6883 | 0 | // Sentinel = 'aID' |
6884 | 0 | (msg__)->WriteSentinel(2735041849); |
6885 | 0 | WriteIPDLParam(msg__, this, aX); |
6886 | 0 | // Sentinel = 'aX' |
6887 | 0 | (msg__)->WriteSentinel(2745208761); |
6888 | 0 | WriteIPDLParam(msg__, this, aY); |
6889 | 0 | // Sentinel = 'aY' |
6890 | 0 | (msg__)->WriteSentinel(2745208760); |
6891 | 0 | WriteIPDLParam(msg__, this, aNeedsScreenCoords); |
6892 | 0 | // Sentinel = 'aNeedsScreenCoords' |
6893 | 0 | (msg__)->WriteSentinel(276215016); |
6894 | 0 | WriteIPDLParam(msg__, this, aWhich); |
6895 | 0 | // Sentinel = 'aWhich' |
6896 | 0 | (msg__)->WriteSentinel(3864211546); |
6897 | 0 |
|
6898 | 0 |
|
6899 | 0 |
|
6900 | 0 | Message reply__; |
6901 | 0 |
|
6902 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6903 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6904 | 0 | } |
6905 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_AccessibleAtPoint", OTHER); |
6906 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6907 | 0 | mozilla::ipc::LogicError("Transition error"); |
6908 | 0 | } |
6909 | 0 |
|
6910 | 0 | bool sendok__; |
6911 | 0 | { |
6912 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_AccessibleAtPoint"); |
6913 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6914 | 0 | } |
6915 | 0 | if ((!(sendok__))) { |
6916 | 0 | return false; |
6917 | 0 | } |
6918 | 0 | |
6919 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6920 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6921 | 0 | } |
6922 | 0 |
|
6923 | 0 | PickleIterator iter__(reply__); |
6924 | 0 |
|
6925 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aResult)))) { |
6926 | 0 | FatalError("Error deserializing 'uint64_t'"); |
6927 | 0 | return false; |
6928 | 0 | } |
6929 | 0 | // Sentinel = 'aResult' |
6930 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3888726089)))) { |
6931 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
6932 | 0 | return false; |
6933 | 0 | } |
6934 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aOk)))) { |
6935 | 0 | FatalError("Error deserializing 'bool'"); |
6936 | 0 | return false; |
6937 | 0 | } |
6938 | 0 | // Sentinel = 'aOk' |
6939 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2737042028)))) { |
6940 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
6941 | 0 | return false; |
6942 | 0 | } |
6943 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
6944 | 0 |
|
6945 | 0 | return true; |
6946 | 0 | } |
6947 | | |
6948 | | auto PDocAccessibleParent::SendExtents( |
6949 | | const uint64_t& aID, |
6950 | | const bool& aNeedsScreenCoords, |
6951 | | int32_t* aX, |
6952 | | int32_t* aY, |
6953 | | int32_t* aWidth, |
6954 | | int32_t* aHeight) -> bool |
6955 | 0 | { |
6956 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_Extents(Id()); |
6957 | 0 |
|
6958 | 0 | WriteIPDLParam(msg__, this, aID); |
6959 | 0 | // Sentinel = 'aID' |
6960 | 0 | (msg__)->WriteSentinel(2735041849); |
6961 | 0 | WriteIPDLParam(msg__, this, aNeedsScreenCoords); |
6962 | 0 | // Sentinel = 'aNeedsScreenCoords' |
6963 | 0 | (msg__)->WriteSentinel(276215016); |
6964 | 0 |
|
6965 | 0 |
|
6966 | 0 |
|
6967 | 0 | Message reply__; |
6968 | 0 |
|
6969 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6970 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
6971 | 0 | } |
6972 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Extents", OTHER); |
6973 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
6974 | 0 | mozilla::ipc::LogicError("Transition error"); |
6975 | 0 | } |
6976 | 0 |
|
6977 | 0 | bool sendok__; |
6978 | 0 | { |
6979 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_Extents"); |
6980 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
6981 | 0 | } |
6982 | 0 | if ((!(sendok__))) { |
6983 | 0 | return false; |
6984 | 0 | } |
6985 | 0 | |
6986 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
6987 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
6988 | 0 | } |
6989 | 0 |
|
6990 | 0 | PickleIterator iter__(reply__); |
6991 | 0 |
|
6992 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aX)))) { |
6993 | 0 | FatalError("Error deserializing 'int32_t'"); |
6994 | 0 | return false; |
6995 | 0 | } |
6996 | 0 | // Sentinel = 'aX' |
6997 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
6998 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
6999 | 0 | return false; |
7000 | 0 | } |
7001 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aY)))) { |
7002 | 0 | FatalError("Error deserializing 'int32_t'"); |
7003 | 0 | return false; |
7004 | 0 | } |
7005 | 0 | // Sentinel = 'aY' |
7006 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
7007 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7008 | 0 | return false; |
7009 | 0 | } |
7010 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aWidth)))) { |
7011 | 0 | FatalError("Error deserializing 'int32_t'"); |
7012 | 0 | return false; |
7013 | 0 | } |
7014 | 0 | // Sentinel = 'aWidth' |
7015 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 196646625)))) { |
7016 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7017 | 0 | return false; |
7018 | 0 | } |
7019 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aHeight)))) { |
7020 | 0 | FatalError("Error deserializing 'int32_t'"); |
7021 | 0 | return false; |
7022 | 0 | } |
7023 | 0 | // Sentinel = 'aHeight' |
7024 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3588433859)))) { |
7025 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7026 | 0 | return false; |
7027 | 0 | } |
7028 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
7029 | 0 |
|
7030 | 0 | return true; |
7031 | 0 | } |
7032 | | |
7033 | | auto PDocAccessibleParent::SendExtentsInCSSPixels( |
7034 | | const uint64_t& aID, |
7035 | | int32_t* aX, |
7036 | | int32_t* aY, |
7037 | | int32_t* aWidth, |
7038 | | int32_t* aHeight) -> bool |
7039 | 0 | { |
7040 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_ExtentsInCSSPixels(Id()); |
7041 | 0 |
|
7042 | 0 | WriteIPDLParam(msg__, this, aID); |
7043 | 0 | // Sentinel = 'aID' |
7044 | 0 | (msg__)->WriteSentinel(2735041849); |
7045 | 0 |
|
7046 | 0 |
|
7047 | 0 |
|
7048 | 0 | Message reply__; |
7049 | 0 |
|
7050 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7051 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
7052 | 0 | } |
7053 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ExtentsInCSSPixels", OTHER); |
7054 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7055 | 0 | mozilla::ipc::LogicError("Transition error"); |
7056 | 0 | } |
7057 | 0 |
|
7058 | 0 | bool sendok__; |
7059 | 0 | { |
7060 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_ExtentsInCSSPixels"); |
7061 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
7062 | 0 | } |
7063 | 0 | if ((!(sendok__))) { |
7064 | 0 | return false; |
7065 | 0 | } |
7066 | 0 | |
7067 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7068 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7069 | 0 | } |
7070 | 0 |
|
7071 | 0 | PickleIterator iter__(reply__); |
7072 | 0 |
|
7073 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aX)))) { |
7074 | 0 | FatalError("Error deserializing 'int32_t'"); |
7075 | 0 | return false; |
7076 | 0 | } |
7077 | 0 | // Sentinel = 'aX' |
7078 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2745208761)))) { |
7079 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7080 | 0 | return false; |
7081 | 0 | } |
7082 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aY)))) { |
7083 | 0 | FatalError("Error deserializing 'int32_t'"); |
7084 | 0 | return false; |
7085 | 0 | } |
7086 | 0 | // Sentinel = 'aY' |
7087 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2745208760)))) { |
7088 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7089 | 0 | return false; |
7090 | 0 | } |
7091 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aWidth)))) { |
7092 | 0 | FatalError("Error deserializing 'int32_t'"); |
7093 | 0 | return false; |
7094 | 0 | } |
7095 | 0 | // Sentinel = 'aWidth' |
7096 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 196646625)))) { |
7097 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7098 | 0 | return false; |
7099 | 0 | } |
7100 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aHeight)))) { |
7101 | 0 | FatalError("Error deserializing 'int32_t'"); |
7102 | 0 | return false; |
7103 | 0 | } |
7104 | 0 | // Sentinel = 'aHeight' |
7105 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3588433859)))) { |
7106 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7107 | 0 | return false; |
7108 | 0 | } |
7109 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
7110 | 0 |
|
7111 | 0 | return true; |
7112 | 0 | } |
7113 | | |
7114 | | auto PDocAccessibleParent::SendDOMNodeID( |
7115 | | const uint64_t& aID, |
7116 | | nsString* aDOMNodeID) -> bool |
7117 | 0 | { |
7118 | 0 | IPC::Message* msg__ = PDocAccessible::Msg_DOMNodeID(Id()); |
7119 | 0 |
|
7120 | 0 | WriteIPDLParam(msg__, this, aID); |
7121 | 0 | // Sentinel = 'aID' |
7122 | 0 | (msg__)->WriteSentinel(2735041849); |
7123 | 0 |
|
7124 | 0 |
|
7125 | 0 |
|
7126 | 0 | Message reply__; |
7127 | 0 |
|
7128 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7129 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending); |
7130 | 0 | } |
7131 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_DOMNodeID", OTHER); |
7132 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7133 | 0 | mozilla::ipc::LogicError("Transition error"); |
7134 | 0 | } |
7135 | 0 |
|
7136 | 0 | bool sendok__; |
7137 | 0 | { |
7138 | 0 | AUTO_PROFILER_TRACING("IPC", "PDocAccessible::Msg_DOMNodeID"); |
7139 | 0 | sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__))); |
7140 | 0 | } |
7141 | 0 | if ((!(sendok__))) { |
7142 | 0 | return false; |
7143 | 0 | } |
7144 | 0 | |
7145 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7146 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7147 | 0 | } |
7148 | 0 |
|
7149 | 0 | PickleIterator iter__(reply__); |
7150 | 0 |
|
7151 | 0 | if ((!(ReadIPDLParam((&(reply__)), (&(iter__)), this, aDOMNodeID)))) { |
7152 | 0 | FatalError("Error deserializing 'nsString'"); |
7153 | 0 | return false; |
7154 | 0 | } |
7155 | 0 | // Sentinel = 'aDOMNodeID' |
7156 | 0 | if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 572881094)))) { |
7157 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
7158 | 0 | return false; |
7159 | 0 | } |
7160 | 0 | (reply__).EndRead(iter__, (reply__).type()); |
7161 | 0 |
|
7162 | 0 | return true; |
7163 | 0 | } |
7164 | | |
7165 | | auto PDocAccessibleParent::RemoveManagee( |
7166 | | int32_t aProtocolId, |
7167 | | IProtocol* aListener) -> void |
7168 | 0 | { |
7169 | 0 | FatalError("unreached"); |
7170 | 0 | return; |
7171 | 0 | } |
7172 | | |
7173 | | auto PDocAccessibleParent::OnMessageReceived(const Message& msg__) -> PDocAccessibleParent::Result |
7174 | 0 | { |
7175 | 0 | switch ((msg__).type()) { |
7176 | 0 | case PDocAccessible::Msg_Shutdown__ID: |
7177 | 0 | { |
7178 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7179 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7180 | 0 | } |
7181 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Shutdown", OTHER); |
7182 | 0 |
|
7183 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7184 | 0 | FatalError("Transition error"); |
7185 | 0 | return MsgValueError; |
7186 | 0 | } |
7187 | 0 | if ((!(RecvShutdown()))) { |
7188 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7189 | 0 | // Error handled in mozilla::ipc::IPCResult |
7190 | 0 | return MsgProcessingError; |
7191 | 0 | } |
7192 | 0 | |
7193 | 0 | return MsgProcessed; |
7194 | 0 | } |
7195 | 0 | case PDocAccessible::Msg_Event__ID: |
7196 | 0 | { |
7197 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7198 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7199 | 0 | } |
7200 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_Event", OTHER); |
7201 | 0 |
|
7202 | 0 | PickleIterator iter__(msg__); |
7203 | 0 | uint64_t aID; |
7204 | 0 | uint32_t type; |
7205 | 0 |
|
7206 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7207 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7208 | 0 | return MsgValueError; |
7209 | 0 | } |
7210 | 0 | // Sentinel = 'aID' |
7211 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7212 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7213 | 0 | return MsgValueError; |
7214 | 0 | } |
7215 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(type)))))) { |
7216 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7217 | 0 | return MsgValueError; |
7218 | 0 | } |
7219 | 0 | // Sentinel = 'type' |
7220 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2982068540)))) { |
7221 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7222 | 0 | return MsgValueError; |
7223 | 0 | } |
7224 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7225 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7226 | 0 | FatalError("Transition error"); |
7227 | 0 | return MsgValueError; |
7228 | 0 | } |
7229 | 0 | if ((!(RecvEvent(aID, type)))) { |
7230 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7231 | 0 | // Error handled in mozilla::ipc::IPCResult |
7232 | 0 | return MsgProcessingError; |
7233 | 0 | } |
7234 | 0 | |
7235 | 0 | return MsgProcessed; |
7236 | 0 | } |
7237 | 0 | case PDocAccessible::Msg_ShowEvent__ID: |
7238 | 0 | { |
7239 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7240 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7241 | 0 | } |
7242 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ShowEvent", OTHER); |
7243 | 0 |
|
7244 | 0 | PickleIterator iter__(msg__); |
7245 | 0 | ShowEventData data; |
7246 | 0 | bool aFromuser; |
7247 | 0 |
|
7248 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(data)))))) { |
7249 | 0 | FatalError("Error deserializing 'ShowEventData'"); |
7250 | 0 | return MsgValueError; |
7251 | 0 | } |
7252 | 0 | // Sentinel = 'data' |
7253 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 843352540)))) { |
7254 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'ShowEventData'"); |
7255 | 0 | return MsgValueError; |
7256 | 0 | } |
7257 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aFromuser)))))) { |
7258 | 0 | FatalError("Error deserializing 'bool'"); |
7259 | 0 | return MsgValueError; |
7260 | 0 | } |
7261 | 0 | // Sentinel = 'aFromuser' |
7262 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3160995885)))) { |
7263 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7264 | 0 | return MsgValueError; |
7265 | 0 | } |
7266 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7267 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7268 | 0 | FatalError("Transition error"); |
7269 | 0 | return MsgValueError; |
7270 | 0 | } |
7271 | 0 | if ((!(RecvShowEvent(data, aFromuser)))) { |
7272 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7273 | 0 | // Error handled in mozilla::ipc::IPCResult |
7274 | 0 | return MsgProcessingError; |
7275 | 0 | } |
7276 | 0 | |
7277 | 0 | return MsgProcessed; |
7278 | 0 | } |
7279 | 0 | case PDocAccessible::Msg_HideEvent__ID: |
7280 | 0 | { |
7281 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7282 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7283 | 0 | } |
7284 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_HideEvent", OTHER); |
7285 | 0 |
|
7286 | 0 | PickleIterator iter__(msg__); |
7287 | 0 | uint64_t aRootID; |
7288 | 0 | bool aFromUser; |
7289 | 0 |
|
7290 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRootID)))))) { |
7291 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7292 | 0 | return MsgValueError; |
7293 | 0 | } |
7294 | 0 | // Sentinel = 'aRootID' |
7295 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2354475633)))) { |
7296 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7297 | 0 | return MsgValueError; |
7298 | 0 | } |
7299 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aFromUser)))))) { |
7300 | 0 | FatalError("Error deserializing 'bool'"); |
7301 | 0 | return MsgValueError; |
7302 | 0 | } |
7303 | 0 | // Sentinel = 'aFromUser' |
7304 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 526185101)))) { |
7305 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7306 | 0 | return MsgValueError; |
7307 | 0 | } |
7308 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7309 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7310 | 0 | FatalError("Transition error"); |
7311 | 0 | return MsgValueError; |
7312 | 0 | } |
7313 | 0 | if ((!(RecvHideEvent(aRootID, aFromUser)))) { |
7314 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7315 | 0 | // Error handled in mozilla::ipc::IPCResult |
7316 | 0 | return MsgProcessingError; |
7317 | 0 | } |
7318 | 0 | |
7319 | 0 | return MsgProcessed; |
7320 | 0 | } |
7321 | 0 | case PDocAccessible::Msg_StateChangeEvent__ID: |
7322 | 0 | { |
7323 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7324 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7325 | 0 | } |
7326 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_StateChangeEvent", OTHER); |
7327 | 0 |
|
7328 | 0 | PickleIterator iter__(msg__); |
7329 | 0 | uint64_t aID; |
7330 | 0 | uint64_t aState; |
7331 | 0 | bool aEnabled; |
7332 | 0 |
|
7333 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7334 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7335 | 0 | return MsgValueError; |
7336 | 0 | } |
7337 | 0 | // Sentinel = 'aID' |
7338 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7339 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7340 | 0 | return MsgValueError; |
7341 | 0 | } |
7342 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aState)))))) { |
7343 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7344 | 0 | return MsgValueError; |
7345 | 0 | } |
7346 | 0 | // Sentinel = 'aState' |
7347 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3694751962)))) { |
7348 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7349 | 0 | return MsgValueError; |
7350 | 0 | } |
7351 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEnabled)))))) { |
7352 | 0 | FatalError("Error deserializing 'bool'"); |
7353 | 0 | return MsgValueError; |
7354 | 0 | } |
7355 | 0 | // Sentinel = 'aEnabled' |
7356 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2225039408)))) { |
7357 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7358 | 0 | return MsgValueError; |
7359 | 0 | } |
7360 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7361 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7362 | 0 | FatalError("Transition error"); |
7363 | 0 | return MsgValueError; |
7364 | 0 | } |
7365 | 0 | if ((!(RecvStateChangeEvent(aID, aState, aEnabled)))) { |
7366 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7367 | 0 | // Error handled in mozilla::ipc::IPCResult |
7368 | 0 | return MsgProcessingError; |
7369 | 0 | } |
7370 | 0 | |
7371 | 0 | return MsgProcessed; |
7372 | 0 | } |
7373 | 0 | case PDocAccessible::Msg_CaretMoveEvent__ID: |
7374 | 0 | { |
7375 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7376 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7377 | 0 | } |
7378 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_CaretMoveEvent", OTHER); |
7379 | 0 |
|
7380 | 0 | PickleIterator iter__(msg__); |
7381 | 0 | uint64_t aID; |
7382 | 0 | int32_t aOffset; |
7383 | 0 |
|
7384 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7385 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7386 | 0 | return MsgValueError; |
7387 | 0 | } |
7388 | 0 | // Sentinel = 'aID' |
7389 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7390 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7391 | 0 | return MsgValueError; |
7392 | 0 | } |
7393 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOffset)))))) { |
7394 | 0 | FatalError("Error deserializing 'int32_t'"); |
7395 | 0 | return MsgValueError; |
7396 | 0 | } |
7397 | 0 | // Sentinel = 'aOffset' |
7398 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) { |
7399 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7400 | 0 | return MsgValueError; |
7401 | 0 | } |
7402 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7403 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7404 | 0 | FatalError("Transition error"); |
7405 | 0 | return MsgValueError; |
7406 | 0 | } |
7407 | 0 | if ((!(RecvCaretMoveEvent(aID, aOffset)))) { |
7408 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7409 | 0 | // Error handled in mozilla::ipc::IPCResult |
7410 | 0 | return MsgProcessingError; |
7411 | 0 | } |
7412 | 0 | |
7413 | 0 | return MsgProcessed; |
7414 | 0 | } |
7415 | 0 | case PDocAccessible::Msg_TextChangeEvent__ID: |
7416 | 0 | { |
7417 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7418 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7419 | 0 | } |
7420 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_TextChangeEvent", OTHER); |
7421 | 0 |
|
7422 | 0 | PickleIterator iter__(msg__); |
7423 | 0 | uint64_t aID; |
7424 | 0 | nsString aStr; |
7425 | 0 | int32_t aStart; |
7426 | 0 | uint32_t aLen; |
7427 | 0 | bool aIsInsert; |
7428 | 0 | bool aFromUser; |
7429 | 0 |
|
7430 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7431 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7432 | 0 | return MsgValueError; |
7433 | 0 | } |
7434 | 0 | // Sentinel = 'aID' |
7435 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7436 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7437 | 0 | return MsgValueError; |
7438 | 0 | } |
7439 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStr)))))) { |
7440 | 0 | FatalError("Error deserializing 'nsString'"); |
7441 | 0 | return MsgValueError; |
7442 | 0 | } |
7443 | 0 | // Sentinel = 'aStr' |
7444 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2114818906)))) { |
7445 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'nsString'"); |
7446 | 0 | return MsgValueError; |
7447 | 0 | } |
7448 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStart)))))) { |
7449 | 0 | FatalError("Error deserializing 'int32_t'"); |
7450 | 0 | return MsgValueError; |
7451 | 0 | } |
7452 | 0 | // Sentinel = 'aStart' |
7453 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3696751949)))) { |
7454 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7455 | 0 | return MsgValueError; |
7456 | 0 | } |
7457 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aLen)))))) { |
7458 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7459 | 0 | return MsgValueError; |
7460 | 0 | } |
7461 | 0 | // Sentinel = 'aLen' |
7462 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2715198354)))) { |
7463 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7464 | 0 | return MsgValueError; |
7465 | 0 | } |
7466 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aIsInsert)))))) { |
7467 | 0 | FatalError("Error deserializing 'bool'"); |
7468 | 0 | return MsgValueError; |
7469 | 0 | } |
7470 | 0 | // Sentinel = 'aIsInsert' |
7471 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 659069939)))) { |
7472 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7473 | 0 | return MsgValueError; |
7474 | 0 | } |
7475 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aFromUser)))))) { |
7476 | 0 | FatalError("Error deserializing 'bool'"); |
7477 | 0 | return MsgValueError; |
7478 | 0 | } |
7479 | 0 | // Sentinel = 'aFromUser' |
7480 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 526185101)))) { |
7481 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7482 | 0 | return MsgValueError; |
7483 | 0 | } |
7484 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7485 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7486 | 0 | FatalError("Transition error"); |
7487 | 0 | return MsgValueError; |
7488 | 0 | } |
7489 | 0 | if ((!(RecvTextChangeEvent(aID, aStr, aStart, aLen, aIsInsert, aFromUser)))) { |
7490 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7491 | 0 | // Error handled in mozilla::ipc::IPCResult |
7492 | 0 | return MsgProcessingError; |
7493 | 0 | } |
7494 | 0 | |
7495 | 0 | return MsgProcessed; |
7496 | 0 | } |
7497 | 0 | case PDocAccessible::Msg_SelectionEvent__ID: |
7498 | 0 | { |
7499 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7500 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7501 | 0 | } |
7502 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_SelectionEvent", OTHER); |
7503 | 0 |
|
7504 | 0 | PickleIterator iter__(msg__); |
7505 | 0 | uint64_t aID; |
7506 | 0 | uint64_t aWidgetID; |
7507 | 0 | uint32_t aType; |
7508 | 0 |
|
7509 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7510 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7511 | 0 | return MsgValueError; |
7512 | 0 | } |
7513 | 0 | // Sentinel = 'aID' |
7514 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7515 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7516 | 0 | return MsgValueError; |
7517 | 0 | } |
7518 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aWidgetID)))))) { |
7519 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7520 | 0 | return MsgValueError; |
7521 | 0 | } |
7522 | 0 | // Sentinel = 'aWidgetID' |
7523 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3308517459)))) { |
7524 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7525 | 0 | return MsgValueError; |
7526 | 0 | } |
7527 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aType)))))) { |
7528 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7529 | 0 | return MsgValueError; |
7530 | 0 | } |
7531 | 0 | // Sentinel = 'aType' |
7532 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) { |
7533 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7534 | 0 | return MsgValueError; |
7535 | 0 | } |
7536 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7537 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7538 | 0 | FatalError("Transition error"); |
7539 | 0 | return MsgValueError; |
7540 | 0 | } |
7541 | 0 | if ((!(RecvSelectionEvent(aID, aWidgetID, aType)))) { |
7542 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7543 | 0 | // Error handled in mozilla::ipc::IPCResult |
7544 | 0 | return MsgProcessingError; |
7545 | 0 | } |
7546 | 0 | |
7547 | 0 | return MsgProcessed; |
7548 | 0 | } |
7549 | 0 | case PDocAccessible::Msg_RoleChangedEvent__ID: |
7550 | 0 | { |
7551 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7552 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7553 | 0 | } |
7554 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_RoleChangedEvent", OTHER); |
7555 | 0 |
|
7556 | 0 | PickleIterator iter__(msg__); |
7557 | 0 | role aRole; |
7558 | 0 |
|
7559 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aRole)))))) { |
7560 | 0 | FatalError("Error deserializing 'role'"); |
7561 | 0 | return MsgValueError; |
7562 | 0 | } |
7563 | 0 | // Sentinel = 'aRole' |
7564 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 985916136)))) { |
7565 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'role'"); |
7566 | 0 | return MsgValueError; |
7567 | 0 | } |
7568 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7569 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7570 | 0 | FatalError("Transition error"); |
7571 | 0 | return MsgValueError; |
7572 | 0 | } |
7573 | 0 | if ((!(RecvRoleChangedEvent(aRole)))) { |
7574 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7575 | 0 | // Error handled in mozilla::ipc::IPCResult |
7576 | 0 | return MsgProcessingError; |
7577 | 0 | } |
7578 | 0 | |
7579 | 0 | return MsgProcessed; |
7580 | 0 | } |
7581 | 0 | case PDocAccessible::Msg_VirtualCursorChangeEvent__ID: |
7582 | 0 | { |
7583 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7584 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7585 | 0 | } |
7586 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_VirtualCursorChangeEvent", OTHER); |
7587 | 0 |
|
7588 | 0 | PickleIterator iter__(msg__); |
7589 | 0 | uint64_t aID; |
7590 | 0 | uint64_t aOldPosition; |
7591 | 0 | int32_t aOldStartOffset; |
7592 | 0 | int32_t aOldEndOffset; |
7593 | 0 | uint64_t aPosition; |
7594 | 0 | int32_t aStartOffset; |
7595 | 0 | int32_t aEndOffset; |
7596 | 0 | int16_t aReason; |
7597 | 0 | int16_t aBoundaryType; |
7598 | 0 | bool aFromUservcEvent; |
7599 | 0 |
|
7600 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7601 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7602 | 0 | return MsgValueError; |
7603 | 0 | } |
7604 | 0 | // Sentinel = 'aID' |
7605 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7606 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7607 | 0 | return MsgValueError; |
7608 | 0 | } |
7609 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOldPosition)))))) { |
7610 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7611 | 0 | return MsgValueError; |
7612 | 0 | } |
7613 | 0 | // Sentinel = 'aOldPosition' |
7614 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3595446289)))) { |
7615 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7616 | 0 | return MsgValueError; |
7617 | 0 | } |
7618 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOldStartOffset)))))) { |
7619 | 0 | FatalError("Error deserializing 'int32_t'"); |
7620 | 0 | return MsgValueError; |
7621 | 0 | } |
7622 | 0 | // Sentinel = 'aOldStartOffset' |
7623 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4257762598)))) { |
7624 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7625 | 0 | return MsgValueError; |
7626 | 0 | } |
7627 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aOldEndOffset)))))) { |
7628 | 0 | FatalError("Error deserializing 'int32_t'"); |
7629 | 0 | return MsgValueError; |
7630 | 0 | } |
7631 | 0 | // Sentinel = 'aOldEndOffset' |
7632 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2881231711)))) { |
7633 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7634 | 0 | return MsgValueError; |
7635 | 0 | } |
7636 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aPosition)))))) { |
7637 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7638 | 0 | return MsgValueError; |
7639 | 0 | } |
7640 | 0 | // Sentinel = 'aPosition' |
7641 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2753958473)))) { |
7642 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7643 | 0 | return MsgValueError; |
7644 | 0 | } |
7645 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aStartOffset)))))) { |
7646 | 0 | FatalError("Error deserializing 'int32_t'"); |
7647 | 0 | return MsgValueError; |
7648 | 0 | } |
7649 | 0 | // Sentinel = 'aStartOffset' |
7650 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1066059254)))) { |
7651 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7652 | 0 | return MsgValueError; |
7653 | 0 | } |
7654 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aEndOffset)))))) { |
7655 | 0 | FatalError("Error deserializing 'int32_t'"); |
7656 | 0 | return MsgValueError; |
7657 | 0 | } |
7658 | 0 | // Sentinel = 'aEndOffset' |
7659 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2439813419)))) { |
7660 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'"); |
7661 | 0 | return MsgValueError; |
7662 | 0 | } |
7663 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aReason)))))) { |
7664 | 0 | FatalError("Error deserializing 'int16_t'"); |
7665 | 0 | return MsgValueError; |
7666 | 0 | } |
7667 | 0 | // Sentinel = 'aReason' |
7668 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 829905706)))) { |
7669 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int16_t'"); |
7670 | 0 | return MsgValueError; |
7671 | 0 | } |
7672 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aBoundaryType)))))) { |
7673 | 0 | FatalError("Error deserializing 'int16_t'"); |
7674 | 0 | return MsgValueError; |
7675 | 0 | } |
7676 | 0 | // Sentinel = 'aBoundaryType' |
7677 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1823260482)))) { |
7678 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'int16_t'"); |
7679 | 0 | return MsgValueError; |
7680 | 0 | } |
7681 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aFromUservcEvent)))))) { |
7682 | 0 | FatalError("Error deserializing 'bool'"); |
7683 | 0 | return MsgValueError; |
7684 | 0 | } |
7685 | 0 | // Sentinel = 'aFromUservcEvent' |
7686 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 888350935)))) { |
7687 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bool'"); |
7688 | 0 | return MsgValueError; |
7689 | 0 | } |
7690 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7691 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7692 | 0 | FatalError("Transition error"); |
7693 | 0 | return MsgValueError; |
7694 | 0 | } |
7695 | 0 | if ((!(RecvVirtualCursorChangeEvent(aID, aOldPosition, aOldStartOffset, aOldEndOffset, aPosition, aStartOffset, aEndOffset, aReason, aBoundaryType, aFromUservcEvent)))) { |
7696 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7697 | 0 | // Error handled in mozilla::ipc::IPCResult |
7698 | 0 | return MsgProcessingError; |
7699 | 0 | } |
7700 | 0 | |
7701 | 0 | return MsgProcessed; |
7702 | 0 | } |
7703 | 0 | case PDocAccessible::Msg_ScrollingEvent__ID: |
7704 | 0 | { |
7705 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7706 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7707 | 0 | } |
7708 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_ScrollingEvent", OTHER); |
7709 | 0 |
|
7710 | 0 | PickleIterator iter__(msg__); |
7711 | 0 | uint64_t aID; |
7712 | 0 | uint64_t aType; |
7713 | 0 | uint32_t aScrollX; |
7714 | 0 | uint32_t aScrollY; |
7715 | 0 | uint32_t aMaxScrollX; |
7716 | 0 | uint32_t aMaxScrollY; |
7717 | 0 |
|
7718 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7719 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7720 | 0 | return MsgValueError; |
7721 | 0 | } |
7722 | 0 | // Sentinel = 'aID' |
7723 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7724 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7725 | 0 | return MsgValueError; |
7726 | 0 | } |
7727 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aType)))))) { |
7728 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7729 | 0 | return MsgValueError; |
7730 | 0 | } |
7731 | 0 | // Sentinel = 'aType' |
7732 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) { |
7733 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7734 | 0 | return MsgValueError; |
7735 | 0 | } |
7736 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aScrollX)))))) { |
7737 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7738 | 0 | return MsgValueError; |
7739 | 0 | } |
7740 | 0 | // Sentinel = 'aScrollX' |
7741 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3337677706)))) { |
7742 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7743 | 0 | return MsgValueError; |
7744 | 0 | } |
7745 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aScrollY)))))) { |
7746 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7747 | 0 | return MsgValueError; |
7748 | 0 | } |
7749 | 0 | // Sentinel = 'aScrollY' |
7750 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3337677707)))) { |
7751 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7752 | 0 | return MsgValueError; |
7753 | 0 | } |
7754 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aMaxScrollX)))))) { |
7755 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7756 | 0 | return MsgValueError; |
7757 | 0 | } |
7758 | 0 | // Sentinel = 'aMaxScrollX' |
7759 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3082106721)))) { |
7760 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7761 | 0 | return MsgValueError; |
7762 | 0 | } |
7763 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aMaxScrollY)))))) { |
7764 | 0 | FatalError("Error deserializing 'uint32_t'"); |
7765 | 0 | return MsgValueError; |
7766 | 0 | } |
7767 | 0 | // Sentinel = 'aMaxScrollY' |
7768 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3082106720)))) { |
7769 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'"); |
7770 | 0 | return MsgValueError; |
7771 | 0 | } |
7772 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7773 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7774 | 0 | FatalError("Transition error"); |
7775 | 0 | return MsgValueError; |
7776 | 0 | } |
7777 | 0 | if ((!(RecvScrollingEvent(aID, aType, aScrollX, aScrollY, aMaxScrollX, aMaxScrollY)))) { |
7778 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7779 | 0 | // Error handled in mozilla::ipc::IPCResult |
7780 | 0 | return MsgProcessingError; |
7781 | 0 | } |
7782 | 0 | |
7783 | 0 | return MsgProcessed; |
7784 | 0 | } |
7785 | 0 | case PDocAccessible::Msg_BindChildDoc__ID: |
7786 | 0 | { |
7787 | 0 | if (mozilla::ipc::LoggingEnabledFor("PDocAccessibleParent")) { |
7788 | 0 | mozilla::ipc::LogMessageForProtocol("PDocAccessibleParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving); |
7789 | 0 | } |
7790 | 0 | AUTO_PROFILER_LABEL("PDocAccessible::Msg_BindChildDoc", OTHER); |
7791 | 0 |
|
7792 | 0 | PickleIterator iter__(msg__); |
7793 | 0 | PDocAccessibleParent* aChildDoc; |
7794 | 0 | uint64_t aID; |
7795 | 0 |
|
7796 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aChildDoc)))))) { |
7797 | 0 | FatalError("Error deserializing 'PDocAccessibleParent'"); |
7798 | 0 | return MsgValueError; |
7799 | 0 | } |
7800 | 0 | if ((!((*((&(aChildDoc))))))) { |
7801 | 0 | FatalError("Error deserializing 'PDocAccessibleParent'"); |
7802 | 0 | return MsgValueError; |
7803 | 0 | } |
7804 | 0 | // Sentinel = 'aChildDoc' |
7805 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3137363820)))) { |
7806 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'PDocAccessibleParent'"); |
7807 | 0 | return MsgValueError; |
7808 | 0 | } |
7809 | 0 | if ((!(ReadIPDLParam((&(msg__)), (&(iter__)), this, (&(aID)))))) { |
7810 | 0 | FatalError("Error deserializing 'uint64_t'"); |
7811 | 0 | return MsgValueError; |
7812 | 0 | } |
7813 | 0 | // Sentinel = 'aID' |
7814 | 0 | if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) { |
7815 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'"); |
7816 | 0 | return MsgValueError; |
7817 | 0 | } |
7818 | 0 | (msg__).EndRead(iter__, (msg__).type()); |
7819 | 0 | if ((!(StateTransition(false, (&(mLivenessState)))))) { |
7820 | 0 | FatalError("Transition error"); |
7821 | 0 | return MsgValueError; |
7822 | 0 | } |
7823 | 0 | if ((!(RecvBindChildDoc(aChildDoc, aID)))) { |
7824 | 0 | mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!"); |
7825 | 0 | // Error handled in mozilla::ipc::IPCResult |
7826 | 0 | return MsgProcessingError; |
7827 | 0 | } |
7828 | 0 | |
7829 | 0 | return MsgProcessed; |
7830 | 0 | } |
7831 | 0 | case PDocAccessible::Reply___delete____ID: |
7832 | 0 | { |
7833 | 0 | return MsgProcessed; |
7834 | 0 | } |
7835 | 0 | default: |
7836 | 0 | { |
7837 | 0 | return MsgNotKnown; |
7838 | 0 | } |
7839 | 0 | } |
7840 | 0 | } |
7841 | | |
7842 | | auto PDocAccessibleParent::OnMessageReceived( |
7843 | | const Message& msg__, |
7844 | | Message*& reply__) -> PDocAccessibleParent::Result |
7845 | 0 | { |
7846 | 0 | return MsgNotKnown; |
7847 | 0 | } |
7848 | | |
7849 | | auto PDocAccessibleParent::OnCallReceived( |
7850 | | const Message& msg__, |
7851 | | Message*& reply__) -> PDocAccessibleParent::Result |
7852 | 0 | { |
7853 | 0 | MOZ_ASSERT_UNREACHABLE("message protocol not supported"); |
7854 | 0 | return MsgNotKnown; |
7855 | 0 | } |
7856 | | |
7857 | | auto PDocAccessibleParent::GetProtocolTypeId() -> int32_t |
7858 | 0 | { |
7859 | 0 | return PDocAccessibleMsgStart; |
7860 | 0 | } |
7861 | | |
7862 | | auto PDocAccessibleParent::DestroySubtree(ActorDestroyReason why) -> void |
7863 | 0 | { |
7864 | 0 | // Unregister from our manager. |
7865 | 0 | Unregister(Id()); |
7866 | 0 |
|
7867 | 0 | // Reject owning pending responses. |
7868 | 0 | (GetIPCChannel())->RejectPendingResponsesForActor(this); |
7869 | 0 |
|
7870 | 0 | // Finally, destroy "us". |
7871 | 0 | ActorDestroy(why); |
7872 | 0 | } |
7873 | | |
7874 | | auto PDocAccessibleParent::DeallocSubtree() -> void |
7875 | 0 | { |
7876 | 0 | } |
7877 | | |
7878 | | |
7879 | | |
7880 | | } // namespace a11y |
7881 | | } // namespace mozilla |
7882 | | namespace mozilla { |
7883 | | namespace ipc { |
7884 | | auto IPDLParamTraits<mozilla::a11y::PDocAccessibleParent>::Write( |
7885 | | IPC::Message* aMsg, |
7886 | | mozilla::ipc::IProtocol* aActor, |
7887 | | const paramType& aVar) -> void |
7888 | 0 | { |
7889 | 0 | int32_t id; |
7890 | 0 | if ((!(aVar))) { |
7891 | 0 | id = 0; |
7892 | 0 | } |
7893 | 0 | else { |
7894 | 0 | id = (aVar)->Id(); |
7895 | 0 | if ((1) == (id)) { |
7896 | 0 | (aActor)->FatalError("actor has been |delete|d"); |
7897 | 0 | } |
7898 | 0 | } |
7899 | 0 | WriteIPDLParam(aMsg, aActor, id); |
7900 | 0 | } |
7901 | | |
7902 | | auto IPDLParamTraits<mozilla::a11y::PDocAccessibleParent>::Read( |
7903 | | const IPC::Message* aMsg, |
7904 | | PickleIterator* aIter, |
7905 | | mozilla::ipc::IProtocol* aActor, |
7906 | | paramType* aVar) -> bool |
7907 | 0 | { |
7908 | 0 | mozilla::Maybe<mozilla::ipc::IProtocol*> actor = (aActor)->ReadActor(aMsg, aIter, true, "PDocAccessible", PDocAccessibleMsgStart); |
7909 | 0 | if ((actor).isNothing()) { |
7910 | 0 | return false; |
7911 | 0 | } |
7912 | 0 | |
7913 | 0 | (*(aVar)) = static_cast<mozilla::a11y::PDocAccessibleParent*>((actor).value()); |
7914 | 0 | return true; |
7915 | 0 | } |
7916 | | |
7917 | | } // namespace ipc |
7918 | | } // namespace mozilla |