1 | /* |
2 | * Copyright (C) 2010-2018 Apple Inc. All rights reserved. |
3 | * |
4 | * Redistribution and use in source and binary forms, with or without |
5 | * modification, are permitted provided that the following conditions |
6 | * are met: |
7 | * 1. Redistributions of source code must retain the above copyright |
8 | * notice, this list of conditions and the following disclaimer. |
9 | * 2. Redistributions in binary form must reproduce the above copyright |
10 | * notice, this list of conditions and the following disclaimer in the |
11 | * documentation and/or other materials provided with the distribution. |
12 | * |
13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND |
14 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
15 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
16 | * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR |
17 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
18 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
19 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
20 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
21 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
22 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ |
24 | |
25 | #include "config.h" |
26 | |
27 | #include "WebPageProxy.h" |
28 | |
29 | #include "ArgumentCoders.h" |
30 | #if PLATFORM(MAC) |
31 | #include "AttributedString.h" |
32 | #endif |
33 | #include "CallbackID.h" |
34 | #if ENABLE(CONTEXT_MENUS) |
35 | #include "ContextMenuContextData.h" |
36 | #endif |
37 | #if ENABLE(DATA_DETECTION) |
38 | #include "DataDetectionResult.h" |
39 | #endif |
40 | #include "DataReference.h" |
41 | #include "Decoder.h" |
42 | #include "DownloadID.h" |
43 | #include "EditingRange.h" |
44 | #include "EditorState.h" |
45 | #if PLATFORM(IOS_FAMILY) |
46 | #include "FocusedElementInformation.h" |
47 | #endif |
48 | #include "FormDataReference.h" |
49 | #include "FrameInfoData.h" |
50 | #include "HandleMessage.h" |
51 | #if PLATFORM(IOS_FAMILY) |
52 | #include "InteractionInformationAtPosition.h" |
53 | #endif |
54 | #include "NavigationActionData.h" |
55 | #if ENABLE(PDFKIT_PLUGIN) |
56 | #include "PDFContextMenu.h" |
57 | #endif |
58 | #include "PlatformPopupMenuData.h" |
59 | #if USE(QUICK_LOOK) |
60 | #include "QuickLookDocumentData.h" |
61 | #endif |
62 | #include "SandboxExtension.h" |
63 | #include "SessionState.h" |
64 | #include "ShareableBitmap.h" |
65 | #include "SharedBufferDataReference.h" |
66 | #if PLATFORM(IOS_FAMILY) || PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT) |
67 | #include "SharedMemory.h" |
68 | #endif |
69 | #if PLATFORM(COCOA) |
70 | #include "TouchBarMenuData.h" |
71 | #endif |
72 | #if PLATFORM(COCOA) |
73 | #include "TouchBarMenuItemData.h" |
74 | #endif |
75 | #include "URLSchemeTaskParameters.h" |
76 | #include "UndoOrRedo.h" |
77 | #include "UserData.h" |
78 | #if PLATFORM(IOS_FAMILY) |
79 | #include "WebAutocorrectionContext.h" |
80 | #endif |
81 | #include "WebCoreArgumentCoders.h" |
82 | #include "WebHitTestResultData.h" |
83 | #include "WebNavigationDataStore.h" |
84 | #include "WebPageCreationParameters.h" |
85 | #include "WebPageProxyMessages.h" |
86 | #include "WebPopupItem.h" |
87 | #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) |
88 | #include "WebSelectionData.h" |
89 | #endif |
90 | #if ENABLE(SPEECH_SYNTHESIS) |
91 | #include "WebSpeechSynthesisVoice.h" |
92 | #endif |
93 | #include "WebsitePoliciesData.h" |
94 | #include <JavaScriptCore/InspectorTarget.h> |
95 | #if PLATFORM(IOS_FAMILY) |
96 | #include <WebCore/ActivityState.h> |
97 | #endif |
98 | #if ENABLE(APPLICATION_MANIFEST) |
99 | #include <WebCore/ApplicationManifest.h> |
100 | #endif |
101 | #if PLATFORM(IOS_FAMILY) |
102 | #include <WebCore/AudioSession.h> |
103 | #endif |
104 | #include <WebCore/AutoplayEvent.h> |
105 | #include <WebCore/BackForwardItemIdentifier.h> |
106 | #include <WebCore/CertificateInfo.h> |
107 | #include <WebCore/Color.h> |
108 | #if ENABLE(CONTENT_FILTERING) |
109 | #include <WebCore/ContentFilterUnblockHandler.h> |
110 | #endif |
111 | #include <WebCore/ContentRuleListResults.h> |
112 | #if !PLATFORM(IOS_FAMILY) |
113 | #include <WebCore/Cursor.h> |
114 | #endif |
115 | #include <WebCore/DOMPasteAccess.h> |
116 | #if ENABLE(DATALIST_ELEMENT) |
117 | #include <WebCore/DataListSuggestionInformation.h> |
118 | #endif |
119 | #if ENABLE(DEVICE_ORIENTATION) |
120 | #include <WebCore/DeviceOrientationOrMotionPermissionState.h> |
121 | #endif |
122 | #include <WebCore/DiagnosticLoggingClient.h> |
123 | #if PLATFORM(COCOA) |
124 | #include <WebCore/DictionaryPopupInfo.h> |
125 | #endif |
126 | #if ENABLE(DRAG_SUPPORT) |
127 | #include <WebCore/DragActions.h> |
128 | #endif |
129 | #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT) |
130 | #include <WebCore/DragItem.h> |
131 | #endif |
132 | #include <WebCore/FileChooser.h> |
133 | #if PLATFORM(IOS_FAMILY) |
134 | #include <WebCore/FloatPoint.h> |
135 | #endif |
136 | #if PLATFORM(IOS_FAMILY) |
137 | #include <WebCore/FloatQuad.h> |
138 | #endif |
139 | #include <WebCore/FloatRect.h> |
140 | #include <WebCore/FontAttributes.h> |
141 | #include <WebCore/FrameLoaderTypes.h> |
142 | #include <WebCore/GlobalWindowIdentifier.h> |
143 | #if PLATFORM(IOS_FAMILY) |
144 | #include <WebCore/InputMode.h> |
145 | #endif |
146 | #if PLATFORM(IOS_FAMILY) |
147 | #include <WebCore/InspectorOverlay.h> |
148 | #endif |
149 | #include <WebCore/IntPoint.h> |
150 | #include <WebCore/IntRect.h> |
151 | #include <WebCore/IntSize.h> |
152 | #include <WebCore/JSDOMExceptionHandling.h> |
153 | #include <WebCore/LayoutMilestone.h> |
154 | #include <WebCore/LinkIcon.h> |
155 | #if ENABLE(MEDIA_SESSION) |
156 | #include <WebCore/MediaSessionMetadata.h> |
157 | #endif |
158 | #if ENABLE(MEDIA_STREAM) |
159 | #include <WebCore/MediaStreamRequest.h> |
160 | #endif |
161 | #include <WebCore/NotificationDirection.h> |
162 | #include <WebCore/RectEdges.h> |
163 | #include <WebCore/ResourceError.h> |
164 | #include <WebCore/ResourceRequest.h> |
165 | #include <WebCore/ResourceResponse.h> |
166 | #include <WebCore/SearchPopupMenu.h> |
167 | #include <WebCore/SecurityOriginData.h> |
168 | #if ENABLE(ATTACHMENT_ELEMENT) |
169 | #include <WebCore/SerializedAttachmentData.h> |
170 | #endif |
171 | #include <WebCore/ShareData.h> |
172 | #include <WebCore/TextCheckerClient.h> |
173 | #include <WebCore/TextChecking.h> |
174 | #include <WebCore/TextIndicator.h> |
175 | #include <WebCore/ViewportArguments.h> |
176 | #include <WebCore/WindowFeatures.h> |
177 | #include <utility> |
178 | #if PLATFORM(COCOA) |
179 | #include <wtf/MachSendRight.h> |
180 | #endif |
181 | #include <wtf/MonotonicTime.h> |
182 | #include <wtf/OptionSet.h> |
183 | #include <wtf/Optional.h> |
184 | #include <wtf/Vector.h> |
185 | #include <wtf/text/WTFString.h> |
186 | |
187 | namespace Messages { |
188 | |
189 | namespace WebPageProxy { |
190 | |
191 | void CreateNewPage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint64_t newPageID, const Optional<WebKit::WebPageCreationParameters>& newPageParameters) |
192 | { |
193 | *encoder << newPageID; |
194 | *encoder << newPageParameters; |
195 | connection.sendSyncReply(WTFMove(encoder)); |
196 | } |
197 | |
198 | void RunJavaScriptAlert::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
199 | { |
200 | connection.sendSyncReply(WTFMove(encoder)); |
201 | } |
202 | |
203 | void RunJavaScriptConfirm::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool result) |
204 | { |
205 | *encoder << result; |
206 | connection.sendSyncReply(WTFMove(encoder)); |
207 | } |
208 | |
209 | void RunJavaScriptPrompt::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const String& result) |
210 | { |
211 | *encoder << result; |
212 | connection.sendSyncReply(WTFMove(encoder)); |
213 | } |
214 | |
215 | #if ENABLE(WEBGL) |
216 | |
217 | void WebGLPolicyForURL::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint32_t loadPolicy) |
218 | { |
219 | *encoder << loadPolicy; |
220 | connection.sendSyncReply(WTFMove(encoder)); |
221 | } |
222 | |
223 | #endif |
224 | |
225 | #if ENABLE(WEBGL) |
226 | |
227 | void ResolveWebGLPolicyForURL::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint32_t loadPolicy) |
228 | { |
229 | *encoder << loadPolicy; |
230 | connection.sendSyncReply(WTFMove(encoder)); |
231 | } |
232 | |
233 | #endif |
234 | |
235 | void GetToolbarsAreVisible::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool toolbarsAreVisible) |
236 | { |
237 | *encoder << toolbarsAreVisible; |
238 | connection.sendSyncReply(WTFMove(encoder)); |
239 | } |
240 | |
241 | void GetMenuBarIsVisible::(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool ) |
242 | { |
243 | *encoder << menuBarIsVisible; |
244 | connection.sendSyncReply(WTFMove(encoder)); |
245 | } |
246 | |
247 | void GetStatusBarIsVisible::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool statusBarIsVisible) |
248 | { |
249 | *encoder << statusBarIsVisible; |
250 | connection.sendSyncReply(WTFMove(encoder)); |
251 | } |
252 | |
253 | void GetWindowFrame::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::FloatRect& windowFrame) |
254 | { |
255 | *encoder << windowFrame; |
256 | connection.sendSyncReply(WTFMove(encoder)); |
257 | } |
258 | |
259 | void ScreenToRootView::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::IntPoint& windowPoint) |
260 | { |
261 | *encoder << windowPoint; |
262 | connection.sendSyncReply(WTFMove(encoder)); |
263 | } |
264 | |
265 | void RootViewToScreen::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::IntRect& screenFrame) |
266 | { |
267 | *encoder << screenFrame; |
268 | connection.sendSyncReply(WTFMove(encoder)); |
269 | } |
270 | |
271 | void AccessibilityScreenToRootView::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::IntPoint& windowPoint) |
272 | { |
273 | *encoder << windowPoint; |
274 | connection.sendSyncReply(WTFMove(encoder)); |
275 | } |
276 | |
277 | void RootViewToAccessibilityScreen::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::IntRect& screenFrame) |
278 | { |
279 | *encoder << screenFrame; |
280 | connection.sendSyncReply(WTFMove(encoder)); |
281 | } |
282 | |
283 | void RunBeforeUnloadConfirmPanel::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool shouldClose) |
284 | { |
285 | *encoder << shouldClose; |
286 | connection.sendSyncReply(WTFMove(encoder)); |
287 | } |
288 | |
289 | void PrintFrame::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
290 | { |
291 | connection.sendSyncReply(WTFMove(encoder)); |
292 | } |
293 | |
294 | void DecidePolicyForNavigationActionSync::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::PolicyCheckIdentifier& policyCheckIdentifier, WebCore::PolicyAction policyAction, uint64_t newNavigationID, const WebKit::DownloadID& downloadID, const Optional<WebKit::WebsitePoliciesData>& websitePolicies) |
295 | { |
296 | *encoder << policyCheckIdentifier; |
297 | *encoder << policyAction; |
298 | *encoder << newNavigationID; |
299 | *encoder << downloadID; |
300 | *encoder << websitePolicies; |
301 | connection.sendSyncReply(WTFMove(encoder)); |
302 | } |
303 | |
304 | void HasInsecureContent::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, WebCore::HasInsecureContent hasInsecureContent) |
305 | { |
306 | *encoder << hasInsecureContent; |
307 | connection.sendSyncReply(WTFMove(encoder)); |
308 | } |
309 | |
310 | #if PLATFORM(IOS_FAMILY) |
311 | |
312 | void InterpretKeyEvent::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool handled) |
313 | { |
314 | *encoder << handled; |
315 | connection.sendSyncReply(WTFMove(encoder)); |
316 | } |
317 | |
318 | #endif |
319 | |
320 | void BackForwardGoToItem::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebKit::SandboxExtension::Handle& sandboxExtensionHandle) |
321 | { |
322 | *encoder << sandboxExtensionHandle; |
323 | connection.sendSyncReply(WTFMove(encoder)); |
324 | } |
325 | |
326 | void BackForwardItemAtIndex::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Optional<WebCore::BackForwardItemIdentifier>& itemID) |
327 | { |
328 | *encoder << itemID; |
329 | connection.sendSyncReply(WTFMove(encoder)); |
330 | } |
331 | |
332 | void BackForwardBackListCount::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint32_t count) |
333 | { |
334 | *encoder << count; |
335 | connection.sendSyncReply(WTFMove(encoder)); |
336 | } |
337 | |
338 | void BackForwardForwardListCount::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint32_t count) |
339 | { |
340 | *encoder << count; |
341 | connection.sendSyncReply(WTFMove(encoder)); |
342 | } |
343 | |
344 | void CanUndoRedo::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool result) |
345 | { |
346 | *encoder << result; |
347 | connection.sendSyncReply(WTFMove(encoder)); |
348 | } |
349 | |
350 | void ExecuteUndoRedo::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
351 | { |
352 | connection.sendSyncReply(WTFMove(encoder)); |
353 | } |
354 | |
355 | void RequestDOMPasteAccess::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, WebCore::DOMPasteAccessResponse response) |
356 | { |
357 | *encoder << response; |
358 | connection.sendSyncReply(WTFMove(encoder)); |
359 | } |
360 | |
361 | void ExceededDatabaseQuota::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint64_t newQuota) |
362 | { |
363 | *encoder << newQuota; |
364 | connection.sendSyncReply(WTFMove(encoder)); |
365 | } |
366 | |
367 | void ReachedApplicationCacheOriginQuota::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint64_t newQuota) |
368 | { |
369 | *encoder << newQuota; |
370 | connection.sendSyncReply(WTFMove(encoder)); |
371 | } |
372 | |
373 | #if USE(UNIFIED_TEXT_CHECKING) |
374 | |
375 | void CheckTextOfParagraph::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<WebCore::TextCheckingResult>& results) |
376 | { |
377 | *encoder << results; |
378 | connection.sendSyncReply(WTFMove(encoder)); |
379 | } |
380 | |
381 | #endif |
382 | |
383 | void CheckSpellingOfString::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, int32_t misspellingLocation, int32_t misspellingLength) |
384 | { |
385 | *encoder << misspellingLocation; |
386 | *encoder << misspellingLength; |
387 | connection.sendSyncReply(WTFMove(encoder)); |
388 | } |
389 | |
390 | void CheckGrammarOfString::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<WebCore::GrammarDetail>& results, int32_t badGrammarLocation, int32_t badGrammarLength) |
391 | { |
392 | *encoder << results; |
393 | *encoder << badGrammarLocation; |
394 | *encoder << badGrammarLength; |
395 | connection.sendSyncReply(WTFMove(encoder)); |
396 | } |
397 | |
398 | void SpellingUIIsShowing::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool isShowing) |
399 | { |
400 | *encoder << isShowing; |
401 | connection.sendSyncReply(WTFMove(encoder)); |
402 | } |
403 | |
404 | void GetGuessesForWord::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<String>& guesses) |
405 | { |
406 | *encoder << guesses; |
407 | connection.sendSyncReply(WTFMove(encoder)); |
408 | } |
409 | |
410 | #if PLATFORM(COCOA) |
411 | |
412 | void ExecuteSavedCommandBySelector::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool handled) |
413 | { |
414 | *encoder << handled; |
415 | connection.sendSyncReply(WTFMove(encoder)); |
416 | } |
417 | |
418 | #endif |
419 | |
420 | #if PLATFORM(COCOA) |
421 | |
422 | void GetIsSpeaking::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool isSpeaking) |
423 | { |
424 | *encoder << isSpeaking; |
425 | connection.sendSyncReply(WTFMove(encoder)); |
426 | } |
427 | |
428 | #endif |
429 | |
430 | #if USE(APPKIT) |
431 | |
432 | void SubstitutionsPanelIsShowing::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool isShowing) |
433 | { |
434 | *encoder << isShowing; |
435 | connection.sendSyncReply(WTFMove(encoder)); |
436 | } |
437 | |
438 | #endif |
439 | |
440 | #if PLATFORM(MAC) |
441 | |
442 | void DismissCorrectionPanelSoon::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const String& result) |
443 | { |
444 | *encoder << result; |
445 | connection.sendSyncReply(WTFMove(encoder)); |
446 | } |
447 | |
448 | #endif |
449 | |
450 | #if USE(DICTATION_ALTERNATIVES) |
451 | |
452 | void DictationAlternatives::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<String>& alternatives) |
453 | { |
454 | *encoder << alternatives; |
455 | connection.sendSyncReply(WTFMove(encoder)); |
456 | } |
457 | |
458 | #endif |
459 | |
460 | #if PLATFORM(X11) |
461 | |
462 | void CreatePluginContainer::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint64_t windowID) |
463 | { |
464 | *encoder << windowID; |
465 | connection.sendSyncReply(WTFMove(encoder)); |
466 | } |
467 | |
468 | #endif |
469 | |
470 | void LoadRecentSearches::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<WebCore::RecentSearch>& result) |
471 | { |
472 | *encoder << result; |
473 | connection.sendSyncReply(WTFMove(encoder)); |
474 | } |
475 | |
476 | #if ENABLE(PDFKIT_PLUGIN) |
477 | |
478 | void ShowPDFContextMenu::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Optional<int32_t>& selectedItem) |
479 | { |
480 | *encoder << selectedItem; |
481 | connection.sendSyncReply(WTFMove(encoder)); |
482 | } |
483 | |
484 | #endif |
485 | |
486 | #if ENABLE(NETSCAPE_PLUGIN_API) |
487 | |
488 | void FindPlugin::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint64_t pluginProcessToken, const String& newMIMEType, uint32_t pluginLoadPolicy, const String& unavailabilityDescription, bool isUnsupported) |
489 | { |
490 | *encoder << pluginProcessToken; |
491 | *encoder << newMIMEType; |
492 | *encoder << pluginLoadPolicy; |
493 | *encoder << unavailabilityDescription; |
494 | *encoder << isUnsupported; |
495 | connection.sendSyncReply(WTFMove(encoder)); |
496 | } |
497 | |
498 | #endif |
499 | |
500 | #if ENABLE(WEB_CRYPTO) |
501 | |
502 | void WrapCryptoKey::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool succeeded, const Vector<uint8_t>& wrappedKey) |
503 | { |
504 | *encoder << succeeded; |
505 | *encoder << wrappedKey; |
506 | connection.sendSyncReply(WTFMove(encoder)); |
507 | } |
508 | |
509 | #endif |
510 | |
511 | #if ENABLE(WEB_CRYPTO) |
512 | |
513 | void UnwrapCryptoKey::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, bool succeeded, const Vector<uint8_t>& key) |
514 | { |
515 | *encoder << succeeded; |
516 | *encoder << key; |
517 | connection.sendSyncReply(WTFMove(encoder)); |
518 | } |
519 | |
520 | #endif |
521 | |
522 | void HandleSynchronousMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebKit::UserData& returnData) |
523 | { |
524 | *encoder << returnData; |
525 | connection.sendSyncReply(WTFMove(encoder)); |
526 | } |
527 | |
528 | void LoadSynchronousURLSchemeTask::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const WebCore::ResourceResponse& response, const WebCore::ResourceError& error, const IPC::DataReference& data) |
529 | { |
530 | *encoder << response; |
531 | *encoder << error; |
532 | *encoder << data; |
533 | connection.sendSyncReply(WTFMove(encoder)); |
534 | } |
535 | |
536 | #if ENABLE(DEVICE_ORIENTATION) |
537 | |
538 | void ShouldAllowDeviceOrientationAndMotionAccess::callReply(IPC::Decoder& decoder, CompletionHandler<void(WebCore::DeviceOrientationOrMotionPermissionState&&)>&& completionHandler) |
539 | { |
540 | Optional<WebCore::DeviceOrientationOrMotionPermissionState> permissionState; |
541 | decoder >> permissionState; |
542 | if (!permissionState) { |
543 | ASSERT_NOT_REACHED(); |
544 | return; |
545 | } |
546 | completionHandler(WTFMove(*permissionState)); |
547 | } |
548 | |
549 | void ShouldAllowDeviceOrientationAndMotionAccess::cancelReply(CompletionHandler<void(WebCore::DeviceOrientationOrMotionPermissionState&&)>&& completionHandler) |
550 | { |
551 | completionHandler({ }); |
552 | } |
553 | |
554 | void ShouldAllowDeviceOrientationAndMotionAccess::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, WebCore::DeviceOrientationOrMotionPermissionState permissionState) |
555 | { |
556 | *encoder << permissionState; |
557 | connection.sendSyncReply(WTFMove(encoder)); |
558 | } |
559 | |
560 | #endif |
561 | |
562 | #if ENABLE(ATTACHMENT_ELEMENT) |
563 | |
564 | void SerializedAttachmentDataForIdentifiers::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<WebCore::SerializedAttachmentData>& seralizedData) |
565 | { |
566 | *encoder << seralizedData; |
567 | connection.sendSyncReply(WTFMove(encoder)); |
568 | } |
569 | |
570 | #endif |
571 | |
572 | void SignedPublicKeyAndChallengeString::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const String& result) |
573 | { |
574 | *encoder << result; |
575 | connection.sendSyncReply(WTFMove(encoder)); |
576 | } |
577 | |
578 | #if ENABLE(SPEECH_SYNTHESIS) |
579 | |
580 | void SpeechSynthesisVoiceList::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Vector<WebKit::WebSpeechSynthesisVoice>& voiceList) |
581 | { |
582 | *encoder << voiceList; |
583 | connection.sendSyncReply(WTFMove(encoder)); |
584 | } |
585 | |
586 | #endif |
587 | |
588 | #if ENABLE(SPEECH_SYNTHESIS) |
589 | |
590 | void SpeechSynthesisSpeak::callReply(IPC::Decoder& decoder, CompletionHandler<void()>&& completionHandler) |
591 | { |
592 | completionHandler(); |
593 | } |
594 | |
595 | void SpeechSynthesisSpeak::cancelReply(CompletionHandler<void()>&& completionHandler) |
596 | { |
597 | completionHandler(); |
598 | } |
599 | |
600 | void SpeechSynthesisSpeak::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
601 | { |
602 | connection.sendSyncReply(WTFMove(encoder)); |
603 | } |
604 | |
605 | #endif |
606 | |
607 | #if ENABLE(SPEECH_SYNTHESIS) |
608 | |
609 | void SpeechSynthesisPause::callReply(IPC::Decoder& decoder, CompletionHandler<void()>&& completionHandler) |
610 | { |
611 | completionHandler(); |
612 | } |
613 | |
614 | void SpeechSynthesisPause::cancelReply(CompletionHandler<void()>&& completionHandler) |
615 | { |
616 | completionHandler(); |
617 | } |
618 | |
619 | void SpeechSynthesisPause::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
620 | { |
621 | connection.sendSyncReply(WTFMove(encoder)); |
622 | } |
623 | |
624 | #endif |
625 | |
626 | #if ENABLE(SPEECH_SYNTHESIS) |
627 | |
628 | void SpeechSynthesisResume::callReply(IPC::Decoder& decoder, CompletionHandler<void()>&& completionHandler) |
629 | { |
630 | completionHandler(); |
631 | } |
632 | |
633 | void SpeechSynthesisResume::cancelReply(CompletionHandler<void()>&& completionHandler) |
634 | { |
635 | completionHandler(); |
636 | } |
637 | |
638 | void SpeechSynthesisResume::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection) |
639 | { |
640 | connection.sendSyncReply(WTFMove(encoder)); |
641 | } |
642 | |
643 | #endif |
644 | |
645 | #if PLATFORM(GTK) |
646 | |
647 | void ShowEmojiPicker::callReply(IPC::Decoder& decoder, CompletionHandler<void(String&&)>&& completionHandler) |
648 | { |
649 | Optional<String> result; |
650 | decoder >> result; |
651 | if (!result) { |
652 | ASSERT_NOT_REACHED(); |
653 | return; |
654 | } |
655 | completionHandler(WTFMove(*result)); |
656 | } |
657 | |
658 | void ShowEmojiPicker::cancelReply(CompletionHandler<void(String&&)>&& completionHandler) |
659 | { |
660 | completionHandler({ }); |
661 | } |
662 | |
663 | void ShowEmojiPicker::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const String& result) |
664 | { |
665 | *encoder << result; |
666 | connection.sendSyncReply(WTFMove(encoder)); |
667 | } |
668 | |
669 | #endif |
670 | |
671 | } // namespace WebPageProxy |
672 | |
673 | } // namespace Messages |
674 | |
675 | namespace WebKit { |
676 | |
677 | void WebPageProxy::didReceiveMessage(IPC::Connection& connection, IPC::Decoder& decoder) |
678 | { |
679 | if (decoder.messageName() == Messages::WebPageProxy::ShowPage::name()) { |
680 | IPC::handleMessage<Messages::WebPageProxy::ShowPage>(decoder, this, &WebPageProxy::showPage); |
681 | return; |
682 | } |
683 | if (decoder.messageName() == Messages::WebPageProxy::ClosePage::name()) { |
684 | IPC::handleMessage<Messages::WebPageProxy::ClosePage>(decoder, this, &WebPageProxy::closePage); |
685 | return; |
686 | } |
687 | if (decoder.messageName() == Messages::WebPageProxy::MouseDidMoveOverElement::name()) { |
688 | IPC::handleMessage<Messages::WebPageProxy::MouseDidMoveOverElement>(decoder, this, &WebPageProxy::mouseDidMoveOverElement); |
689 | return; |
690 | } |
691 | #if ENABLE(NETSCAPE_PLUGIN_API) |
692 | if (decoder.messageName() == Messages::WebPageProxy::UnavailablePluginButtonClicked::name()) { |
693 | IPC::handleMessage<Messages::WebPageProxy::UnavailablePluginButtonClicked>(decoder, this, &WebPageProxy::unavailablePluginButtonClicked); |
694 | return; |
695 | } |
696 | #endif |
697 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeViewportProperties::name()) { |
698 | IPC::handleMessage<Messages::WebPageProxy::DidChangeViewportProperties>(decoder, this, &WebPageProxy::didChangeViewportProperties); |
699 | return; |
700 | } |
701 | if (decoder.messageName() == Messages::WebPageProxy::DidReceiveEvent::name()) { |
702 | IPC::handleMessage<Messages::WebPageProxy::DidReceiveEvent>(decoder, this, &WebPageProxy::didReceiveEvent); |
703 | return; |
704 | } |
705 | #if !PLATFORM(IOS_FAMILY) |
706 | if (decoder.messageName() == Messages::WebPageProxy::SetCursor::name()) { |
707 | IPC::handleMessage<Messages::WebPageProxy::SetCursor>(decoder, this, &WebPageProxy::setCursor); |
708 | return; |
709 | } |
710 | #endif |
711 | #if !PLATFORM(IOS_FAMILY) |
712 | if (decoder.messageName() == Messages::WebPageProxy::SetCursorHiddenUntilMouseMoves::name()) { |
713 | IPC::handleMessage<Messages::WebPageProxy::SetCursorHiddenUntilMouseMoves>(decoder, this, &WebPageProxy::setCursorHiddenUntilMouseMoves); |
714 | return; |
715 | } |
716 | #endif |
717 | if (decoder.messageName() == Messages::WebPageProxy::SetStatusText::name()) { |
718 | IPC::handleMessage<Messages::WebPageProxy::SetStatusText>(decoder, this, &WebPageProxy::setStatusText); |
719 | return; |
720 | } |
721 | if (decoder.messageName() == Messages::WebPageProxy::SetToolTip::name()) { |
722 | IPC::handleMessage<Messages::WebPageProxy::SetToolTip>(decoder, this, &WebPageProxy::setToolTip); |
723 | return; |
724 | } |
725 | if (decoder.messageName() == Messages::WebPageProxy::SetFocus::name()) { |
726 | IPC::handleMessage<Messages::WebPageProxy::SetFocus>(decoder, this, &WebPageProxy::setFocus); |
727 | return; |
728 | } |
729 | if (decoder.messageName() == Messages::WebPageProxy::TakeFocus::name()) { |
730 | IPC::handleMessage<Messages::WebPageProxy::TakeFocus>(decoder, this, &WebPageProxy::takeFocus); |
731 | return; |
732 | } |
733 | if (decoder.messageName() == Messages::WebPageProxy::FocusedFrameChanged::name()) { |
734 | IPC::handleMessage<Messages::WebPageProxy::FocusedFrameChanged>(decoder, this, &WebPageProxy::focusedFrameChanged); |
735 | return; |
736 | } |
737 | if (decoder.messageName() == Messages::WebPageProxy::FrameSetLargestFrameChanged::name()) { |
738 | IPC::handleMessage<Messages::WebPageProxy::FrameSetLargestFrameChanged>(decoder, this, &WebPageProxy::frameSetLargestFrameChanged); |
739 | return; |
740 | } |
741 | if (decoder.messageName() == Messages::WebPageProxy::SetRenderTreeSize::name()) { |
742 | IPC::handleMessage<Messages::WebPageProxy::SetRenderTreeSize>(decoder, this, &WebPageProxy::setRenderTreeSize); |
743 | return; |
744 | } |
745 | if (decoder.messageName() == Messages::WebPageProxy::SetToolbarsAreVisible::name()) { |
746 | IPC::handleMessage<Messages::WebPageProxy::SetToolbarsAreVisible>(decoder, this, &WebPageProxy::setToolbarsAreVisible); |
747 | return; |
748 | } |
749 | if (decoder.messageName() == Messages::WebPageProxy::SetMenuBarIsVisible::name()) { |
750 | IPC::handleMessage<Messages::WebPageProxy::SetMenuBarIsVisible>(decoder, this, &WebPageProxy::setMenuBarIsVisible); |
751 | return; |
752 | } |
753 | if (decoder.messageName() == Messages::WebPageProxy::SetStatusBarIsVisible::name()) { |
754 | IPC::handleMessage<Messages::WebPageProxy::SetStatusBarIsVisible>(decoder, this, &WebPageProxy::setStatusBarIsVisible); |
755 | return; |
756 | } |
757 | if (decoder.messageName() == Messages::WebPageProxy::SetIsResizable::name()) { |
758 | IPC::handleMessage<Messages::WebPageProxy::SetIsResizable>(decoder, this, &WebPageProxy::setIsResizable); |
759 | return; |
760 | } |
761 | if (decoder.messageName() == Messages::WebPageProxy::SetWindowFrame::name()) { |
762 | IPC::handleMessage<Messages::WebPageProxy::SetWindowFrame>(decoder, this, &WebPageProxy::setWindowFrame); |
763 | return; |
764 | } |
765 | #if PLATFORM(COCOA) |
766 | if (decoder.messageName() == Messages::WebPageProxy::ShowValidationMessage::name()) { |
767 | IPC::handleMessage<Messages::WebPageProxy::ShowValidationMessage>(decoder, this, &WebPageProxy::showValidationMessage); |
768 | return; |
769 | } |
770 | #endif |
771 | #if PLATFORM(COCOA) |
772 | if (decoder.messageName() == Messages::WebPageProxy::HideValidationMessage::name()) { |
773 | IPC::handleMessage<Messages::WebPageProxy::HideValidationMessage>(decoder, this, &WebPageProxy::hideValidationMessage); |
774 | return; |
775 | } |
776 | #endif |
777 | if (decoder.messageName() == Messages::WebPageProxy::PageDidScroll::name()) { |
778 | IPC::handleMessage<Messages::WebPageProxy::PageDidScroll>(decoder, this, &WebPageProxy::pageDidScroll); |
779 | return; |
780 | } |
781 | if (decoder.messageName() == Messages::WebPageProxy::RunOpenPanel::name()) { |
782 | IPC::handleMessage<Messages::WebPageProxy::RunOpenPanel>(decoder, this, &WebPageProxy::runOpenPanel); |
783 | return; |
784 | } |
785 | if (decoder.messageName() == Messages::WebPageProxy::ShowShareSheet::name()) { |
786 | IPC::handleMessage<Messages::WebPageProxy::ShowShareSheet>(decoder, this, &WebPageProxy::showShareSheet); |
787 | return; |
788 | } |
789 | if (decoder.messageName() == Messages::WebPageProxy::RunModal::name()) { |
790 | IPC::handleMessage<Messages::WebPageProxy::RunModal>(decoder, this, &WebPageProxy::runModal); |
791 | return; |
792 | } |
793 | if (decoder.messageName() == Messages::WebPageProxy::NotifyScrollerThumbIsVisibleInRect::name()) { |
794 | IPC::handleMessage<Messages::WebPageProxy::NotifyScrollerThumbIsVisibleInRect>(decoder, this, &WebPageProxy::notifyScrollerThumbIsVisibleInRect); |
795 | return; |
796 | } |
797 | if (decoder.messageName() == Messages::WebPageProxy::RecommendedScrollbarStyleDidChange::name()) { |
798 | IPC::handleMessage<Messages::WebPageProxy::RecommendedScrollbarStyleDidChange>(decoder, this, &WebPageProxy::recommendedScrollbarStyleDidChange); |
799 | return; |
800 | } |
801 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeScrollbarsForMainFrame::name()) { |
802 | IPC::handleMessage<Messages::WebPageProxy::DidChangeScrollbarsForMainFrame>(decoder, this, &WebPageProxy::didChangeScrollbarsForMainFrame); |
803 | return; |
804 | } |
805 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeScrollOffsetPinningForMainFrame::name()) { |
806 | IPC::handleMessage<Messages::WebPageProxy::DidChangeScrollOffsetPinningForMainFrame>(decoder, this, &WebPageProxy::didChangeScrollOffsetPinningForMainFrame); |
807 | return; |
808 | } |
809 | if (decoder.messageName() == Messages::WebPageProxy::DidChangePageCount::name()) { |
810 | IPC::handleMessage<Messages::WebPageProxy::DidChangePageCount>(decoder, this, &WebPageProxy::didChangePageCount); |
811 | return; |
812 | } |
813 | if (decoder.messageName() == Messages::WebPageProxy::PageExtendedBackgroundColorDidChange::name()) { |
814 | IPC::handleMessage<Messages::WebPageProxy::PageExtendedBackgroundColorDidChange>(decoder, this, &WebPageProxy::pageExtendedBackgroundColorDidChange); |
815 | return; |
816 | } |
817 | #if ENABLE(NETSCAPE_PLUGIN_API) |
818 | if (decoder.messageName() == Messages::WebPageProxy::DidFailToInitializePlugin::name()) { |
819 | IPC::handleMessage<Messages::WebPageProxy::DidFailToInitializePlugin>(decoder, this, &WebPageProxy::didFailToInitializePlugin); |
820 | return; |
821 | } |
822 | #endif |
823 | #if ENABLE(NETSCAPE_PLUGIN_API) |
824 | if (decoder.messageName() == Messages::WebPageProxy::DidBlockInsecurePluginVersion::name()) { |
825 | IPC::handleMessage<Messages::WebPageProxy::DidBlockInsecurePluginVersion>(decoder, this, &WebPageProxy::didBlockInsecurePluginVersion); |
826 | return; |
827 | } |
828 | #endif |
829 | if (decoder.messageName() == Messages::WebPageProxy::SetCanShortCircuitHorizontalWheelEvents::name()) { |
830 | IPC::handleMessage<Messages::WebPageProxy::SetCanShortCircuitHorizontalWheelEvents>(decoder, this, &WebPageProxy::setCanShortCircuitHorizontalWheelEvents); |
831 | return; |
832 | } |
833 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeContentSize::name()) { |
834 | IPC::handleMessage<Messages::WebPageProxy::DidChangeContentSize>(decoder, this, &WebPageProxy::didChangeContentSize); |
835 | return; |
836 | } |
837 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeIntrinsicContentSize::name()) { |
838 | IPC::handleMessage<Messages::WebPageProxy::DidChangeIntrinsicContentSize>(decoder, this, &WebPageProxy::didChangeIntrinsicContentSize); |
839 | return; |
840 | } |
841 | #if ENABLE(INPUT_TYPE_COLOR) |
842 | if (decoder.messageName() == Messages::WebPageProxy::ShowColorPicker::name()) { |
843 | IPC::handleMessage<Messages::WebPageProxy::ShowColorPicker>(decoder, this, &WebPageProxy::showColorPicker); |
844 | return; |
845 | } |
846 | #endif |
847 | #if ENABLE(INPUT_TYPE_COLOR) |
848 | if (decoder.messageName() == Messages::WebPageProxy::SetColorPickerColor::name()) { |
849 | IPC::handleMessage<Messages::WebPageProxy::SetColorPickerColor>(decoder, this, &WebPageProxy::setColorPickerColor); |
850 | return; |
851 | } |
852 | #endif |
853 | #if ENABLE(INPUT_TYPE_COLOR) |
854 | if (decoder.messageName() == Messages::WebPageProxy::EndColorPicker::name()) { |
855 | IPC::handleMessage<Messages::WebPageProxy::EndColorPicker>(decoder, this, &WebPageProxy::endColorPicker); |
856 | return; |
857 | } |
858 | #endif |
859 | #if ENABLE(DATALIST_ELEMENT) |
860 | if (decoder.messageName() == Messages::WebPageProxy::ShowDataListSuggestions::name()) { |
861 | IPC::handleMessage<Messages::WebPageProxy::ShowDataListSuggestions>(decoder, this, &WebPageProxy::showDataListSuggestions); |
862 | return; |
863 | } |
864 | #endif |
865 | #if ENABLE(DATALIST_ELEMENT) |
866 | if (decoder.messageName() == Messages::WebPageProxy::HandleKeydownInDataList::name()) { |
867 | IPC::handleMessage<Messages::WebPageProxy::HandleKeydownInDataList>(decoder, this, &WebPageProxy::handleKeydownInDataList); |
868 | return; |
869 | } |
870 | #endif |
871 | #if ENABLE(DATALIST_ELEMENT) |
872 | if (decoder.messageName() == Messages::WebPageProxy::EndDataListSuggestions::name()) { |
873 | IPC::handleMessage<Messages::WebPageProxy::EndDataListSuggestions>(decoder, this, &WebPageProxy::endDataListSuggestions); |
874 | return; |
875 | } |
876 | #endif |
877 | if (decoder.messageName() == Messages::WebPageProxy::DecidePolicyForResponse::name()) { |
878 | IPC::handleMessage<Messages::WebPageProxy::DecidePolicyForResponse>(decoder, this, &WebPageProxy::decidePolicyForResponse); |
879 | return; |
880 | } |
881 | if (decoder.messageName() == Messages::WebPageProxy::DecidePolicyForNavigationActionAsync::name()) { |
882 | IPC::handleMessage<Messages::WebPageProxy::DecidePolicyForNavigationActionAsync>(decoder, this, &WebPageProxy::decidePolicyForNavigationActionAsync); |
883 | return; |
884 | } |
885 | if (decoder.messageName() == Messages::WebPageProxy::DecidePolicyForNewWindowAction::name()) { |
886 | IPC::handleMessage<Messages::WebPageProxy::DecidePolicyForNewWindowAction>(decoder, this, &WebPageProxy::decidePolicyForNewWindowAction); |
887 | return; |
888 | } |
889 | if (decoder.messageName() == Messages::WebPageProxy::UnableToImplementPolicy::name()) { |
890 | IPC::handleMessage<Messages::WebPageProxy::UnableToImplementPolicy>(decoder, this, &WebPageProxy::unableToImplementPolicy); |
891 | return; |
892 | } |
893 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeProgress::name()) { |
894 | IPC::handleMessage<Messages::WebPageProxy::DidChangeProgress>(decoder, this, &WebPageProxy::didChangeProgress); |
895 | return; |
896 | } |
897 | if (decoder.messageName() == Messages::WebPageProxy::DidFinishProgress::name()) { |
898 | IPC::handleMessage<Messages::WebPageProxy::DidFinishProgress>(decoder, this, &WebPageProxy::didFinishProgress); |
899 | return; |
900 | } |
901 | if (decoder.messageName() == Messages::WebPageProxy::DidStartProgress::name()) { |
902 | IPC::handleMessage<Messages::WebPageProxy::DidStartProgress>(decoder, this, &WebPageProxy::didStartProgress); |
903 | return; |
904 | } |
905 | if (decoder.messageName() == Messages::WebPageProxy::SetNetworkRequestsInProgress::name()) { |
906 | IPC::handleMessage<Messages::WebPageProxy::SetNetworkRequestsInProgress>(decoder, this, &WebPageProxy::setNetworkRequestsInProgress); |
907 | return; |
908 | } |
909 | if (decoder.messageName() == Messages::WebPageProxy::DidCreateMainFrame::name()) { |
910 | IPC::handleMessage<Messages::WebPageProxy::DidCreateMainFrame>(decoder, this, &WebPageProxy::didCreateMainFrame); |
911 | return; |
912 | } |
913 | if (decoder.messageName() == Messages::WebPageProxy::DidCreateSubframe::name()) { |
914 | IPC::handleMessage<Messages::WebPageProxy::DidCreateSubframe>(decoder, this, &WebPageProxy::didCreateSubframe); |
915 | return; |
916 | } |
917 | if (decoder.messageName() == Messages::WebPageProxy::DidCreateWindow::name()) { |
918 | IPC::handleMessage<Messages::WebPageProxy::DidCreateWindow>(decoder, this, &WebPageProxy::didCreateWindow); |
919 | return; |
920 | } |
921 | if (decoder.messageName() == Messages::WebPageProxy::DidStartProvisionalLoadForFrame::name()) { |
922 | IPC::handleMessage<Messages::WebPageProxy::DidStartProvisionalLoadForFrame>(decoder, this, &WebPageProxy::didStartProvisionalLoadForFrame); |
923 | return; |
924 | } |
925 | if (decoder.messageName() == Messages::WebPageProxy::DidReceiveServerRedirectForProvisionalLoadForFrame::name()) { |
926 | IPC::handleMessage<Messages::WebPageProxy::DidReceiveServerRedirectForProvisionalLoadForFrame>(decoder, this, &WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame); |
927 | return; |
928 | } |
929 | if (decoder.messageName() == Messages::WebPageProxy::WillPerformClientRedirectForFrame::name()) { |
930 | IPC::handleMessage<Messages::WebPageProxy::WillPerformClientRedirectForFrame>(decoder, this, &WebPageProxy::willPerformClientRedirectForFrame); |
931 | return; |
932 | } |
933 | if (decoder.messageName() == Messages::WebPageProxy::DidCancelClientRedirectForFrame::name()) { |
934 | IPC::handleMessage<Messages::WebPageProxy::DidCancelClientRedirectForFrame>(decoder, this, &WebPageProxy::didCancelClientRedirectForFrame); |
935 | return; |
936 | } |
937 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeProvisionalURLForFrame::name()) { |
938 | IPC::handleMessage<Messages::WebPageProxy::DidChangeProvisionalURLForFrame>(decoder, this, &WebPageProxy::didChangeProvisionalURLForFrame); |
939 | return; |
940 | } |
941 | if (decoder.messageName() == Messages::WebPageProxy::DidFailProvisionalLoadForFrame::name()) { |
942 | IPC::handleMessage<Messages::WebPageProxy::DidFailProvisionalLoadForFrame>(decoder, this, &WebPageProxy::didFailProvisionalLoadForFrame); |
943 | return; |
944 | } |
945 | if (decoder.messageName() == Messages::WebPageProxy::DidCommitLoadForFrame::name()) { |
946 | IPC::handleMessage<Messages::WebPageProxy::DidCommitLoadForFrame>(decoder, this, &WebPageProxy::didCommitLoadForFrame); |
947 | return; |
948 | } |
949 | if (decoder.messageName() == Messages::WebPageProxy::DidFailLoadForFrame::name()) { |
950 | IPC::handleMessage<Messages::WebPageProxy::DidFailLoadForFrame>(decoder, this, &WebPageProxy::didFailLoadForFrame); |
951 | return; |
952 | } |
953 | if (decoder.messageName() == Messages::WebPageProxy::DidFinishDocumentLoadForFrame::name()) { |
954 | IPC::handleMessage<Messages::WebPageProxy::DidFinishDocumentLoadForFrame>(decoder, this, &WebPageProxy::didFinishDocumentLoadForFrame); |
955 | return; |
956 | } |
957 | if (decoder.messageName() == Messages::WebPageProxy::DidFinishLoadForFrame::name()) { |
958 | IPC::handleMessage<Messages::WebPageProxy::DidFinishLoadForFrame>(decoder, this, &WebPageProxy::didFinishLoadForFrame); |
959 | return; |
960 | } |
961 | if (decoder.messageName() == Messages::WebPageProxy::DidFirstLayoutForFrame::name()) { |
962 | IPC::handleMessage<Messages::WebPageProxy::DidFirstLayoutForFrame>(decoder, this, &WebPageProxy::didFirstLayoutForFrame); |
963 | return; |
964 | } |
965 | if (decoder.messageName() == Messages::WebPageProxy::DidFirstVisuallyNonEmptyLayoutForFrame::name()) { |
966 | IPC::handleMessage<Messages::WebPageProxy::DidFirstVisuallyNonEmptyLayoutForFrame>(decoder, this, &WebPageProxy::didFirstVisuallyNonEmptyLayoutForFrame); |
967 | return; |
968 | } |
969 | if (decoder.messageName() == Messages::WebPageProxy::DidReachLayoutMilestone::name()) { |
970 | IPC::handleMessage<Messages::WebPageProxy::DidReachLayoutMilestone>(decoder, this, &WebPageProxy::didReachLayoutMilestone); |
971 | return; |
972 | } |
973 | if (decoder.messageName() == Messages::WebPageProxy::DidReceiveTitleForFrame::name()) { |
974 | IPC::handleMessage<Messages::WebPageProxy::DidReceiveTitleForFrame>(decoder, this, &WebPageProxy::didReceiveTitleForFrame); |
975 | return; |
976 | } |
977 | if (decoder.messageName() == Messages::WebPageProxy::DidDisplayInsecureContentForFrame::name()) { |
978 | IPC::handleMessage<Messages::WebPageProxy::DidDisplayInsecureContentForFrame>(decoder, this, &WebPageProxy::didDisplayInsecureContentForFrame); |
979 | return; |
980 | } |
981 | if (decoder.messageName() == Messages::WebPageProxy::DidRunInsecureContentForFrame::name()) { |
982 | IPC::handleMessage<Messages::WebPageProxy::DidRunInsecureContentForFrame>(decoder, this, &WebPageProxy::didRunInsecureContentForFrame); |
983 | return; |
984 | } |
985 | if (decoder.messageName() == Messages::WebPageProxy::DidDetectXSSForFrame::name()) { |
986 | IPC::handleMessage<Messages::WebPageProxy::DidDetectXSSForFrame>(decoder, this, &WebPageProxy::didDetectXSSForFrame); |
987 | return; |
988 | } |
989 | if (decoder.messageName() == Messages::WebPageProxy::DidSameDocumentNavigationForFrame::name()) { |
990 | IPC::handleMessage<Messages::WebPageProxy::DidSameDocumentNavigationForFrame>(decoder, this, &WebPageProxy::didSameDocumentNavigationForFrame); |
991 | return; |
992 | } |
993 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeMainDocument::name()) { |
994 | IPC::handleMessage<Messages::WebPageProxy::DidChangeMainDocument>(decoder, this, &WebPageProxy::didChangeMainDocument); |
995 | return; |
996 | } |
997 | if (decoder.messageName() == Messages::WebPageProxy::DidExplicitOpenForFrame::name()) { |
998 | IPC::handleMessage<Messages::WebPageProxy::DidExplicitOpenForFrame>(decoder, this, &WebPageProxy::didExplicitOpenForFrame); |
999 | return; |
1000 | } |
1001 | if (decoder.messageName() == Messages::WebPageProxy::DidDestroyNavigation::name()) { |
1002 | IPC::handleMessage<Messages::WebPageProxy::DidDestroyNavigation>(decoder, this, &WebPageProxy::didDestroyNavigation); |
1003 | return; |
1004 | } |
1005 | if (decoder.messageName() == Messages::WebPageProxy::MainFramePluginHandlesPageScaleGestureDidChange::name()) { |
1006 | IPC::handleMessage<Messages::WebPageProxy::MainFramePluginHandlesPageScaleGestureDidChange>(decoder, this, &WebPageProxy::mainFramePluginHandlesPageScaleGestureDidChange); |
1007 | return; |
1008 | } |
1009 | if (decoder.messageName() == Messages::WebPageProxy::FrameDidBecomeFrameSet::name()) { |
1010 | IPC::handleMessage<Messages::WebPageProxy::FrameDidBecomeFrameSet>(decoder, this, &WebPageProxy::frameDidBecomeFrameSet); |
1011 | return; |
1012 | } |
1013 | if (decoder.messageName() == Messages::WebPageProxy::DidNavigateWithNavigationData::name()) { |
1014 | IPC::handleMessage<Messages::WebPageProxy::DidNavigateWithNavigationData>(decoder, this, &WebPageProxy::didNavigateWithNavigationData); |
1015 | return; |
1016 | } |
1017 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformClientRedirect::name()) { |
1018 | IPC::handleMessage<Messages::WebPageProxy::DidPerformClientRedirect>(decoder, this, &WebPageProxy::didPerformClientRedirect); |
1019 | return; |
1020 | } |
1021 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformServerRedirect::name()) { |
1022 | IPC::handleMessage<Messages::WebPageProxy::DidPerformServerRedirect>(decoder, this, &WebPageProxy::didPerformServerRedirect); |
1023 | return; |
1024 | } |
1025 | if (decoder.messageName() == Messages::WebPageProxy::DidUpdateHistoryTitle::name()) { |
1026 | IPC::handleMessage<Messages::WebPageProxy::DidUpdateHistoryTitle>(decoder, this, &WebPageProxy::didUpdateHistoryTitle); |
1027 | return; |
1028 | } |
1029 | if (decoder.messageName() == Messages::WebPageProxy::DidFinishLoadingDataForCustomContentProvider::name()) { |
1030 | IPC::handleMessage<Messages::WebPageProxy::DidFinishLoadingDataForCustomContentProvider>(decoder, this, &WebPageProxy::didFinishLoadingDataForCustomContentProvider); |
1031 | return; |
1032 | } |
1033 | if (decoder.messageName() == Messages::WebPageProxy::WillSubmitForm::name()) { |
1034 | IPC::handleMessage<Messages::WebPageProxy::WillSubmitForm>(decoder, this, &WebPageProxy::willSubmitForm); |
1035 | return; |
1036 | } |
1037 | if (decoder.messageName() == Messages::WebPageProxy::VoidCallback::name()) { |
1038 | IPC::handleMessage<Messages::WebPageProxy::VoidCallback>(decoder, this, &WebPageProxy::voidCallback); |
1039 | return; |
1040 | } |
1041 | if (decoder.messageName() == Messages::WebPageProxy::DataCallback::name()) { |
1042 | IPC::handleMessage<Messages::WebPageProxy::DataCallback>(decoder, this, &WebPageProxy::dataCallback); |
1043 | return; |
1044 | } |
1045 | if (decoder.messageName() == Messages::WebPageProxy::ImageCallback::name()) { |
1046 | IPC::handleMessage<Messages::WebPageProxy::ImageCallback>(decoder, this, &WebPageProxy::imageCallback); |
1047 | return; |
1048 | } |
1049 | if (decoder.messageName() == Messages::WebPageProxy::StringCallback::name()) { |
1050 | IPC::handleMessage<Messages::WebPageProxy::StringCallback>(decoder, this, &WebPageProxy::stringCallback); |
1051 | return; |
1052 | } |
1053 | if (decoder.messageName() == Messages::WebPageProxy::InvalidateStringCallback::name()) { |
1054 | IPC::handleMessage<Messages::WebPageProxy::InvalidateStringCallback>(decoder, this, &WebPageProxy::invalidateStringCallback); |
1055 | return; |
1056 | } |
1057 | if (decoder.messageName() == Messages::WebPageProxy::ScriptValueCallback::name()) { |
1058 | IPC::handleMessage<Messages::WebPageProxy::ScriptValueCallback>(decoder, this, &WebPageProxy::scriptValueCallback); |
1059 | return; |
1060 | } |
1061 | if (decoder.messageName() == Messages::WebPageProxy::ComputedPagesCallback::name()) { |
1062 | IPC::handleMessage<Messages::WebPageProxy::ComputedPagesCallback>(decoder, this, &WebPageProxy::computedPagesCallback); |
1063 | return; |
1064 | } |
1065 | if (decoder.messageName() == Messages::WebPageProxy::ValidateCommandCallback::name()) { |
1066 | IPC::handleMessage<Messages::WebPageProxy::ValidateCommandCallback>(decoder, this, &WebPageProxy::validateCommandCallback); |
1067 | return; |
1068 | } |
1069 | if (decoder.messageName() == Messages::WebPageProxy::EditingRangeCallback::name()) { |
1070 | IPC::handleMessage<Messages::WebPageProxy::EditingRangeCallback>(decoder, this, &WebPageProxy::editingRangeCallback); |
1071 | return; |
1072 | } |
1073 | if (decoder.messageName() == Messages::WebPageProxy::UnsignedCallback::name()) { |
1074 | IPC::handleMessage<Messages::WebPageProxy::UnsignedCallback>(decoder, this, &WebPageProxy::unsignedCallback); |
1075 | return; |
1076 | } |
1077 | if (decoder.messageName() == Messages::WebPageProxy::RectForCharacterRangeCallback::name()) { |
1078 | IPC::handleMessage<Messages::WebPageProxy::RectForCharacterRangeCallback>(decoder, this, &WebPageProxy::rectForCharacterRangeCallback); |
1079 | return; |
1080 | } |
1081 | #if ENABLE(APPLICATION_MANIFEST) |
1082 | if (decoder.messageName() == Messages::WebPageProxy::ApplicationManifestCallback::name()) { |
1083 | IPC::handleMessage<Messages::WebPageProxy::ApplicationManifestCallback>(decoder, this, &WebPageProxy::applicationManifestCallback); |
1084 | return; |
1085 | } |
1086 | #endif |
1087 | #if PLATFORM(MAC) |
1088 | if (decoder.messageName() == Messages::WebPageProxy::AttributedStringForCharacterRangeCallback::name()) { |
1089 | IPC::handleMessage<Messages::WebPageProxy::AttributedStringForCharacterRangeCallback>(decoder, this, &WebPageProxy::attributedStringForCharacterRangeCallback); |
1090 | return; |
1091 | } |
1092 | #endif |
1093 | #if PLATFORM(MAC) |
1094 | if (decoder.messageName() == Messages::WebPageProxy::FontAtSelectionCallback::name()) { |
1095 | IPC::handleMessage<Messages::WebPageProxy::FontAtSelectionCallback>(decoder, this, &WebPageProxy::fontAtSelectionCallback); |
1096 | return; |
1097 | } |
1098 | #endif |
1099 | if (decoder.messageName() == Messages::WebPageProxy::FontAttributesCallback::name()) { |
1100 | IPC::handleMessage<Messages::WebPageProxy::FontAttributesCallback>(decoder, this, &WebPageProxy::fontAttributesCallback); |
1101 | return; |
1102 | } |
1103 | #if PLATFORM(IOS_FAMILY) |
1104 | if (decoder.messageName() == Messages::WebPageProxy::GestureCallback::name()) { |
1105 | IPC::handleMessage<Messages::WebPageProxy::GestureCallback>(decoder, this, &WebPageProxy::gestureCallback); |
1106 | return; |
1107 | } |
1108 | #endif |
1109 | #if PLATFORM(IOS_FAMILY) |
1110 | if (decoder.messageName() == Messages::WebPageProxy::TouchesCallback::name()) { |
1111 | IPC::handleMessage<Messages::WebPageProxy::TouchesCallback>(decoder, this, &WebPageProxy::touchesCallback); |
1112 | return; |
1113 | } |
1114 | #endif |
1115 | #if PLATFORM(IOS_FAMILY) |
1116 | if (decoder.messageName() == Messages::WebPageProxy::AutocorrectionDataCallback::name()) { |
1117 | IPC::handleMessage<Messages::WebPageProxy::AutocorrectionDataCallback>(decoder, this, &WebPageProxy::autocorrectionDataCallback); |
1118 | return; |
1119 | } |
1120 | #endif |
1121 | #if PLATFORM(IOS_FAMILY) |
1122 | if (decoder.messageName() == Messages::WebPageProxy::AutocorrectionContextCallback::name()) { |
1123 | IPC::handleMessage<Messages::WebPageProxy::AutocorrectionContextCallback>(decoder, this, &WebPageProxy::autocorrectionContextCallback); |
1124 | return; |
1125 | } |
1126 | #endif |
1127 | #if PLATFORM(IOS_FAMILY) |
1128 | if (decoder.messageName() == Messages::WebPageProxy::SelectionContextCallback::name()) { |
1129 | IPC::handleMessage<Messages::WebPageProxy::SelectionContextCallback>(decoder, this, &WebPageProxy::selectionContextCallback); |
1130 | return; |
1131 | } |
1132 | #endif |
1133 | #if PLATFORM(IOS_FAMILY) |
1134 | if (decoder.messageName() == Messages::WebPageProxy::DidReceivePositionInformation::name()) { |
1135 | IPC::handleMessage<Messages::WebPageProxy::DidReceivePositionInformation>(decoder, this, &WebPageProxy::didReceivePositionInformation); |
1136 | return; |
1137 | } |
1138 | #endif |
1139 | #if PLATFORM(IOS_FAMILY) |
1140 | if (decoder.messageName() == Messages::WebPageProxy::SaveImageToLibrary::name()) { |
1141 | IPC::handleMessage<Messages::WebPageProxy::SaveImageToLibrary>(decoder, this, &WebPageProxy::saveImageToLibrary); |
1142 | return; |
1143 | } |
1144 | #endif |
1145 | #if PLATFORM(IOS_FAMILY) |
1146 | if (decoder.messageName() == Messages::WebPageProxy::ShowPlaybackTargetPicker::name()) { |
1147 | IPC::handleMessage<Messages::WebPageProxy::ShowPlaybackTargetPicker>(decoder, this, &WebPageProxy::showPlaybackTargetPicker); |
1148 | return; |
1149 | } |
1150 | #endif |
1151 | #if PLATFORM(IOS_FAMILY) |
1152 | if (decoder.messageName() == Messages::WebPageProxy::CommitPotentialTapFailed::name()) { |
1153 | IPC::handleMessage<Messages::WebPageProxy::CommitPotentialTapFailed>(decoder, this, &WebPageProxy::commitPotentialTapFailed); |
1154 | return; |
1155 | } |
1156 | #endif |
1157 | #if PLATFORM(IOS_FAMILY) |
1158 | if (decoder.messageName() == Messages::WebPageProxy::DidNotHandleTapAsClick::name()) { |
1159 | IPC::handleMessage<Messages::WebPageProxy::DidNotHandleTapAsClick>(decoder, this, &WebPageProxy::didNotHandleTapAsClick); |
1160 | return; |
1161 | } |
1162 | #endif |
1163 | #if PLATFORM(IOS_FAMILY) |
1164 | if (decoder.messageName() == Messages::WebPageProxy::DidCompleteSyntheticClick::name()) { |
1165 | IPC::handleMessage<Messages::WebPageProxy::DidCompleteSyntheticClick>(decoder, this, &WebPageProxy::didCompleteSyntheticClick); |
1166 | return; |
1167 | } |
1168 | #endif |
1169 | #if PLATFORM(IOS_FAMILY) |
1170 | if (decoder.messageName() == Messages::WebPageProxy::DisableDoubleTapGesturesDuringTapIfNecessary::name()) { |
1171 | IPC::handleMessage<Messages::WebPageProxy::DisableDoubleTapGesturesDuringTapIfNecessary>(decoder, this, &WebPageProxy::disableDoubleTapGesturesDuringTapIfNecessary); |
1172 | return; |
1173 | } |
1174 | #endif |
1175 | #if PLATFORM(IOS_FAMILY) |
1176 | if (decoder.messageName() == Messages::WebPageProxy::HandleSmartMagnificationInformationForPotentialTap::name()) { |
1177 | IPC::handleMessage<Messages::WebPageProxy::HandleSmartMagnificationInformationForPotentialTap>(decoder, this, &WebPageProxy::handleSmartMagnificationInformationForPotentialTap); |
1178 | return; |
1179 | } |
1180 | #endif |
1181 | #if PLATFORM(IOS_FAMILY) |
1182 | if (decoder.messageName() == Messages::WebPageProxy::DrawToPDFCallback::name()) { |
1183 | IPC::handleMessage<Messages::WebPageProxy::DrawToPDFCallback>(decoder, this, &WebPageProxy::drawToPDFCallback); |
1184 | return; |
1185 | } |
1186 | #endif |
1187 | #if PLATFORM(IOS_FAMILY) |
1188 | if (decoder.messageName() == Messages::WebPageProxy::SelectionRectsCallback::name()) { |
1189 | IPC::handleMessage<Messages::WebPageProxy::SelectionRectsCallback>(decoder, this, &WebPageProxy::selectionRectsCallback); |
1190 | return; |
1191 | } |
1192 | #endif |
1193 | #if ENABLE(DATA_DETECTION) |
1194 | if (decoder.messageName() == Messages::WebPageProxy::SetDataDetectionResult::name()) { |
1195 | IPC::handleMessage<Messages::WebPageProxy::SetDataDetectionResult>(decoder, this, &WebPageProxy::setDataDetectionResult); |
1196 | return; |
1197 | } |
1198 | #endif |
1199 | #if PLATFORM(GTK) |
1200 | if (decoder.messageName() == Messages::WebPageProxy::PrintFinishedCallback::name()) { |
1201 | IPC::handleMessage<Messages::WebPageProxy::PrintFinishedCallback>(decoder, this, &WebPageProxy::printFinishedCallback); |
1202 | return; |
1203 | } |
1204 | #endif |
1205 | #if PLATFORM(COCOA) |
1206 | if (decoder.messageName() == Messages::WebPageProxy::MachSendRightCallback::name()) { |
1207 | IPC::handleMessage<Messages::WebPageProxy::MachSendRightCallback>(decoder, this, &WebPageProxy::machSendRightCallback); |
1208 | return; |
1209 | } |
1210 | #endif |
1211 | #if PLATFORM(COCOA) |
1212 | if (decoder.messageName() == Messages::WebPageProxy::NowPlayingInfoCallback::name()) { |
1213 | IPC::handleMessage<Messages::WebPageProxy::NowPlayingInfoCallback>(decoder, this, &WebPageProxy::nowPlayingInfoCallback); |
1214 | return; |
1215 | } |
1216 | #endif |
1217 | if (decoder.messageName() == Messages::WebPageProxy::PageScaleFactorDidChange::name()) { |
1218 | IPC::handleMessage<Messages::WebPageProxy::PageScaleFactorDidChange>(decoder, this, &WebPageProxy::pageScaleFactorDidChange); |
1219 | return; |
1220 | } |
1221 | if (decoder.messageName() == Messages::WebPageProxy::PluginScaleFactorDidChange::name()) { |
1222 | IPC::handleMessage<Messages::WebPageProxy::PluginScaleFactorDidChange>(decoder, this, &WebPageProxy::pluginScaleFactorDidChange); |
1223 | return; |
1224 | } |
1225 | if (decoder.messageName() == Messages::WebPageProxy::PluginZoomFactorDidChange::name()) { |
1226 | IPC::handleMessage<Messages::WebPageProxy::PluginZoomFactorDidChange>(decoder, this, &WebPageProxy::pluginZoomFactorDidChange); |
1227 | return; |
1228 | } |
1229 | #if PLATFORM(GTK) |
1230 | if (decoder.messageName() == Messages::WebPageProxy::BindAccessibilityTree::name()) { |
1231 | IPC::handleMessage<Messages::WebPageProxy::BindAccessibilityTree>(decoder, this, &WebPageProxy::bindAccessibilityTree); |
1232 | return; |
1233 | } |
1234 | #endif |
1235 | #if PLATFORM(GTK) |
1236 | if (decoder.messageName() == Messages::WebPageProxy::SetInputMethodState::name()) { |
1237 | IPC::handleMessage<Messages::WebPageProxy::SetInputMethodState>(decoder, this, &WebPageProxy::setInputMethodState); |
1238 | return; |
1239 | } |
1240 | #endif |
1241 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardAddItem::name()) { |
1242 | IPC::handleMessage<Messages::WebPageProxy::BackForwardAddItem>(decoder, this, &WebPageProxy::backForwardAddItem); |
1243 | return; |
1244 | } |
1245 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardClear::name()) { |
1246 | IPC::handleMessage<Messages::WebPageProxy::BackForwardClear>(decoder, this, &WebPageProxy::backForwardClear); |
1247 | return; |
1248 | } |
1249 | if (decoder.messageName() == Messages::WebPageProxy::WillGoToBackForwardListItem::name()) { |
1250 | IPC::handleMessage<Messages::WebPageProxy::WillGoToBackForwardListItem>(decoder, this, &WebPageProxy::willGoToBackForwardListItem); |
1251 | return; |
1252 | } |
1253 | if (decoder.messageName() == Messages::WebPageProxy::RegisterEditCommandForUndo::name()) { |
1254 | IPC::handleMessage<Messages::WebPageProxy::RegisterEditCommandForUndo>(decoder, this, &WebPageProxy::registerEditCommandForUndo); |
1255 | return; |
1256 | } |
1257 | if (decoder.messageName() == Messages::WebPageProxy::ClearAllEditCommands::name()) { |
1258 | IPC::handleMessage<Messages::WebPageProxy::ClearAllEditCommands>(decoder, this, &WebPageProxy::clearAllEditCommands); |
1259 | return; |
1260 | } |
1261 | if (decoder.messageName() == Messages::WebPageProxy::RegisterInsertionUndoGrouping::name()) { |
1262 | IPC::handleMessage<Messages::WebPageProxy::RegisterInsertionUndoGrouping>(decoder, this, &WebPageProxy::registerInsertionUndoGrouping); |
1263 | return; |
1264 | } |
1265 | if (decoder.messageName() == Messages::WebPageProxy::LogDiagnosticMessage::name()) { |
1266 | IPC::handleMessage<Messages::WebPageProxy::LogDiagnosticMessage>(decoder, this, &WebPageProxy::logDiagnosticMessage); |
1267 | return; |
1268 | } |
1269 | if (decoder.messageName() == Messages::WebPageProxy::LogDiagnosticMessageWithResult::name()) { |
1270 | IPC::handleMessage<Messages::WebPageProxy::LogDiagnosticMessageWithResult>(decoder, this, &WebPageProxy::logDiagnosticMessageWithResult); |
1271 | return; |
1272 | } |
1273 | if (decoder.messageName() == Messages::WebPageProxy::LogDiagnosticMessageWithValue::name()) { |
1274 | IPC::handleMessage<Messages::WebPageProxy::LogDiagnosticMessageWithValue>(decoder, this, &WebPageProxy::logDiagnosticMessageWithValue); |
1275 | return; |
1276 | } |
1277 | if (decoder.messageName() == Messages::WebPageProxy::LogDiagnosticMessageWithEnhancedPrivacy::name()) { |
1278 | IPC::handleMessage<Messages::WebPageProxy::LogDiagnosticMessageWithEnhancedPrivacy>(decoder, this, &WebPageProxy::logDiagnosticMessageWithEnhancedPrivacy); |
1279 | return; |
1280 | } |
1281 | if (decoder.messageName() == Messages::WebPageProxy::LogDiagnosticMessageWithValueDictionary::name()) { |
1282 | IPC::handleMessage<Messages::WebPageProxy::LogDiagnosticMessageWithValueDictionary>(decoder, this, &WebPageProxy::logDiagnosticMessageWithValueDictionary); |
1283 | return; |
1284 | } |
1285 | if (decoder.messageName() == Messages::WebPageProxy::LogScrollingEvent::name()) { |
1286 | IPC::handleMessage<Messages::WebPageProxy::LogScrollingEvent>(decoder, this, &WebPageProxy::logScrollingEvent); |
1287 | return; |
1288 | } |
1289 | if (decoder.messageName() == Messages::WebPageProxy::EditorStateChanged::name()) { |
1290 | IPC::handleMessage<Messages::WebPageProxy::EditorStateChanged>(decoder, this, &WebPageProxy::editorStateChanged); |
1291 | return; |
1292 | } |
1293 | if (decoder.messageName() == Messages::WebPageProxy::CompositionWasCanceled::name()) { |
1294 | IPC::handleMessage<Messages::WebPageProxy::CompositionWasCanceled>(decoder, this, &WebPageProxy::compositionWasCanceled); |
1295 | return; |
1296 | } |
1297 | if (decoder.messageName() == Messages::WebPageProxy::SetHasHadSelectionChangesFromUserInteraction::name()) { |
1298 | IPC::handleMessage<Messages::WebPageProxy::SetHasHadSelectionChangesFromUserInteraction>(decoder, this, &WebPageProxy::setHasHadSelectionChangesFromUserInteraction); |
1299 | return; |
1300 | } |
1301 | if (decoder.messageName() == Messages::WebPageProxy::SetIsTouchBarUpdateSupressedForHiddenContentEditable::name()) { |
1302 | IPC::handleMessage<Messages::WebPageProxy::SetIsTouchBarUpdateSupressedForHiddenContentEditable>(decoder, this, &WebPageProxy::setIsTouchBarUpdateSupressedForHiddenContentEditable); |
1303 | return; |
1304 | } |
1305 | if (decoder.messageName() == Messages::WebPageProxy::SetIsNeverRichlyEditableForTouchBar::name()) { |
1306 | IPC::handleMessage<Messages::WebPageProxy::SetIsNeverRichlyEditableForTouchBar>(decoder, this, &WebPageProxy::setIsNeverRichlyEditableForTouchBar); |
1307 | return; |
1308 | } |
1309 | if (decoder.messageName() == Messages::WebPageProxy::DidCountStringMatches::name()) { |
1310 | IPC::handleMessage<Messages::WebPageProxy::DidCountStringMatches>(decoder, this, &WebPageProxy::didCountStringMatches); |
1311 | return; |
1312 | } |
1313 | if (decoder.messageName() == Messages::WebPageProxy::SetTextIndicator::name()) { |
1314 | IPC::handleMessage<Messages::WebPageProxy::SetTextIndicator>(decoder, this, &WebPageProxy::setTextIndicator); |
1315 | return; |
1316 | } |
1317 | if (decoder.messageName() == Messages::WebPageProxy::ClearTextIndicator::name()) { |
1318 | IPC::handleMessage<Messages::WebPageProxy::ClearTextIndicator>(decoder, this, &WebPageProxy::clearTextIndicator); |
1319 | return; |
1320 | } |
1321 | if (decoder.messageName() == Messages::WebPageProxy::DidFindString::name()) { |
1322 | IPC::handleMessage<Messages::WebPageProxy::DidFindString>(decoder, this, &WebPageProxy::didFindString); |
1323 | return; |
1324 | } |
1325 | if (decoder.messageName() == Messages::WebPageProxy::DidFailToFindString::name()) { |
1326 | IPC::handleMessage<Messages::WebPageProxy::DidFailToFindString>(decoder, this, &WebPageProxy::didFailToFindString); |
1327 | return; |
1328 | } |
1329 | if (decoder.messageName() == Messages::WebPageProxy::DidFindStringMatches::name()) { |
1330 | IPC::handleMessage<Messages::WebPageProxy::DidFindStringMatches>(decoder, this, &WebPageProxy::didFindStringMatches); |
1331 | return; |
1332 | } |
1333 | if (decoder.messageName() == Messages::WebPageProxy::DidGetImageForFindMatch::name()) { |
1334 | IPC::handleMessage<Messages::WebPageProxy::DidGetImageForFindMatch>(decoder, this, &WebPageProxy::didGetImageForFindMatch); |
1335 | return; |
1336 | } |
1337 | if (decoder.messageName() == Messages::WebPageProxy::ShowPopupMenu::name()) { |
1338 | IPC::handleMessage<Messages::WebPageProxy::ShowPopupMenu>(decoder, this, &WebPageProxy::showPopupMenu); |
1339 | return; |
1340 | } |
1341 | if (decoder.messageName() == Messages::WebPageProxy::HidePopupMenu::name()) { |
1342 | IPC::handleMessage<Messages::WebPageProxy::HidePopupMenu>(decoder, this, &WebPageProxy::hidePopupMenu); |
1343 | return; |
1344 | } |
1345 | #if ENABLE(CONTEXT_MENUS) |
1346 | if (decoder.messageName() == Messages::WebPageProxy::ShowContextMenu::name()) { |
1347 | IPC::handleMessage<Messages::WebPageProxy::ShowContextMenu>(decoder, this, &WebPageProxy::showContextMenu); |
1348 | return; |
1349 | } |
1350 | #endif |
1351 | if (decoder.messageName() == Messages::WebPageProxy::RequestGeolocationPermissionForFrame::name()) { |
1352 | IPC::handleMessage<Messages::WebPageProxy::RequestGeolocationPermissionForFrame>(decoder, this, &WebPageProxy::requestGeolocationPermissionForFrame); |
1353 | return; |
1354 | } |
1355 | #if ENABLE(MEDIA_STREAM) |
1356 | if (decoder.messageName() == Messages::WebPageProxy::RequestUserMediaPermissionForFrame::name()) { |
1357 | IPC::handleMessage<Messages::WebPageProxy::RequestUserMediaPermissionForFrame>(decoder, this, &WebPageProxy::requestUserMediaPermissionForFrame); |
1358 | return; |
1359 | } |
1360 | #endif |
1361 | #if ENABLE(MEDIA_STREAM) |
1362 | if (decoder.messageName() == Messages::WebPageProxy::EnumerateMediaDevicesForFrame::name()) { |
1363 | IPC::handleMessage<Messages::WebPageProxy::EnumerateMediaDevicesForFrame>(decoder, this, &WebPageProxy::enumerateMediaDevicesForFrame); |
1364 | return; |
1365 | } |
1366 | #endif |
1367 | #if ENABLE(MEDIA_STREAM) |
1368 | if (decoder.messageName() == Messages::WebPageProxy::BeginMonitoringCaptureDevices::name()) { |
1369 | IPC::handleMessage<Messages::WebPageProxy::BeginMonitoringCaptureDevices>(decoder, this, &WebPageProxy::beginMonitoringCaptureDevices); |
1370 | return; |
1371 | } |
1372 | #endif |
1373 | if (decoder.messageName() == Messages::WebPageProxy::RequestNotificationPermission::name()) { |
1374 | IPC::handleMessage<Messages::WebPageProxy::RequestNotificationPermission>(decoder, this, &WebPageProxy::requestNotificationPermission); |
1375 | return; |
1376 | } |
1377 | if (decoder.messageName() == Messages::WebPageProxy::ShowNotification::name()) { |
1378 | IPC::handleMessage<Messages::WebPageProxy::ShowNotification>(decoder, this, &WebPageProxy::showNotification); |
1379 | return; |
1380 | } |
1381 | if (decoder.messageName() == Messages::WebPageProxy::CancelNotification::name()) { |
1382 | IPC::handleMessage<Messages::WebPageProxy::CancelNotification>(decoder, this, &WebPageProxy::cancelNotification); |
1383 | return; |
1384 | } |
1385 | if (decoder.messageName() == Messages::WebPageProxy::ClearNotifications::name()) { |
1386 | IPC::handleMessage<Messages::WebPageProxy::ClearNotifications>(decoder, this, &WebPageProxy::clearNotifications); |
1387 | return; |
1388 | } |
1389 | if (decoder.messageName() == Messages::WebPageProxy::DidDestroyNotification::name()) { |
1390 | IPC::handleMessage<Messages::WebPageProxy::DidDestroyNotification>(decoder, this, &WebPageProxy::didDestroyNotification); |
1391 | return; |
1392 | } |
1393 | if (decoder.messageName() == Messages::WebPageProxy::UpdateSpellingUIWithMisspelledWord::name()) { |
1394 | IPC::handleMessage<Messages::WebPageProxy::UpdateSpellingUIWithMisspelledWord>(decoder, this, &WebPageProxy::updateSpellingUIWithMisspelledWord); |
1395 | return; |
1396 | } |
1397 | if (decoder.messageName() == Messages::WebPageProxy::UpdateSpellingUIWithGrammarString::name()) { |
1398 | IPC::handleMessage<Messages::WebPageProxy::UpdateSpellingUIWithGrammarString>(decoder, this, &WebPageProxy::updateSpellingUIWithGrammarString); |
1399 | return; |
1400 | } |
1401 | if (decoder.messageName() == Messages::WebPageProxy::LearnWord::name()) { |
1402 | IPC::handleMessage<Messages::WebPageProxy::LearnWord>(decoder, this, &WebPageProxy::learnWord); |
1403 | return; |
1404 | } |
1405 | if (decoder.messageName() == Messages::WebPageProxy::IgnoreWord::name()) { |
1406 | IPC::handleMessage<Messages::WebPageProxy::IgnoreWord>(decoder, this, &WebPageProxy::ignoreWord); |
1407 | return; |
1408 | } |
1409 | if (decoder.messageName() == Messages::WebPageProxy::RequestCheckingOfString::name()) { |
1410 | IPC::handleMessage<Messages::WebPageProxy::RequestCheckingOfString>(decoder, this, &WebPageProxy::requestCheckingOfString); |
1411 | return; |
1412 | } |
1413 | #if ENABLE(DRAG_SUPPORT) |
1414 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformDragControllerAction::name()) { |
1415 | IPC::handleMessage<Messages::WebPageProxy::DidPerformDragControllerAction>(decoder, this, &WebPageProxy::didPerformDragControllerAction); |
1416 | return; |
1417 | } |
1418 | #endif |
1419 | #if ENABLE(DRAG_SUPPORT) |
1420 | if (decoder.messageName() == Messages::WebPageProxy::DidEndDragging::name()) { |
1421 | IPC::handleMessage<Messages::WebPageProxy::DidEndDragging>(decoder, this, &WebPageProxy::didEndDragging); |
1422 | return; |
1423 | } |
1424 | #endif |
1425 | #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT) |
1426 | if (decoder.messageName() == Messages::WebPageProxy::StartDrag::name()) { |
1427 | IPC::handleMessage<Messages::WebPageProxy::StartDrag>(decoder, this, &WebPageProxy::startDrag); |
1428 | return; |
1429 | } |
1430 | #endif |
1431 | #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT) |
1432 | if (decoder.messageName() == Messages::WebPageProxy::SetPromisedDataForImage::name()) { |
1433 | IPC::handleMessage<Messages::WebPageProxy::SetPromisedDataForImage>(decoder, this, &WebPageProxy::setPromisedDataForImage); |
1434 | return; |
1435 | } |
1436 | #endif |
1437 | #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) |
1438 | if (decoder.messageName() == Messages::WebPageProxy::StartDrag::name()) { |
1439 | IPC::handleMessage<Messages::WebPageProxy::StartDrag>(decoder, this, &WebPageProxy::startDrag); |
1440 | return; |
1441 | } |
1442 | #endif |
1443 | #if ENABLE(DRAG_SUPPORT) |
1444 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformDragOperation::name()) { |
1445 | IPC::handleMessage<Messages::WebPageProxy::DidPerformDragOperation>(decoder, this, &WebPageProxy::didPerformDragOperation); |
1446 | return; |
1447 | } |
1448 | #endif |
1449 | #if ENABLE(DATA_INTERACTION) |
1450 | if (decoder.messageName() == Messages::WebPageProxy::DidHandleDragStartRequest::name()) { |
1451 | IPC::handleMessage<Messages::WebPageProxy::DidHandleDragStartRequest>(decoder, this, &WebPageProxy::didHandleDragStartRequest); |
1452 | return; |
1453 | } |
1454 | #endif |
1455 | #if ENABLE(DATA_INTERACTION) |
1456 | if (decoder.messageName() == Messages::WebPageProxy::DidHandleAdditionalDragItemsRequest::name()) { |
1457 | IPC::handleMessage<Messages::WebPageProxy::DidHandleAdditionalDragItemsRequest>(decoder, this, &WebPageProxy::didHandleAdditionalDragItemsRequest); |
1458 | return; |
1459 | } |
1460 | #endif |
1461 | #if ENABLE(DATA_INTERACTION) |
1462 | if (decoder.messageName() == Messages::WebPageProxy::DidConcludeEditDrag::name()) { |
1463 | IPC::handleMessage<Messages::WebPageProxy::DidConcludeEditDrag>(decoder, this, &WebPageProxy::didConcludeEditDrag); |
1464 | return; |
1465 | } |
1466 | #endif |
1467 | #if PLATFORM(COCOA) |
1468 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformDictionaryLookup::name()) { |
1469 | IPC::handleMessage<Messages::WebPageProxy::DidPerformDictionaryLookup>(decoder, this, &WebPageProxy::didPerformDictionaryLookup); |
1470 | return; |
1471 | } |
1472 | #endif |
1473 | #if PLATFORM(COCOA) |
1474 | if (decoder.messageName() == Messages::WebPageProxy::RegisterWebProcessAccessibilityToken::name()) { |
1475 | IPC::handleMessage<Messages::WebPageProxy::RegisterWebProcessAccessibilityToken>(decoder, this, &WebPageProxy::registerWebProcessAccessibilityToken); |
1476 | return; |
1477 | } |
1478 | #endif |
1479 | #if PLATFORM(COCOA) |
1480 | if (decoder.messageName() == Messages::WebPageProxy::PluginFocusOrWindowFocusChanged::name()) { |
1481 | IPC::handleMessage<Messages::WebPageProxy::PluginFocusOrWindowFocusChanged>(decoder, this, &WebPageProxy::pluginFocusOrWindowFocusChanged); |
1482 | return; |
1483 | } |
1484 | #endif |
1485 | #if PLATFORM(COCOA) |
1486 | if (decoder.messageName() == Messages::WebPageProxy::SetPluginComplexTextInputState::name()) { |
1487 | IPC::handleMessage<Messages::WebPageProxy::SetPluginComplexTextInputState>(decoder, this, &WebPageProxy::setPluginComplexTextInputState); |
1488 | return; |
1489 | } |
1490 | #endif |
1491 | #if PLATFORM(COCOA) |
1492 | if (decoder.messageName() == Messages::WebPageProxy::Speak::name()) { |
1493 | IPC::handleMessage<Messages::WebPageProxy::Speak>(decoder, this, &WebPageProxy::speak); |
1494 | return; |
1495 | } |
1496 | #endif |
1497 | #if PLATFORM(COCOA) |
1498 | if (decoder.messageName() == Messages::WebPageProxy::StopSpeaking::name()) { |
1499 | IPC::handleMessage<Messages::WebPageProxy::StopSpeaking>(decoder, this, &WebPageProxy::stopSpeaking); |
1500 | return; |
1501 | } |
1502 | #endif |
1503 | #if PLATFORM(COCOA) |
1504 | if (decoder.messageName() == Messages::WebPageProxy::MakeFirstResponder::name()) { |
1505 | IPC::handleMessage<Messages::WebPageProxy::MakeFirstResponder>(decoder, this, &WebPageProxy::makeFirstResponder); |
1506 | return; |
1507 | } |
1508 | #endif |
1509 | #if PLATFORM(COCOA) |
1510 | if (decoder.messageName() == Messages::WebPageProxy::AssistiveTechnologyMakeFirstResponder::name()) { |
1511 | IPC::handleMessage<Messages::WebPageProxy::AssistiveTechnologyMakeFirstResponder>(decoder, this, &WebPageProxy::assistiveTechnologyMakeFirstResponder); |
1512 | return; |
1513 | } |
1514 | #endif |
1515 | #if PLATFORM(COCOA) |
1516 | if (decoder.messageName() == Messages::WebPageProxy::SearchWithSpotlight::name()) { |
1517 | IPC::handleMessage<Messages::WebPageProxy::SearchWithSpotlight>(decoder, this, &WebPageProxy::searchWithSpotlight); |
1518 | return; |
1519 | } |
1520 | #endif |
1521 | #if PLATFORM(COCOA) |
1522 | if (decoder.messageName() == Messages::WebPageProxy::SearchTheWeb::name()) { |
1523 | IPC::handleMessage<Messages::WebPageProxy::SearchTheWeb>(decoder, this, &WebPageProxy::searchTheWeb); |
1524 | return; |
1525 | } |
1526 | #endif |
1527 | #if PLATFORM(COCOA) |
1528 | if (decoder.messageName() == Messages::WebPageProxy::TouchBarMenuDataChanged::name()) { |
1529 | IPC::handleMessage<Messages::WebPageProxy::TouchBarMenuDataChanged>(decoder, this, &WebPageProxy::touchBarMenuDataChanged); |
1530 | return; |
1531 | } |
1532 | #endif |
1533 | #if PLATFORM(COCOA) |
1534 | if (decoder.messageName() == Messages::WebPageProxy::TouchBarMenuItemDataAdded::name()) { |
1535 | IPC::handleMessage<Messages::WebPageProxy::TouchBarMenuItemDataAdded>(decoder, this, &WebPageProxy::touchBarMenuItemDataAdded); |
1536 | return; |
1537 | } |
1538 | #endif |
1539 | #if PLATFORM(COCOA) |
1540 | if (decoder.messageName() == Messages::WebPageProxy::TouchBarMenuItemDataRemoved::name()) { |
1541 | IPC::handleMessage<Messages::WebPageProxy::TouchBarMenuItemDataRemoved>(decoder, this, &WebPageProxy::touchBarMenuItemDataRemoved); |
1542 | return; |
1543 | } |
1544 | #endif |
1545 | #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
1546 | if (decoder.messageName() == Messages::WebPageProxy::toggleSmartInsertDelete::name()) { |
1547 | IPC::handleMessage<Messages::WebPageProxy::toggleSmartInsertDelete>(decoder, this, &WebPageProxy::toggleSmartInsertDelete); |
1548 | return; |
1549 | } |
1550 | #endif |
1551 | #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
1552 | if (decoder.messageName() == Messages::WebPageProxy::toggleAutomaticQuoteSubstitution::name()) { |
1553 | IPC::handleMessage<Messages::WebPageProxy::toggleAutomaticQuoteSubstitution>(decoder, this, &WebPageProxy::toggleAutomaticQuoteSubstitution); |
1554 | return; |
1555 | } |
1556 | #endif |
1557 | #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
1558 | if (decoder.messageName() == Messages::WebPageProxy::toggleAutomaticLinkDetection::name()) { |
1559 | IPC::handleMessage<Messages::WebPageProxy::toggleAutomaticLinkDetection>(decoder, this, &WebPageProxy::toggleAutomaticLinkDetection); |
1560 | return; |
1561 | } |
1562 | #endif |
1563 | #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
1564 | if (decoder.messageName() == Messages::WebPageProxy::toggleAutomaticDashSubstitution::name()) { |
1565 | IPC::handleMessage<Messages::WebPageProxy::toggleAutomaticDashSubstitution>(decoder, this, &WebPageProxy::toggleAutomaticDashSubstitution); |
1566 | return; |
1567 | } |
1568 | #endif |
1569 | #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
1570 | if (decoder.messageName() == Messages::WebPageProxy::toggleAutomaticTextReplacement::name()) { |
1571 | IPC::handleMessage<Messages::WebPageProxy::toggleAutomaticTextReplacement>(decoder, this, &WebPageProxy::toggleAutomaticTextReplacement); |
1572 | return; |
1573 | } |
1574 | #endif |
1575 | #if PLATFORM(MAC) |
1576 | if (decoder.messageName() == Messages::WebPageProxy::ShowCorrectionPanel::name()) { |
1577 | IPC::handleMessage<Messages::WebPageProxy::ShowCorrectionPanel>(decoder, this, &WebPageProxy::showCorrectionPanel); |
1578 | return; |
1579 | } |
1580 | #endif |
1581 | #if PLATFORM(MAC) |
1582 | if (decoder.messageName() == Messages::WebPageProxy::DismissCorrectionPanel::name()) { |
1583 | IPC::handleMessage<Messages::WebPageProxy::DismissCorrectionPanel>(decoder, this, &WebPageProxy::dismissCorrectionPanel); |
1584 | return; |
1585 | } |
1586 | #endif |
1587 | #if PLATFORM(MAC) |
1588 | if (decoder.messageName() == Messages::WebPageProxy::RecordAutocorrectionResponse::name()) { |
1589 | IPC::handleMessage<Messages::WebPageProxy::RecordAutocorrectionResponse>(decoder, this, &WebPageProxy::recordAutocorrectionResponse); |
1590 | return; |
1591 | } |
1592 | #endif |
1593 | #if PLATFORM(MAC) |
1594 | if (decoder.messageName() == Messages::WebPageProxy::SetEditableElementIsFocused::name()) { |
1595 | IPC::handleMessage<Messages::WebPageProxy::SetEditableElementIsFocused>(decoder, this, &WebPageProxy::setEditableElementIsFocused); |
1596 | return; |
1597 | } |
1598 | #endif |
1599 | #if USE(DICTATION_ALTERNATIVES) |
1600 | if (decoder.messageName() == Messages::WebPageProxy::ShowDictationAlternativeUI::name()) { |
1601 | IPC::handleMessage<Messages::WebPageProxy::ShowDictationAlternativeUI>(decoder, this, &WebPageProxy::showDictationAlternativeUI); |
1602 | return; |
1603 | } |
1604 | #endif |
1605 | #if USE(DICTATION_ALTERNATIVES) |
1606 | if (decoder.messageName() == Messages::WebPageProxy::RemoveDictationAlternatives::name()) { |
1607 | IPC::handleMessage<Messages::WebPageProxy::RemoveDictationAlternatives>(decoder, this, &WebPageProxy::removeDictationAlternatives); |
1608 | return; |
1609 | } |
1610 | #endif |
1611 | #if PLATFORM(X11) |
1612 | if (decoder.messageName() == Messages::WebPageProxy::WindowedPluginGeometryDidChange::name()) { |
1613 | IPC::handleMessage<Messages::WebPageProxy::WindowedPluginGeometryDidChange>(decoder, this, &WebPageProxy::windowedPluginGeometryDidChange); |
1614 | return; |
1615 | } |
1616 | #endif |
1617 | #if PLATFORM(X11) |
1618 | if (decoder.messageName() == Messages::WebPageProxy::WindowedPluginVisibilityDidChange::name()) { |
1619 | IPC::handleMessage<Messages::WebPageProxy::WindowedPluginVisibilityDidChange>(decoder, this, &WebPageProxy::windowedPluginVisibilityDidChange); |
1620 | return; |
1621 | } |
1622 | #endif |
1623 | #if PLATFORM(IOS_FAMILY) |
1624 | if (decoder.messageName() == Messages::WebPageProxy::CouldNotRestorePageState::name()) { |
1625 | IPC::handleMessage<Messages::WebPageProxy::CouldNotRestorePageState>(decoder, this, &WebPageProxy::couldNotRestorePageState); |
1626 | return; |
1627 | } |
1628 | #endif |
1629 | #if PLATFORM(IOS_FAMILY) |
1630 | if (decoder.messageName() == Messages::WebPageProxy::RestorePageState::name()) { |
1631 | IPC::handleMessage<Messages::WebPageProxy::RestorePageState>(decoder, this, &WebPageProxy::restorePageState); |
1632 | return; |
1633 | } |
1634 | #endif |
1635 | #if PLATFORM(IOS_FAMILY) |
1636 | if (decoder.messageName() == Messages::WebPageProxy::RestorePageCenterAndScale::name()) { |
1637 | IPC::handleMessage<Messages::WebPageProxy::RestorePageCenterAndScale>(decoder, this, &WebPageProxy::restorePageCenterAndScale); |
1638 | return; |
1639 | } |
1640 | #endif |
1641 | #if PLATFORM(IOS_FAMILY) |
1642 | if (decoder.messageName() == Messages::WebPageProxy::DidGetTapHighlightGeometries::name()) { |
1643 | IPC::handleMessage<Messages::WebPageProxy::DidGetTapHighlightGeometries>(decoder, this, &WebPageProxy::didGetTapHighlightGeometries); |
1644 | return; |
1645 | } |
1646 | #endif |
1647 | #if PLATFORM(IOS_FAMILY) |
1648 | if (decoder.messageName() == Messages::WebPageProxy::ElementDidFocus::name()) { |
1649 | IPC::handleMessage<Messages::WebPageProxy::ElementDidFocus>(decoder, this, &WebPageProxy::elementDidFocus); |
1650 | return; |
1651 | } |
1652 | #endif |
1653 | #if PLATFORM(IOS_FAMILY) |
1654 | if (decoder.messageName() == Messages::WebPageProxy::ElementDidBlur::name()) { |
1655 | IPC::handleMessage<Messages::WebPageProxy::ElementDidBlur>(decoder, this, &WebPageProxy::elementDidBlur); |
1656 | return; |
1657 | } |
1658 | #endif |
1659 | #if PLATFORM(IOS_FAMILY) |
1660 | if (decoder.messageName() == Messages::WebPageProxy::FocusedElementDidChangeInputMode::name()) { |
1661 | IPC::handleMessage<Messages::WebPageProxy::FocusedElementDidChangeInputMode>(decoder, this, &WebPageProxy::focusedElementDidChangeInputMode); |
1662 | return; |
1663 | } |
1664 | #endif |
1665 | #if PLATFORM(IOS_FAMILY) |
1666 | if (decoder.messageName() == Messages::WebPageProxy::ScrollingNodeScrollWillStartScroll::name()) { |
1667 | IPC::handleMessage<Messages::WebPageProxy::ScrollingNodeScrollWillStartScroll>(decoder, this, &WebPageProxy::scrollingNodeScrollWillStartScroll); |
1668 | return; |
1669 | } |
1670 | #endif |
1671 | #if PLATFORM(IOS_FAMILY) |
1672 | if (decoder.messageName() == Messages::WebPageProxy::ScrollingNodeScrollDidEndScroll::name()) { |
1673 | IPC::handleMessage<Messages::WebPageProxy::ScrollingNodeScrollDidEndScroll>(decoder, this, &WebPageProxy::scrollingNodeScrollDidEndScroll); |
1674 | return; |
1675 | } |
1676 | #endif |
1677 | #if PLATFORM(IOS_FAMILY) |
1678 | if (decoder.messageName() == Messages::WebPageProxy::ShowInspectorHighlight::name()) { |
1679 | IPC::handleMessage<Messages::WebPageProxy::ShowInspectorHighlight>(decoder, this, &WebPageProxy::showInspectorHighlight); |
1680 | return; |
1681 | } |
1682 | #endif |
1683 | #if PLATFORM(IOS_FAMILY) |
1684 | if (decoder.messageName() == Messages::WebPageProxy::HideInspectorHighlight::name()) { |
1685 | IPC::handleMessage<Messages::WebPageProxy::HideInspectorHighlight>(decoder, this, &WebPageProxy::hideInspectorHighlight); |
1686 | return; |
1687 | } |
1688 | #endif |
1689 | #if PLATFORM(IOS_FAMILY) |
1690 | if (decoder.messageName() == Messages::WebPageProxy::FocusedElementInformationCallback::name()) { |
1691 | IPC::handleMessage<Messages::WebPageProxy::FocusedElementInformationCallback>(decoder, this, &WebPageProxy::focusedElementInformationCallback); |
1692 | return; |
1693 | } |
1694 | #endif |
1695 | #if PLATFORM(IOS_FAMILY) |
1696 | if (decoder.messageName() == Messages::WebPageProxy::ShowInspectorIndication::name()) { |
1697 | IPC::handleMessage<Messages::WebPageProxy::ShowInspectorIndication>(decoder, this, &WebPageProxy::showInspectorIndication); |
1698 | return; |
1699 | } |
1700 | #endif |
1701 | #if PLATFORM(IOS_FAMILY) |
1702 | if (decoder.messageName() == Messages::WebPageProxy::HideInspectorIndication::name()) { |
1703 | IPC::handleMessage<Messages::WebPageProxy::HideInspectorIndication>(decoder, this, &WebPageProxy::hideInspectorIndication); |
1704 | return; |
1705 | } |
1706 | #endif |
1707 | #if PLATFORM(IOS_FAMILY) |
1708 | if (decoder.messageName() == Messages::WebPageProxy::EnableInspectorNodeSearch::name()) { |
1709 | IPC::handleMessage<Messages::WebPageProxy::EnableInspectorNodeSearch>(decoder, this, &WebPageProxy::enableInspectorNodeSearch); |
1710 | return; |
1711 | } |
1712 | #endif |
1713 | #if PLATFORM(IOS_FAMILY) |
1714 | if (decoder.messageName() == Messages::WebPageProxy::DisableInspectorNodeSearch::name()) { |
1715 | IPC::handleMessage<Messages::WebPageProxy::DisableInspectorNodeSearch>(decoder, this, &WebPageProxy::disableInspectorNodeSearch); |
1716 | return; |
1717 | } |
1718 | #endif |
1719 | #if PLATFORM(IOS_FAMILY) |
1720 | if (decoder.messageName() == Messages::WebPageProxy::UpdateStringForFind::name()) { |
1721 | IPC::handleMessage<Messages::WebPageProxy::UpdateStringForFind>(decoder, this, &WebPageProxy::updateStringForFind); |
1722 | return; |
1723 | } |
1724 | #endif |
1725 | #if PLATFORM(IOS_FAMILY) |
1726 | if (decoder.messageName() == Messages::WebPageProxy::HandleAutocorrectionContext::name()) { |
1727 | IPC::handleMessage<Messages::WebPageProxy::HandleAutocorrectionContext>(decoder, this, &WebPageProxy::handleAutocorrectionContext); |
1728 | return; |
1729 | } |
1730 | #endif |
1731 | if (decoder.messageName() == Messages::WebPageProxy::DidChangeInspectorFrontendCount::name()) { |
1732 | IPC::handleMessage<Messages::WebPageProxy::DidChangeInspectorFrontendCount>(decoder, this, &WebPageProxy::didChangeInspectorFrontendCount); |
1733 | return; |
1734 | } |
1735 | if (decoder.messageName() == Messages::WebPageProxy::CreateInspectorTarget::name()) { |
1736 | IPC::handleMessage<Messages::WebPageProxy::CreateInspectorTarget>(decoder, this, &WebPageProxy::createInspectorTarget); |
1737 | return; |
1738 | } |
1739 | if (decoder.messageName() == Messages::WebPageProxy::DestroyInspectorTarget::name()) { |
1740 | IPC::handleMessage<Messages::WebPageProxy::DestroyInspectorTarget>(decoder, this, &WebPageProxy::destroyInspectorTarget); |
1741 | return; |
1742 | } |
1743 | if (decoder.messageName() == Messages::WebPageProxy::SendMessageToInspectorFrontend::name()) { |
1744 | IPC::handleMessage<Messages::WebPageProxy::SendMessageToInspectorFrontend>(decoder, this, &WebPageProxy::sendMessageToInspectorFrontend); |
1745 | return; |
1746 | } |
1747 | if (decoder.messageName() == Messages::WebPageProxy::SaveRecentSearches::name()) { |
1748 | IPC::handleMessage<Messages::WebPageProxy::SaveRecentSearches>(decoder, this, &WebPageProxy::saveRecentSearches); |
1749 | return; |
1750 | } |
1751 | if (decoder.messageName() == Messages::WebPageProxy::SavePDFToFileInDownloadsFolder::name()) { |
1752 | IPC::handleMessage<Messages::WebPageProxy::SavePDFToFileInDownloadsFolder>(decoder, this, &WebPageProxy::savePDFToFileInDownloadsFolder); |
1753 | return; |
1754 | } |
1755 | #if PLATFORM(COCOA) |
1756 | if (decoder.messageName() == Messages::WebPageProxy::SavePDFToTemporaryFolderAndOpenWithNativeApplication::name()) { |
1757 | IPC::handleMessage<Messages::WebPageProxy::SavePDFToTemporaryFolderAndOpenWithNativeApplication>(decoder, this, &WebPageProxy::savePDFToTemporaryFolderAndOpenWithNativeApplication); |
1758 | return; |
1759 | } |
1760 | #endif |
1761 | #if PLATFORM(COCOA) |
1762 | if (decoder.messageName() == Messages::WebPageProxy::OpenPDFFromTemporaryFolderWithNativeApplication::name()) { |
1763 | IPC::handleMessage<Messages::WebPageProxy::OpenPDFFromTemporaryFolderWithNativeApplication>(decoder, this, &WebPageProxy::openPDFFromTemporaryFolderWithNativeApplication); |
1764 | return; |
1765 | } |
1766 | #endif |
1767 | if (decoder.messageName() == Messages::WebPageProxy::DidUpdateActivityState::name()) { |
1768 | IPC::handleMessage<Messages::WebPageProxy::DidUpdateActivityState>(decoder, this, &WebPageProxy::didUpdateActivityState); |
1769 | return; |
1770 | } |
1771 | if (decoder.messageName() == Messages::WebPageProxy::DidSaveToPageCache::name()) { |
1772 | IPC::handleMessage<Messages::WebPageProxy::DidSaveToPageCache>(decoder, this, &WebPageProxy::didSaveToPageCache); |
1773 | return; |
1774 | } |
1775 | #if (ENABLE(TELEPHONE_NUMBER_DETECTION) && PLATFORM(MAC)) |
1776 | if (decoder.messageName() == Messages::WebPageProxy::ShowTelephoneNumberMenu::name()) { |
1777 | IPC::handleMessage<Messages::WebPageProxy::ShowTelephoneNumberMenu>(decoder, this, &WebPageProxy::showTelephoneNumberMenu); |
1778 | return; |
1779 | } |
1780 | #endif |
1781 | #if USE(QUICK_LOOK) |
1782 | if (decoder.messageName() == Messages::WebPageProxy::DidStartLoadForQuickLookDocumentInMainFrame::name()) { |
1783 | IPC::handleMessage<Messages::WebPageProxy::DidStartLoadForQuickLookDocumentInMainFrame>(decoder, this, &WebPageProxy::didStartLoadForQuickLookDocumentInMainFrame); |
1784 | return; |
1785 | } |
1786 | #endif |
1787 | #if USE(QUICK_LOOK) |
1788 | if (decoder.messageName() == Messages::WebPageProxy::DidFinishLoadForQuickLookDocumentInMainFrame::name()) { |
1789 | IPC::handleMessage<Messages::WebPageProxy::DidFinishLoadForQuickLookDocumentInMainFrame>(decoder, this, &WebPageProxy::didFinishLoadForQuickLookDocumentInMainFrame); |
1790 | return; |
1791 | } |
1792 | #endif |
1793 | #if USE(QUICK_LOOK) |
1794 | if (decoder.messageName() == Messages::WebPageProxy::DidRequestPasswordForQuickLookDocumentInMainFrame::name()) { |
1795 | IPC::handleMessage<Messages::WebPageProxy::DidRequestPasswordForQuickLookDocumentInMainFrame>(decoder, this, &WebPageProxy::didRequestPasswordForQuickLookDocumentInMainFrame); |
1796 | return; |
1797 | } |
1798 | #endif |
1799 | #if ENABLE(CONTENT_FILTERING) |
1800 | if (decoder.messageName() == Messages::WebPageProxy::ContentFilterDidBlockLoadForFrame::name()) { |
1801 | IPC::handleMessage<Messages::WebPageProxy::ContentFilterDidBlockLoadForFrame>(decoder, this, &WebPageProxy::contentFilterDidBlockLoadForFrame); |
1802 | return; |
1803 | } |
1804 | #endif |
1805 | if (decoder.messageName() == Messages::WebPageProxy::IsPlayingMediaDidChange::name()) { |
1806 | IPC::handleMessage<Messages::WebPageProxy::IsPlayingMediaDidChange>(decoder, this, &WebPageProxy::isPlayingMediaDidChange); |
1807 | return; |
1808 | } |
1809 | if (decoder.messageName() == Messages::WebPageProxy::HandleAutoplayEvent::name()) { |
1810 | IPC::handleMessage<Messages::WebPageProxy::HandleAutoplayEvent>(decoder, this, &WebPageProxy::handleAutoplayEvent); |
1811 | return; |
1812 | } |
1813 | #if ENABLE(MEDIA_SESSION) |
1814 | if (decoder.messageName() == Messages::WebPageProxy::HasMediaSessionWithActiveMediaElementsDidChange::name()) { |
1815 | IPC::handleMessage<Messages::WebPageProxy::HasMediaSessionWithActiveMediaElementsDidChange>(decoder, this, &WebPageProxy::hasMediaSessionWithActiveMediaElementsDidChange); |
1816 | return; |
1817 | } |
1818 | #endif |
1819 | #if ENABLE(MEDIA_SESSION) |
1820 | if (decoder.messageName() == Messages::WebPageProxy::MediaSessionMetadataDidChange::name()) { |
1821 | IPC::handleMessage<Messages::WebPageProxy::MediaSessionMetadataDidChange>(decoder, this, &WebPageProxy::mediaSessionMetadataDidChange); |
1822 | return; |
1823 | } |
1824 | #endif |
1825 | #if ENABLE(MEDIA_SESSION) |
1826 | if (decoder.messageName() == Messages::WebPageProxy::FocusedContentMediaElementDidChange::name()) { |
1827 | IPC::handleMessage<Messages::WebPageProxy::FocusedContentMediaElementDidChange>(decoder, this, &WebPageProxy::focusedContentMediaElementDidChange); |
1828 | return; |
1829 | } |
1830 | #endif |
1831 | #if PLATFORM(MAC) |
1832 | if (decoder.messageName() == Messages::WebPageProxy::DidPerformImmediateActionHitTest::name()) { |
1833 | IPC::handleMessage<Messages::WebPageProxy::DidPerformImmediateActionHitTest>(decoder, this, &WebPageProxy::didPerformImmediateActionHitTest); |
1834 | return; |
1835 | } |
1836 | #endif |
1837 | if (decoder.messageName() == Messages::WebPageProxy::HandleMessage::name()) { |
1838 | IPC::handleMessage<Messages::WebPageProxy::HandleMessage>(connection, decoder, this, &WebPageProxy::handleMessage); |
1839 | return; |
1840 | } |
1841 | if (decoder.messageName() == Messages::WebPageProxy::HandleAutoFillButtonClick::name()) { |
1842 | IPC::handleMessage<Messages::WebPageProxy::HandleAutoFillButtonClick>(decoder, this, &WebPageProxy::handleAutoFillButtonClick); |
1843 | return; |
1844 | } |
1845 | if (decoder.messageName() == Messages::WebPageProxy::DidResignInputElementStrongPasswordAppearance::name()) { |
1846 | IPC::handleMessage<Messages::WebPageProxy::DidResignInputElementStrongPasswordAppearance>(decoder, this, &WebPageProxy::didResignInputElementStrongPasswordAppearance); |
1847 | return; |
1848 | } |
1849 | if (decoder.messageName() == Messages::WebPageProxy::ContentRuleListNotification::name()) { |
1850 | IPC::handleMessage<Messages::WebPageProxy::ContentRuleListNotification>(decoder, this, &WebPageProxy::contentRuleListNotification); |
1851 | return; |
1852 | } |
1853 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1854 | if (decoder.messageName() == Messages::WebPageProxy::AddPlaybackTargetPickerClient::name()) { |
1855 | IPC::handleMessage<Messages::WebPageProxy::AddPlaybackTargetPickerClient>(decoder, this, &WebPageProxy::addPlaybackTargetPickerClient); |
1856 | return; |
1857 | } |
1858 | #endif |
1859 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1860 | if (decoder.messageName() == Messages::WebPageProxy::RemovePlaybackTargetPickerClient::name()) { |
1861 | IPC::handleMessage<Messages::WebPageProxy::RemovePlaybackTargetPickerClient>(decoder, this, &WebPageProxy::removePlaybackTargetPickerClient); |
1862 | return; |
1863 | } |
1864 | #endif |
1865 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1866 | if (decoder.messageName() == Messages::WebPageProxy::ShowPlaybackTargetPicker::name()) { |
1867 | IPC::handleMessage<Messages::WebPageProxy::ShowPlaybackTargetPicker>(decoder, this, &WebPageProxy::showPlaybackTargetPicker); |
1868 | return; |
1869 | } |
1870 | #endif |
1871 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1872 | if (decoder.messageName() == Messages::WebPageProxy::PlaybackTargetPickerClientStateDidChange::name()) { |
1873 | IPC::handleMessage<Messages::WebPageProxy::PlaybackTargetPickerClientStateDidChange>(decoder, this, &WebPageProxy::playbackTargetPickerClientStateDidChange); |
1874 | return; |
1875 | } |
1876 | #endif |
1877 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1878 | if (decoder.messageName() == Messages::WebPageProxy::SetMockMediaPlaybackTargetPickerEnabled::name()) { |
1879 | IPC::handleMessage<Messages::WebPageProxy::SetMockMediaPlaybackTargetPickerEnabled>(decoder, this, &WebPageProxy::setMockMediaPlaybackTargetPickerEnabled); |
1880 | return; |
1881 | } |
1882 | #endif |
1883 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY) |
1884 | if (decoder.messageName() == Messages::WebPageProxy::SetMockMediaPlaybackTargetPickerState::name()) { |
1885 | IPC::handleMessage<Messages::WebPageProxy::SetMockMediaPlaybackTargetPickerState>(decoder, this, &WebPageProxy::setMockMediaPlaybackTargetPickerState); |
1886 | return; |
1887 | } |
1888 | #endif |
1889 | #if ENABLE(POINTER_LOCK) |
1890 | if (decoder.messageName() == Messages::WebPageProxy::RequestPointerLock::name()) { |
1891 | IPC::handleMessage<Messages::WebPageProxy::RequestPointerLock>(decoder, this, &WebPageProxy::requestPointerLock); |
1892 | return; |
1893 | } |
1894 | #endif |
1895 | #if ENABLE(POINTER_LOCK) |
1896 | if (decoder.messageName() == Messages::WebPageProxy::RequestPointerUnlock::name()) { |
1897 | IPC::handleMessage<Messages::WebPageProxy::RequestPointerUnlock>(decoder, this, &WebPageProxy::requestPointerUnlock); |
1898 | return; |
1899 | } |
1900 | #endif |
1901 | if (decoder.messageName() == Messages::WebPageProxy::DidFailToSuspendAfterProcessSwap::name()) { |
1902 | IPC::handleMessage<Messages::WebPageProxy::DidFailToSuspendAfterProcessSwap>(decoder, this, &WebPageProxy::didFailToSuspendAfterProcessSwap); |
1903 | return; |
1904 | } |
1905 | if (decoder.messageName() == Messages::WebPageProxy::DidSuspendAfterProcessSwap::name()) { |
1906 | IPC::handleMessage<Messages::WebPageProxy::DidSuspendAfterProcessSwap>(decoder, this, &WebPageProxy::didSuspendAfterProcessSwap); |
1907 | return; |
1908 | } |
1909 | if (decoder.messageName() == Messages::WebPageProxy::ImageOrMediaDocumentSizeChanged::name()) { |
1910 | IPC::handleMessage<Messages::WebPageProxy::ImageOrMediaDocumentSizeChanged>(decoder, this, &WebPageProxy::imageOrMediaDocumentSizeChanged); |
1911 | return; |
1912 | } |
1913 | if (decoder.messageName() == Messages::WebPageProxy::UseFixedLayoutDidChange::name()) { |
1914 | IPC::handleMessage<Messages::WebPageProxy::UseFixedLayoutDidChange>(decoder, this, &WebPageProxy::useFixedLayoutDidChange); |
1915 | return; |
1916 | } |
1917 | if (decoder.messageName() == Messages::WebPageProxy::FixedLayoutSizeDidChange::name()) { |
1918 | IPC::handleMessage<Messages::WebPageProxy::FixedLayoutSizeDidChange>(decoder, this, &WebPageProxy::fixedLayoutSizeDidChange); |
1919 | return; |
1920 | } |
1921 | #if ENABLE(VIDEO) && USE(GSTREAMER) |
1922 | if (decoder.messageName() == Messages::WebPageProxy::RequestInstallMissingMediaPlugins::name()) { |
1923 | IPC::handleMessage<Messages::WebPageProxy::RequestInstallMissingMediaPlugins>(decoder, this, &WebPageProxy::requestInstallMissingMediaPlugins); |
1924 | return; |
1925 | } |
1926 | #endif |
1927 | if (decoder.messageName() == Messages::WebPageProxy::DidRestoreScrollPosition::name()) { |
1928 | IPC::handleMessage<Messages::WebPageProxy::DidRestoreScrollPosition>(decoder, this, &WebPageProxy::didRestoreScrollPosition); |
1929 | return; |
1930 | } |
1931 | if (decoder.messageName() == Messages::WebPageProxy::GetLoadDecisionForIcon::name()) { |
1932 | IPC::handleMessage<Messages::WebPageProxy::GetLoadDecisionForIcon>(decoder, this, &WebPageProxy::getLoadDecisionForIcon); |
1933 | return; |
1934 | } |
1935 | if (decoder.messageName() == Messages::WebPageProxy::FinishedLoadingIcon::name()) { |
1936 | IPC::handleMessage<Messages::WebPageProxy::FinishedLoadingIcon>(decoder, this, &WebPageProxy::finishedLoadingIcon); |
1937 | return; |
1938 | } |
1939 | #if PLATFORM(MAC) |
1940 | if (decoder.messageName() == Messages::WebPageProxy::DidHandleAcceptedCandidate::name()) { |
1941 | IPC::handleMessage<Messages::WebPageProxy::DidHandleAcceptedCandidate>(decoder, this, &WebPageProxy::didHandleAcceptedCandidate); |
1942 | return; |
1943 | } |
1944 | #endif |
1945 | if (decoder.messageName() == Messages::WebPageProxy::SetIsUsingHighPerformanceWebGL::name()) { |
1946 | IPC::handleMessage<Messages::WebPageProxy::SetIsUsingHighPerformanceWebGL>(decoder, this, &WebPageProxy::setIsUsingHighPerformanceWebGL); |
1947 | return; |
1948 | } |
1949 | if (decoder.messageName() == Messages::WebPageProxy::StartURLSchemeTask::name()) { |
1950 | IPC::handleMessage<Messages::WebPageProxy::StartURLSchemeTask>(decoder, this, &WebPageProxy::startURLSchemeTask); |
1951 | return; |
1952 | } |
1953 | if (decoder.messageName() == Messages::WebPageProxy::StopURLSchemeTask::name()) { |
1954 | IPC::handleMessage<Messages::WebPageProxy::StopURLSchemeTask>(decoder, this, &WebPageProxy::stopURLSchemeTask); |
1955 | return; |
1956 | } |
1957 | #if ENABLE(DEVICE_ORIENTATION) |
1958 | if (decoder.messageName() == Messages::WebPageProxy::ShouldAllowDeviceOrientationAndMotionAccess::name()) { |
1959 | IPC::handleMessageAsync<Messages::WebPageProxy::ShouldAllowDeviceOrientationAndMotionAccess>(connection, decoder, this, &WebPageProxy::shouldAllowDeviceOrientationAndMotionAccess); |
1960 | return; |
1961 | } |
1962 | #endif |
1963 | #if ENABLE(ATTACHMENT_ELEMENT) |
1964 | if (decoder.messageName() == Messages::WebPageProxy::RegisterAttachmentIdentifierFromData::name()) { |
1965 | IPC::handleMessage<Messages::WebPageProxy::RegisterAttachmentIdentifierFromData>(decoder, this, &WebPageProxy::registerAttachmentIdentifierFromData); |
1966 | return; |
1967 | } |
1968 | #endif |
1969 | #if ENABLE(ATTACHMENT_ELEMENT) |
1970 | if (decoder.messageName() == Messages::WebPageProxy::RegisterAttachmentIdentifierFromFilePath::name()) { |
1971 | IPC::handleMessage<Messages::WebPageProxy::RegisterAttachmentIdentifierFromFilePath>(decoder, this, &WebPageProxy::registerAttachmentIdentifierFromFilePath); |
1972 | return; |
1973 | } |
1974 | #endif |
1975 | #if ENABLE(ATTACHMENT_ELEMENT) |
1976 | if (decoder.messageName() == Messages::WebPageProxy::RegisterAttachmentIdentifier::name()) { |
1977 | IPC::handleMessage<Messages::WebPageProxy::RegisterAttachmentIdentifier>(decoder, this, &WebPageProxy::registerAttachmentIdentifier); |
1978 | return; |
1979 | } |
1980 | #endif |
1981 | #if ENABLE(ATTACHMENT_ELEMENT) |
1982 | if (decoder.messageName() == Messages::WebPageProxy::registerAttachmentsFromSerializedData::name()) { |
1983 | IPC::handleMessage<Messages::WebPageProxy::registerAttachmentsFromSerializedData>(decoder, this, &WebPageProxy::registerAttachmentsFromSerializedData); |
1984 | return; |
1985 | } |
1986 | #endif |
1987 | #if ENABLE(ATTACHMENT_ELEMENT) |
1988 | if (decoder.messageName() == Messages::WebPageProxy::CloneAttachmentData::name()) { |
1989 | IPC::handleMessage<Messages::WebPageProxy::CloneAttachmentData>(decoder, this, &WebPageProxy::cloneAttachmentData); |
1990 | return; |
1991 | } |
1992 | #endif |
1993 | #if ENABLE(ATTACHMENT_ELEMENT) |
1994 | if (decoder.messageName() == Messages::WebPageProxy::DidInsertAttachmentWithIdentifier::name()) { |
1995 | IPC::handleMessage<Messages::WebPageProxy::DidInsertAttachmentWithIdentifier>(decoder, this, &WebPageProxy::didInsertAttachmentWithIdentifier); |
1996 | return; |
1997 | } |
1998 | #endif |
1999 | #if ENABLE(ATTACHMENT_ELEMENT) |
2000 | if (decoder.messageName() == Messages::WebPageProxy::DidRemoveAttachmentWithIdentifier::name()) { |
2001 | IPC::handleMessage<Messages::WebPageProxy::DidRemoveAttachmentWithIdentifier>(decoder, this, &WebPageProxy::didRemoveAttachmentWithIdentifier); |
2002 | return; |
2003 | } |
2004 | #endif |
2005 | #if ENABLE(SPEECH_SYNTHESIS) |
2006 | if (decoder.messageName() == Messages::WebPageProxy::SpeechSynthesisSpeak::name()) { |
2007 | IPC::handleMessageAsync<Messages::WebPageProxy::SpeechSynthesisSpeak>(connection, decoder, this, &WebPageProxy::speechSynthesisSpeak); |
2008 | return; |
2009 | } |
2010 | #endif |
2011 | #if ENABLE(SPEECH_SYNTHESIS) |
2012 | if (decoder.messageName() == Messages::WebPageProxy::SpeechSynthesisCancel::name()) { |
2013 | IPC::handleMessage<Messages::WebPageProxy::SpeechSynthesisCancel>(decoder, this, &WebPageProxy::speechSynthesisCancel); |
2014 | return; |
2015 | } |
2016 | #endif |
2017 | #if ENABLE(SPEECH_SYNTHESIS) |
2018 | if (decoder.messageName() == Messages::WebPageProxy::SpeechSynthesisPause::name()) { |
2019 | IPC::handleMessageAsync<Messages::WebPageProxy::SpeechSynthesisPause>(connection, decoder, this, &WebPageProxy::speechSynthesisPause); |
2020 | return; |
2021 | } |
2022 | #endif |
2023 | #if ENABLE(SPEECH_SYNTHESIS) |
2024 | if (decoder.messageName() == Messages::WebPageProxy::SpeechSynthesisResume::name()) { |
2025 | IPC::handleMessageAsync<Messages::WebPageProxy::SpeechSynthesisResume>(connection, decoder, this, &WebPageProxy::speechSynthesisResume); |
2026 | return; |
2027 | } |
2028 | #endif |
2029 | if (decoder.messageName() == Messages::WebPageProxy::ConfigureLoggingChannel::name()) { |
2030 | IPC::handleMessage<Messages::WebPageProxy::ConfigureLoggingChannel>(decoder, this, &WebPageProxy::configureLoggingChannel); |
2031 | return; |
2032 | } |
2033 | #if PLATFORM(GTK) |
2034 | if (decoder.messageName() == Messages::WebPageProxy::ShowEmojiPicker::name()) { |
2035 | IPC::handleMessageAsync<Messages::WebPageProxy::ShowEmojiPicker>(connection, decoder, this, &WebPageProxy::showEmojiPicker); |
2036 | return; |
2037 | } |
2038 | #endif |
2039 | UNUSED_PARAM(connection); |
2040 | UNUSED_PARAM(decoder); |
2041 | ASSERT_NOT_REACHED(); |
2042 | } |
2043 | |
2044 | void WebPageProxy::didReceiveSyncMessage(IPC::Connection& connection, IPC::Decoder& decoder, std::unique_ptr<IPC::Encoder>& replyEncoder) |
2045 | { |
2046 | if (decoder.messageName() == Messages::WebPageProxy::CreateNewPage::name()) { |
2047 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CreateNewPage>(connection, decoder, replyEncoder, this, &WebPageProxy::createNewPage); |
2048 | return; |
2049 | } |
2050 | if (decoder.messageName() == Messages::WebPageProxy::RunJavaScriptAlert::name()) { |
2051 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RunJavaScriptAlert>(connection, decoder, replyEncoder, this, &WebPageProxy::runJavaScriptAlert); |
2052 | return; |
2053 | } |
2054 | if (decoder.messageName() == Messages::WebPageProxy::RunJavaScriptConfirm::name()) { |
2055 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RunJavaScriptConfirm>(connection, decoder, replyEncoder, this, &WebPageProxy::runJavaScriptConfirm); |
2056 | return; |
2057 | } |
2058 | if (decoder.messageName() == Messages::WebPageProxy::RunJavaScriptPrompt::name()) { |
2059 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RunJavaScriptPrompt>(connection, decoder, replyEncoder, this, &WebPageProxy::runJavaScriptPrompt); |
2060 | return; |
2061 | } |
2062 | #if ENABLE(WEBGL) |
2063 | if (decoder.messageName() == Messages::WebPageProxy::WebGLPolicyForURL::name()) { |
2064 | IPC::handleMessageSynchronous<Messages::WebPageProxy::WebGLPolicyForURL>(connection, decoder, replyEncoder, this, &WebPageProxy::webGLPolicyForURL); |
2065 | return; |
2066 | } |
2067 | #endif |
2068 | #if ENABLE(WEBGL) |
2069 | if (decoder.messageName() == Messages::WebPageProxy::ResolveWebGLPolicyForURL::name()) { |
2070 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ResolveWebGLPolicyForURL>(connection, decoder, replyEncoder, this, &WebPageProxy::resolveWebGLPolicyForURL); |
2071 | return; |
2072 | } |
2073 | #endif |
2074 | if (decoder.messageName() == Messages::WebPageProxy::GetToolbarsAreVisible::name()) { |
2075 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetToolbarsAreVisible>(connection, decoder, replyEncoder, this, &WebPageProxy::getToolbarsAreVisible); |
2076 | return; |
2077 | } |
2078 | if (decoder.messageName() == Messages::WebPageProxy::GetMenuBarIsVisible::name()) { |
2079 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetMenuBarIsVisible>(connection, decoder, replyEncoder, this, &WebPageProxy::getMenuBarIsVisible); |
2080 | return; |
2081 | } |
2082 | if (decoder.messageName() == Messages::WebPageProxy::GetStatusBarIsVisible::name()) { |
2083 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetStatusBarIsVisible>(connection, decoder, replyEncoder, this, &WebPageProxy::getStatusBarIsVisible); |
2084 | return; |
2085 | } |
2086 | if (decoder.messageName() == Messages::WebPageProxy::GetWindowFrame::name()) { |
2087 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetWindowFrame>(connection, decoder, replyEncoder, this, &WebPageProxy::getWindowFrame); |
2088 | return; |
2089 | } |
2090 | if (decoder.messageName() == Messages::WebPageProxy::ScreenToRootView::name()) { |
2091 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ScreenToRootView>(connection, decoder, replyEncoder, this, &WebPageProxy::screenToRootView); |
2092 | return; |
2093 | } |
2094 | if (decoder.messageName() == Messages::WebPageProxy::RootViewToScreen::name()) { |
2095 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RootViewToScreen>(connection, decoder, replyEncoder, this, &WebPageProxy::rootViewToScreen); |
2096 | return; |
2097 | } |
2098 | if (decoder.messageName() == Messages::WebPageProxy::AccessibilityScreenToRootView::name()) { |
2099 | IPC::handleMessageSynchronous<Messages::WebPageProxy::AccessibilityScreenToRootView>(connection, decoder, replyEncoder, this, &WebPageProxy::accessibilityScreenToRootView); |
2100 | return; |
2101 | } |
2102 | if (decoder.messageName() == Messages::WebPageProxy::RootViewToAccessibilityScreen::name()) { |
2103 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RootViewToAccessibilityScreen>(connection, decoder, replyEncoder, this, &WebPageProxy::rootViewToAccessibilityScreen); |
2104 | return; |
2105 | } |
2106 | if (decoder.messageName() == Messages::WebPageProxy::RunBeforeUnloadConfirmPanel::name()) { |
2107 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RunBeforeUnloadConfirmPanel>(connection, decoder, replyEncoder, this, &WebPageProxy::runBeforeUnloadConfirmPanel); |
2108 | return; |
2109 | } |
2110 | if (decoder.messageName() == Messages::WebPageProxy::PrintFrame::name()) { |
2111 | IPC::handleMessageSynchronous<Messages::WebPageProxy::PrintFrame>(connection, decoder, replyEncoder, this, &WebPageProxy::printFrame); |
2112 | return; |
2113 | } |
2114 | if (decoder.messageName() == Messages::WebPageProxy::DecidePolicyForNavigationActionSync::name()) { |
2115 | IPC::handleMessageSynchronous<Messages::WebPageProxy::DecidePolicyForNavigationActionSync>(connection, decoder, replyEncoder, this, &WebPageProxy::decidePolicyForNavigationActionSync); |
2116 | return; |
2117 | } |
2118 | if (decoder.messageName() == Messages::WebPageProxy::HasInsecureContent::name()) { |
2119 | IPC::handleMessageSynchronous<Messages::WebPageProxy::HasInsecureContent>(connection, decoder, replyEncoder, this, &WebPageProxy::hasInsecureContent); |
2120 | return; |
2121 | } |
2122 | #if PLATFORM(IOS_FAMILY) |
2123 | if (decoder.messageName() == Messages::WebPageProxy::InterpretKeyEvent::name()) { |
2124 | IPC::handleMessageSynchronous<Messages::WebPageProxy::InterpretKeyEvent>(connection, decoder, replyEncoder, this, &WebPageProxy::interpretKeyEvent); |
2125 | return; |
2126 | } |
2127 | #endif |
2128 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardGoToItem::name()) { |
2129 | IPC::handleMessageSynchronous<Messages::WebPageProxy::BackForwardGoToItem>(connection, decoder, replyEncoder, this, &WebPageProxy::backForwardGoToItem); |
2130 | return; |
2131 | } |
2132 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardItemAtIndex::name()) { |
2133 | IPC::handleMessageSynchronous<Messages::WebPageProxy::BackForwardItemAtIndex>(connection, decoder, replyEncoder, this, &WebPageProxy::backForwardItemAtIndex); |
2134 | return; |
2135 | } |
2136 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardBackListCount::name()) { |
2137 | IPC::handleMessageSynchronous<Messages::WebPageProxy::BackForwardBackListCount>(connection, decoder, replyEncoder, this, &WebPageProxy::backForwardBackListCount); |
2138 | return; |
2139 | } |
2140 | if (decoder.messageName() == Messages::WebPageProxy::BackForwardForwardListCount::name()) { |
2141 | IPC::handleMessageSynchronous<Messages::WebPageProxy::BackForwardForwardListCount>(connection, decoder, replyEncoder, this, &WebPageProxy::backForwardForwardListCount); |
2142 | return; |
2143 | } |
2144 | if (decoder.messageName() == Messages::WebPageProxy::CanUndoRedo::name()) { |
2145 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CanUndoRedo>(connection, decoder, replyEncoder, this, &WebPageProxy::canUndoRedo); |
2146 | return; |
2147 | } |
2148 | if (decoder.messageName() == Messages::WebPageProxy::ExecuteUndoRedo::name()) { |
2149 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ExecuteUndoRedo>(connection, decoder, replyEncoder, this, &WebPageProxy::executeUndoRedo); |
2150 | return; |
2151 | } |
2152 | if (decoder.messageName() == Messages::WebPageProxy::RequestDOMPasteAccess::name()) { |
2153 | IPC::handleMessageSynchronous<Messages::WebPageProxy::RequestDOMPasteAccess>(connection, decoder, replyEncoder, this, &WebPageProxy::requestDOMPasteAccess); |
2154 | return; |
2155 | } |
2156 | if (decoder.messageName() == Messages::WebPageProxy::ExceededDatabaseQuota::name()) { |
2157 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ExceededDatabaseQuota>(connection, decoder, replyEncoder, this, &WebPageProxy::exceededDatabaseQuota); |
2158 | return; |
2159 | } |
2160 | if (decoder.messageName() == Messages::WebPageProxy::ReachedApplicationCacheOriginQuota::name()) { |
2161 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ReachedApplicationCacheOriginQuota>(connection, decoder, replyEncoder, this, &WebPageProxy::reachedApplicationCacheOriginQuota); |
2162 | return; |
2163 | } |
2164 | #if USE(UNIFIED_TEXT_CHECKING) |
2165 | if (decoder.messageName() == Messages::WebPageProxy::CheckTextOfParagraph::name()) { |
2166 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CheckTextOfParagraph>(connection, decoder, replyEncoder, this, &WebPageProxy::checkTextOfParagraph); |
2167 | return; |
2168 | } |
2169 | #endif |
2170 | if (decoder.messageName() == Messages::WebPageProxy::CheckSpellingOfString::name()) { |
2171 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CheckSpellingOfString>(connection, decoder, replyEncoder, this, &WebPageProxy::checkSpellingOfString); |
2172 | return; |
2173 | } |
2174 | if (decoder.messageName() == Messages::WebPageProxy::CheckGrammarOfString::name()) { |
2175 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CheckGrammarOfString>(connection, decoder, replyEncoder, this, &WebPageProxy::checkGrammarOfString); |
2176 | return; |
2177 | } |
2178 | if (decoder.messageName() == Messages::WebPageProxy::SpellingUIIsShowing::name()) { |
2179 | IPC::handleMessageSynchronous<Messages::WebPageProxy::SpellingUIIsShowing>(connection, decoder, replyEncoder, this, &WebPageProxy::spellingUIIsShowing); |
2180 | return; |
2181 | } |
2182 | if (decoder.messageName() == Messages::WebPageProxy::GetGuessesForWord::name()) { |
2183 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetGuessesForWord>(connection, decoder, replyEncoder, this, &WebPageProxy::getGuessesForWord); |
2184 | return; |
2185 | } |
2186 | #if PLATFORM(COCOA) |
2187 | if (decoder.messageName() == Messages::WebPageProxy::ExecuteSavedCommandBySelector::name()) { |
2188 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ExecuteSavedCommandBySelector>(connection, decoder, replyEncoder, this, &WebPageProxy::executeSavedCommandBySelector); |
2189 | return; |
2190 | } |
2191 | #endif |
2192 | #if PLATFORM(COCOA) |
2193 | if (decoder.messageName() == Messages::WebPageProxy::GetIsSpeaking::name()) { |
2194 | IPC::handleMessageSynchronous<Messages::WebPageProxy::GetIsSpeaking>(connection, decoder, replyEncoder, this, &WebPageProxy::getIsSpeaking); |
2195 | return; |
2196 | } |
2197 | #endif |
2198 | #if USE(APPKIT) |
2199 | if (decoder.messageName() == Messages::WebPageProxy::SubstitutionsPanelIsShowing::name()) { |
2200 | IPC::handleMessageSynchronous<Messages::WebPageProxy::SubstitutionsPanelIsShowing>(connection, decoder, replyEncoder, this, &WebPageProxy::substitutionsPanelIsShowing); |
2201 | return; |
2202 | } |
2203 | #endif |
2204 | #if PLATFORM(MAC) |
2205 | if (decoder.messageName() == Messages::WebPageProxy::DismissCorrectionPanelSoon::name()) { |
2206 | IPC::handleMessageSynchronous<Messages::WebPageProxy::DismissCorrectionPanelSoon>(connection, decoder, replyEncoder, this, &WebPageProxy::dismissCorrectionPanelSoon); |
2207 | return; |
2208 | } |
2209 | #endif |
2210 | #if USE(DICTATION_ALTERNATIVES) |
2211 | if (decoder.messageName() == Messages::WebPageProxy::DictationAlternatives::name()) { |
2212 | IPC::handleMessageSynchronous<Messages::WebPageProxy::DictationAlternatives>(connection, decoder, replyEncoder, this, &WebPageProxy::dictationAlternatives); |
2213 | return; |
2214 | } |
2215 | #endif |
2216 | #if PLATFORM(X11) |
2217 | if (decoder.messageName() == Messages::WebPageProxy::CreatePluginContainer::name()) { |
2218 | IPC::handleMessageSynchronous<Messages::WebPageProxy::CreatePluginContainer>(connection, decoder, replyEncoder, this, &WebPageProxy::createPluginContainer); |
2219 | return; |
2220 | } |
2221 | #endif |
2222 | if (decoder.messageName() == Messages::WebPageProxy::LoadRecentSearches::name()) { |
2223 | IPC::handleMessageSynchronous<Messages::WebPageProxy::LoadRecentSearches>(connection, decoder, replyEncoder, this, &WebPageProxy::loadRecentSearches); |
2224 | return; |
2225 | } |
2226 | #if ENABLE(PDFKIT_PLUGIN) |
2227 | if (decoder.messageName() == Messages::WebPageProxy::ShowPDFContextMenu::name()) { |
2228 | IPC::handleMessageSynchronous<Messages::WebPageProxy::ShowPDFContextMenu>(connection, decoder, replyEncoder, this, &WebPageProxy::showPDFContextMenu); |
2229 | return; |
2230 | } |
2231 | #endif |
2232 | #if ENABLE(NETSCAPE_PLUGIN_API) |
2233 | if (decoder.messageName() == Messages::WebPageProxy::FindPlugin::name()) { |
2234 | IPC::handleMessageSynchronous<Messages::WebPageProxy::FindPlugin>(connection, decoder, replyEncoder, this, &WebPageProxy::findPlugin); |
2235 | return; |
2236 | } |
2237 | #endif |
2238 | #if ENABLE(WEB_CRYPTO) |
2239 | if (decoder.messageName() == Messages::WebPageProxy::WrapCryptoKey::name()) { |
2240 | IPC::handleMessageSynchronous<Messages::WebPageProxy::WrapCryptoKey>(connection, decoder, replyEncoder, this, &WebPageProxy::wrapCryptoKey); |
2241 | return; |
2242 | } |
2243 | #endif |
2244 | #if ENABLE(WEB_CRYPTO) |
2245 | if (decoder.messageName() == Messages::WebPageProxy::UnwrapCryptoKey::name()) { |
2246 | IPC::handleMessageSynchronous<Messages::WebPageProxy::UnwrapCryptoKey>(connection, decoder, replyEncoder, this, &WebPageProxy::unwrapCryptoKey); |
2247 | return; |
2248 | } |
2249 | #endif |
2250 | if (decoder.messageName() == Messages::WebPageProxy::HandleSynchronousMessage::name()) { |
2251 | IPC::handleMessageSynchronousWantsConnection<Messages::WebPageProxy::HandleSynchronousMessage>(connection, decoder, replyEncoder, this, &WebPageProxy::handleSynchronousMessage); |
2252 | return; |
2253 | } |
2254 | if (decoder.messageName() == Messages::WebPageProxy::LoadSynchronousURLSchemeTask::name()) { |
2255 | IPC::handleMessageSynchronous<Messages::WebPageProxy::LoadSynchronousURLSchemeTask>(connection, decoder, replyEncoder, this, &WebPageProxy::loadSynchronousURLSchemeTask); |
2256 | return; |
2257 | } |
2258 | #if ENABLE(ATTACHMENT_ELEMENT) |
2259 | if (decoder.messageName() == Messages::WebPageProxy::SerializedAttachmentDataForIdentifiers::name()) { |
2260 | IPC::handleMessageSynchronous<Messages::WebPageProxy::SerializedAttachmentDataForIdentifiers>(connection, decoder, replyEncoder, this, &WebPageProxy::serializedAttachmentDataForIdentifiers); |
2261 | return; |
2262 | } |
2263 | #endif |
2264 | if (decoder.messageName() == Messages::WebPageProxy::SignedPublicKeyAndChallengeString::name()) { |
2265 | IPC::handleMessageSynchronous<Messages::WebPageProxy::SignedPublicKeyAndChallengeString>(connection, decoder, replyEncoder, this, &WebPageProxy::signedPublicKeyAndChallengeString); |
2266 | return; |
2267 | } |
2268 | #if ENABLE(SPEECH_SYNTHESIS) |
2269 | if (decoder.messageName() == Messages::WebPageProxy::SpeechSynthesisVoiceList::name()) { |
2270 | IPC::handleMessageSynchronous<Messages::WebPageProxy::SpeechSynthesisVoiceList>(connection, decoder, replyEncoder, this, &WebPageProxy::speechSynthesisVoiceList); |
2271 | return; |
2272 | } |
2273 | #endif |
2274 | UNUSED_PARAM(connection); |
2275 | UNUSED_PARAM(decoder); |
2276 | UNUSED_PARAM(replyEncoder); |
2277 | ASSERT_NOT_REACHED(); |
2278 | } |
2279 | |
2280 | } // namespace WebKit |
2281 | |
2282 | |