1 # Copyright (C) 2010-2016 Apple Inc. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
6 # 1. Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright
9 # notice, this list of conditions and the following disclaimer in the
10 # documentation and/or other materials provided with the distribution.
12 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
13 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
16 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
18 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
19 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
20 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 messages -> WebPage LegacyReceiver {
24 SetInitialFocus(bool forward, bool isKeyboardEventValid, WebKit::WebKeyboardEvent event, WebKit::CallbackID callbackID)
25 SetActivityState(OptionSet<WebCore::ActivityState::Flag> activityState, WebKit::ActivityStateChangeID activityStateChangeID, Vector<WebKit::CallbackID> callbackIDs)
26 SetLayerHostingMode(enum:uint8_t WebKit::LayerHostingMode layerHostingMode)
28 SetDrawsBackground(bool drawsBackground)
30 AddConsoleMessage(uint64_t frameID, enum:uint8_t JSC::MessageSource messageSource, enum:uint8_t JSC::MessageLevel messageLevel, String message, uint64_t requestID)
31 SendCSPViolationReport(uint64_t frameID, WebCore::URL reportURL, IPC::FormDataReference reportData)
32 EnqueueSecurityPolicyViolationEvent(uint64_t frameID, WebCore::SecurityPolicyViolationEvent::Init eventInit)
35 SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort)
37 SetTopContentInset(float contentInset)
39 SetUnderlayColor(WebCore::Color color)
41 ViewWillStartLiveResize()
42 ViewWillEndLiveResize()
44 ExecuteEditCommandWithCallback(String name, String argument, WebKit::CallbackID callbackID)
45 KeyEvent(WebKit::WebKeyboardEvent event)
46 MouseEvent(WebKit::WebMouseEvent event)
47 #if PLATFORM(IOS_FAMILY)
48 SetViewportConfigurationViewLayoutSize(WebCore::FloatSize size, double scaleFactor)
49 SetMaximumUnobscuredSize(WebCore::FloatSize size)
50 SetDeviceOrientation(int32_t deviceOrientation)
51 SetOverrideViewportArguments(std::optional<WebCore::ViewportArguments> arguments)
52 DynamicViewportSizeUpdate(WebCore::FloatSize viewLayoutSize, WebCore::FloatSize maximumUnobscuredSize, WebCore::FloatRect targetExposedContentRect, WebCore::FloatRect targetUnobscuredRect, WebCore::FloatRect targetUnobscuredRectInScrollViewCoordinates, WebCore::RectEdges<float> targetUnobscuredSafeAreaInsets, double scale, int32_t deviceOrientation, uint64_t dynamicViewportSizeUpdateID)
54 HandleTap(WebCore::IntPoint point, uint64_t lastLayerTreeTransactionId)
55 PotentialTapAtPosition(uint64_t requestID, WebCore::FloatPoint point)
56 CommitPotentialTap(uint64_t lastLayerTreeTransactionId)
58 TapHighlightAtPosition(uint64_t requestID, WebCore::FloatPoint point)
59 InspectorNodeSearchMovedToPosition(WebCore::FloatPoint point)
60 InspectorNodeSearchEndedAtPosition(WebCore::FloatPoint point)
62 SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
63 UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, WebKit::CallbackID callbackID)
64 SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, WebKit::CallbackID callbackID)
65 ExtendSelection(uint32_t granularity)
67 MoveSelectionByOffset(int32_t offset, WebKit::CallbackID callbackID)
68 SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
69 SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
70 MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, WebKit::CallbackID callbackID)
71 SelectPositionAtPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
72 BeginSelectionInDirection(uint32_t direction, WebKit::CallbackID callbackID)
73 UpdateSelectionWithExtentPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
74 UpdateSelectionWithExtentPointAndBoundary(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
75 RequestDictationContext(WebKit::CallbackID callbackID)
76 ReplaceDictatedText(String oldText, String newText)
77 ReplaceSelectedText(String oldText, String newText)
78 RequestAutocorrectionData(String textForAutocorrection, WebKit::CallbackID callbackID)
79 ApplyAutocorrection(String correction, String originalText, WebKit::CallbackID callbackID)
80 SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) LegacySync
81 RequestAutocorrectionContext(WebKit::CallbackID callbackID)
82 GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) LegacySync
83 GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) LegacySync
84 RequestPositionInformation(struct WebKit::InteractionInformationRequest request)
85 StartInteractionWithElementAtPosition(WebCore::IntPoint point)
87 PerformActionOnElement(uint32_t action)
88 FocusNextAssistedNode(bool isForward, WebKit::CallbackID callbackID)
89 SetAssistedNodeValue(String value)
90 AutofillLoginCredentials(String username, String password)
91 SetAssistedNodeValueAsNumber(double value)
92 SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection)
93 ApplicationWillResignActive()
94 ApplicationDidEnterBackground(bool isSuspendedUnderLock)
95 ApplicationDidFinishSnapshottingAfterEnteringBackground()
96 ApplicationWillEnterForeground(bool isSuspendedUnderLock)
97 ApplicationDidBecomeActive()
98 ContentSizeCategoryDidChange(String contentSizeCategory)
99 GetSelectionContext(WebKit::CallbackID callbackID)
100 SetAllowsMediaDocumentInlinePlayback(bool allows)
101 HandleTwoFingerTapAtPoint(WebCore::IntPoint point, uint64_t requestID)
102 SetForceAlwaysUserScalable(bool userScalable)
103 GetRectsForGranularityWithSelectionOffset(uint32_t granularity, int32_t offset, WebKit::CallbackID callbackID)
104 GetRectsAtSelectionOffsetWithText(int32_t offset, String text, WebKit::CallbackID callbackID)
105 StoreSelectionForAccessibility(bool shouldStore)
106 StartAutoscrollAtPosition(WebCore::FloatPoint positionInWindow)
108 RequestAssistedNodeInformation(WebKit::CallbackID callbackID)
111 SetControlledByAutomation(bool controlled)
113 #if ENABLE(REMOTE_INSPECTOR)
114 SetAllowsRemoteInspection(bool allow)
115 SetRemoteInspectionNameOverride(String name)
118 #if ENABLE(IOS_TOUCH_EVENTS)
119 TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) LegacySync
121 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
122 TouchEvent(WebKit::WebTouchEvent event)
125 #if ENABLE(INPUT_TYPE_COLOR)
127 DidChooseColor(WebCore::Color color)
130 #if ENABLE(DATALIST_ELEMENT)
131 DidSelectDataListOption(String selectedOption);
132 DidCloseSuggestions();
135 #if ENABLE(CONTEXT_MENUS)
137 ContextMenuForKeyEvent()
140 ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
141 CenterSelectionInVisibleArea()
143 GoToBackForwardItem(uint64_t navigationID, struct WebCore::BackForwardItemIdentifier backForwardItemID, enum:uint8_t WebCore::FrameLoadType backForwardType, enum:bool WebCore::ShouldTreatAsContinuingLoad shouldTreatAsContinuingLoad)
144 TryRestoreScrollPosition()
146 LoadURLInFrame(WebCore::URL url, uint64_t frameID)
147 LoadRequest(struct WebKit::LoadParameters loadParameters)
148 LoadData(struct WebKit::LoadParameters loadParameters)
149 LoadAlternateHTML(struct WebKit::LoadParameters loadParameters)
151 NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
153 Reload(uint64_t navigationID, uint32_t reloadOptions, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
156 StopLoadingFrame(uint64_t frameID)
158 RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
159 UpdateBackForwardListForReattach(Vector<WebKit::BackForwardListItemState> itemStates)
160 SetCurrentHistoryItemForReattach(struct WebKit::BackForwardListItemState itemState)
162 DidRemoveBackForwardItem(struct WebCore::BackForwardItemIdentifier backForwardItemID)
164 UpdateWebsitePolicies(struct WebKit::WebsitePoliciesData websitePolicies)
165 DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, enum:uint8_t WebCore::PolicyAction policyAction, uint64_t navigationID, WebKit::DownloadID downloadID, std::optional<WebKit::WebsitePoliciesData> websitePolicies)
166 ContinueWillSubmitForm(uint64_t frameID, uint64_t listenerID)
169 RestoreSelectionInFocusedEditableElement()
172 GetContentsAsString(WebKit::CallbackID callbackID)
174 GetContentsAsMHTMLData(WebKit::CallbackID callbackID)
176 GetMainResourceDataOfFrame(uint64_t frameID, WebKit::CallbackID callbackID)
177 GetResourceDataFromFrame(uint64_t frameID, String resourceURL, WebKit::CallbackID callbackID)
178 GetRenderTreeExternalRepresentation(WebKit::CallbackID callbackID)
179 GetSelectionOrContentsAsString(WebKit::CallbackID callbackID)
180 GetSelectionAsWebArchiveData(WebKit::CallbackID callbackID)
181 GetSourceForFrame(uint64_t frameID, WebKit::CallbackID callbackID)
182 GetWebArchiveOfFrame(uint64_t frameID, WebKit::CallbackID callbackID)
183 RunJavaScriptInMainFrame(String script, bool forceUserGesture, WebKit::CallbackID callbackID)
184 RunJavaScriptInMainFrameScriptWorld(String script, bool forceUserGesture, String worldName, WebKit::CallbackID callbackID)
185 ForceRepaint(WebKit::CallbackID callbackID)
188 # Dictionary support.
189 PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
193 PerformDictionaryLookupOfCurrentSelection()
196 ChangeFont(WebCore::FontChanges changes)
197 ChangeFontAttributes(WebCore::FontAttributeChanges changes)
199 PreferencesDidChange(struct WebKit::WebPreferencesStore store)
201 SetUserAgent(String userAgent)
202 SetCustomTextEncodingName(String encodingName)
204 SuspendActiveDOMObjectsAndAnimations()
205 ResumeActiveDOMObjectsAndAnimations()
210 SetEditable(bool editable)
211 ValidateCommand(String name, WebKit::CallbackID callbackID)
212 ExecuteEditCommand(String name, String argument)
214 SetNeedsFontAttributes(bool needsFontAttributes)
216 RequestFontAttributesAtSelectionStart(WebKit::CallbackID callbackID)
218 DidRemoveEditCommand(uint64_t commandID)
219 ReapplyEditCommand(uint64_t commandID)
220 UnapplyEditCommand(uint64_t commandID)
222 SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
223 SetPageZoomFactor(double zoomFactor)
224 SetTextZoomFactor(double zoomFactor)
225 WindowScreenDidChange(uint32_t displayID)
227 AccessibilitySettingsDidChange()
228 #if ENABLE(ACCESSIBILITY_EVENTS)
229 UpdateAccessibilityEventsEnabled(bool enabled)
232 ScalePage(double scale, WebCore::IntPoint origin)
233 ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
234 ScaleView(double scale)
236 SetUseFixedLayout(bool fixed)
237 SetFixedLayoutSize(WebCore::IntSize size)
238 ListenForLayoutMilestones(uint32_t milestones)
239 SetSuppressScrollbarAnimations(bool suppressAnimations)
241 SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding)
242 SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding)
244 SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage)
246 SetPaginationMode(uint32_t mode)
247 SetPaginationBehavesLikeColumns(bool behavesLikeColumns)
248 SetPageLength(double pageLength)
249 SetGapBetweenPages(double gap)
250 SetPaginationLineGridEnabled(bool lineGridEnabled)
252 PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
255 FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
256 FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
257 GetImageForFindMatch(uint32_t matchIndex)
258 SelectFindMatch(uint32_t matchIndex)
260 CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
262 AddMIMETypeWithCustomContentProvider(String mimeType)
265 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
266 PerformDragControllerAction(enum:uint8_t WebKit::DragControllerAction action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, struct WebKit::WebSelectionData selection, uint32_t flags)
268 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
269 PerformDragControllerAction(enum:uint8_t WebKit::DragControllerAction action, WebCore::DragData dragData, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)
271 #if ENABLE(DRAG_SUPPORT)
273 DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
277 #if ENABLE(DATA_INTERACTION)
278 RequestStartDataInteraction(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition)
279 RequestAdditionalItemsForDragSession(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition)
283 DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
284 SetTextForActivePopupMenu(int32_t index)
286 FailedToShowPopupMenu()
289 #if ENABLE(CONTEXT_MENUS)
291 DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
295 #if PLATFORM(IOS_FAMILY)
296 DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
298 DidChooseFilesForOpenPanel(Vector<String> fileURLs)
299 DidCancelForOpenPanel()
300 DidCompleteShareSheet(bool wasGranted, uint64_t callbackID)
301 #if ENABLE(SANDBOX_EXTENSIONS)
302 ExtendSandboxForFilesFromOpenPanel(WebKit::SandboxExtension::HandleArray sandboxExtensions)
305 # Spelling and grammar.
306 AdvanceToNextMisspelling(bool startBeforeSelection)
307 ChangeSpellingToWord(String word)
308 DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
309 DidCancelCheckingText(uint64_t requestID)
316 SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
319 #if ENABLE(GEOLOCATION)
321 DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
324 #if ENABLE(MEDIA_STREAM)
326 UserMediaAccessWasGranted(uint64_t userMediaID, WebCore::CaptureDevice audioDevice, WebCore::CaptureDevice videoDevice, String mediaDeviceIdentifierHashSalt)
327 UserMediaAccessWasDenied(uint64_t userMediaID, uint64_t reason, String invalidConstraint)
328 DidCompleteMediaDeviceEnumeration(uint64_t userMediaID, Vector<WebCore::CaptureDevice> devices, String mediaDeviceIdentifierHashSalt, bool hasPersistentAccess)
329 CaptureDevicesChanged(enum:uint8_t WebKit::DeviceAccessState accessState)
330 #if ENABLE(SANDBOX_EXTENSIONS)
331 GrantUserMediaDeviceSandboxExtensions(WebKit::MediaDeviceSandboxExtensions sandboxExtensions)
332 RevokeUserMediaDeviceSandboxExtensions(Vector<String> sandboxExtensionIDs)
337 DisableICECandidateFiltering()
338 EnableICECandidateFiltering()
340 #if ENABLE(WEB_RTC) && USE(LIBWEBRTC)
341 EnableEnumeratingAllNetworkInterfaces()
342 DisableEnumeratingAllNetworkInterfaces()
346 DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
349 BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
351 ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID)
353 DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, WebKit::CallbackID callbackID)
354 DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, WebKit::CallbackID callbackID)
355 #if PLATFORM(IOS_FAMILY)
356 ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID) -> (uint32_t pageCount) Delayed
360 DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID)
364 SetMediaVolume(float volume)
365 SetMuted(WebCore::MediaProducer::MutedStateFlags muted)
366 SetMayStartMediaWhenInWindow(bool mayStartMedia)
369 #if ENABLE(MEDIA_SESSION)
370 HandleMediaEvent(uint32_t eventType)
371 SetVolumeOfMediaElement(double volume, uint64_t elementID)
374 SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
375 SetCanRunModal(bool canRunModal)
378 SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
379 ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength)
382 CollapseSelectionInFrame(uint64_t frameID)
385 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
386 GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) LegacySync
390 # Complex text input support for plug-ins.
391 SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
393 WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
394 SetMainFrameIsScrollable(bool isScrollable)
395 RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
396 GetStringSelectionForPasteboard() -> (String stringValue) LegacySync
397 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync
398 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) LegacySync
400 #if ENABLE(SERVICE_CONTROLS)
401 ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
404 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) LegacySync
405 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) LegacySync
407 SetTextAsync(String text)
408 InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup, uint32_t editingRangeIsRelativeTo, bool suppressSelectionUpdate)
409 GetMarkedRangeAsync(WebKit::CallbackID callbackID)
410 GetSelectedRangeAsync(WebKit::CallbackID callbackID)
411 CharacterIndexForPointAsync(WebCore::IntPoint point, WebKit::CallbackID callbackID);
412 FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, WebKit::CallbackID callbackID);
413 SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
414 ConfirmCompositionAsync()
417 InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
418 AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, WebKit::CallbackID callbackID);
419 FontAtSelection(WebKit::CallbackID callbackID);
422 SetAlwaysShowsHorizontalScroller(bool alwaysShowsHorizontalScroller)
423 SetAlwaysShowsVerticalScroller(bool alwaysShowsVerticalScroller)
425 SetViewLayoutSize(WebCore::IntSize viewLayoutSize)
426 SetAutoSizingShouldExpandToViewHeight(bool shouldExpand)
428 SetViewportSizeForCSSViewportUnits(std::optional<WebCore::IntSize> viewportSize)
431 HandleAlternativeTextUIResult(String result)
434 #if PLATFORM(IOS_FAMILY)
435 WillStartUserTriggeredZooming();
438 SetScrollPinningBehavior(uint32_t pinning)
439 SetScrollbarOverlayStyle(std::optional<uint32_t> scrollbarStyle)
441 GetBytecodeProfile(WebKit::CallbackID callbackID)
443 GetSamplingProfilerOutput(WebKit::CallbackID callbackID)
445 TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, WebKit::CallbackID callbackID)
447 PerformImmediateActionHitTestAtLocation(WebCore::FloatPoint location)
448 ImmediateActionDidUpdate()
449 ImmediateActionDidCancel()
450 ImmediateActionDidComplete()
452 DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
453 DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
454 DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
456 HandleAcceptedCandidate(struct WebCore::TextCheckingResult acceptedCandidate)
458 SetUseSystemAppearance(bool useSystemAppearance);
459 SetUseDarkAppearance(bool useDarkAppearance);
461 SetHeaderBannerHeightForTesting(int height);
462 SetFooterBannerHeightForTesting(int height);
466 RequestActiveNowPlayingSessionInfo(WebKit::CallbackID callbackID)
469 SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
471 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY)
472 PlaybackTargetSelected(uint64_t contextId, WebCore::MediaPlaybackTargetContext target)
473 PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
474 SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
477 #if ENABLE(POINTER_LOCK)
478 DidAcquirePointerLock()
479 DidNotAcquirePointerLock()
483 ClearWheelEventTestTrigger()
484 SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
486 #if ENABLE(VIDEO) && USE(GSTREAMER)
487 DidEndRequestInstallMissingMediaPlugins(uint32_t result)
490 SetResourceCachingDisabled(bool disabled)
492 SetUserInterfaceLayoutDirection(uint32_t direction)
494 DidGetLoadDecisionForIcon(bool decision, WebKit::CallbackID loadIdentifier, WebKit::OptionalCallbackID newCallbackID)
495 SetUseIconLoadingClient(bool useIconLoadingClient)
498 GamepadActivity(Vector<WebKit::GamepadData> gamepadDatas, bool shouldMakeGamepadsVisible)
502 DidReceivePasswordForQuickLookDocument(String password)
505 FrameBecameRemote(uint64_t frameID, struct WebCore::GlobalFrameIdentifier remoteFrameIdentifier, struct WebCore::GlobalWindowIdentifier remoteWindowIdentifier)
507 RegisterURLSchemeHandler(uint64_t identifier, String scheme)
509 URLSchemeTaskDidPerformRedirection(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceResponse response, WebCore::ResourceRequest request)
510 URLSchemeTaskDidReceiveResponse(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceResponse response)
511 URLSchemeTaskDidReceiveData(uint64_t handlerIdentifier, uint64_t taskIdentifier, IPC::SharedBufferDataReference data)
512 URLSchemeTaskDidComplete(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceError error)
514 SetIsSuspended(bool suspended)
516 #if ENABLE(RESOURCE_LOAD_STATISTICS)
517 StorageAccessResponse(bool wasGranted, uint64_t contextId)
520 #if ENABLE(ATTACHMENT_ELEMENT)
521 InsertAttachment(String identifier, std::optional<uint64_t> fileSize, String fileName, String contentType, WebKit::CallbackID callbackID)
522 UpdateAttachmentAttributes(String identifier, std::optional<uint64_t> fileSize, String contentType, String fileName, IPC::SharedBufferDataReference enclosingImageData, WebKit::CallbackID callbackID)
525 #if ENABLE(APPLICATION_MANIFEST)
526 GetApplicationManifest(WebKit::CallbackID callbackID)
529 SetDefersLoading(bool defersLoading)