[Extra zoom mode] Form control values are stale after dismissing and representing...
[WebKit-https.git] / Source / WebKit / WebProcess / WebPage / WebPage.messages.in
1 # Copyright (C) 2010-2016 Apple Inc. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
5 # are met:
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.
11 #
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.
22
23 messages -> WebPage LegacyReceiver {
24     SetInitialFocus(bool forward, bool isKeyboardEventValid, WebKit::WebKeyboardEvent event, WebKit::CallbackID callbackID)
25     SetActivityState(unsigned activityState, bool wantsDidUpdateActivityState, Vector<WebKit::CallbackID> callbackIDs)
26     SetLayerHostingMode(enum WebKit::LayerHostingMode layerHostingMode)
27
28     SetDrawsBackground(bool drawsBackground)
29
30 #if PLATFORM(COCOA)
31     SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort)
32 #endif
33     SetTopContentInset(float contentInset)
34
35     SetUnderlayColor(WebCore::Color color)
36
37     ViewWillStartLiveResize()
38     ViewWillEndLiveResize()
39
40     ExecuteEditCommandWithCallback(String name, String argument, WebKit::CallbackID callbackID)
41     KeyEvent(WebKit::WebKeyboardEvent event)
42     MouseEvent(WebKit::WebMouseEvent event)
43 #if PLATFORM(IOS)
44     SetViewportConfigurationMinimumLayoutSize(WebCore::FloatSize size)
45     SetMaximumUnobscuredSize(WebCore::FloatSize size)
46     SetDeviceOrientation(int32_t deviceOrientation)
47     DynamicViewportSizeUpdate(WebCore::FloatSize minimumLayoutSize, WebCore::FloatSize maximumUnobscuredSize, WebCore::FloatRect targetExposedContentRect, WebCore::FloatRect targetUnobscuredRect, WebCore::FloatRect targetUnobscuredRectInScrollViewCoordinates, WebCore::RectEdges<float> targetUnobscuredSafeAreaInsets, double scale, int32_t deviceOrientation, uint64_t dynamicViewportSizeUpdateID)
48     SynchronizeDynamicViewportUpdate() -> (double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t nextValidLayerTreeTransactionID)
49
50     HandleTap(WebCore::IntPoint point, uint64_t lastLayerTreeTransactionId)
51     PotentialTapAtPosition(uint64_t requestID, WebCore::FloatPoint point)
52     CommitPotentialTap(uint64_t lastLayerTreeTransactionId)
53     CancelPotentialTap()
54     TapHighlightAtPosition(uint64_t requestID, WebCore::FloatPoint point)
55     InspectorNodeSearchMovedToPosition(WebCore::FloatPoint point)
56     InspectorNodeSearchEndedAtPosition(WebCore::FloatPoint point)
57     BlurAssistedNode()
58     SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
59     UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, WebKit::CallbackID callbackID)
60 #if __IPHONE_OS_VERSION_MAX_ALLOWED < 120000
61     UpdateBlockSelectionWithTouch(WebCore::IntPoint point, uint32_t touch, uint32_t handlePosition)
62 #endif
63     SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, WebKit::CallbackID callbackID)
64     ExtendSelection(uint32_t granularity)
65     SelectWordBackward()
66     MoveSelectionByOffset(int32_t offset, WebKit::CallbackID callbackID)
67     SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
68     SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
69     MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, WebKit::CallbackID callbackID)
70     SelectPositionAtPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
71     BeginSelectionInDirection(uint32_t direction, WebKit::CallbackID callbackID)
72     UpdateSelectionWithExtentPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
73     UpdateSelectionWithExtentPointAndBoundary(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, WebKit::CallbackID callbackID)
74     RequestDictationContext(WebKit::CallbackID callbackID)
75     ReplaceDictatedText(String oldText, String newText)
76     ReplaceSelectedText(String oldText, String newText)
77     RequestAutocorrectionData(String textForAutocorrection, WebKit::CallbackID callbackID)
78     ApplyAutocorrection(String correction, String originalText, WebKit::CallbackID callbackID)
79     SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
80     RequestAutocorrectionContext(WebKit::CallbackID callbackID)
81     GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 
82     GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information)
83     RequestPositionInformation(struct WebKit::InteractionInformationRequest request)
84     StartInteractionWithElementAtPosition(WebCore::IntPoint point)
85     StopInteraction()
86     PerformActionOnElement(uint32_t action)
87     FocusNextAssistedNode(bool isForward, WebKit::CallbackID callbackID)
88     SetAssistedNodeValue(String value)
89     AutofillLoginCredentials(String username, String password)
90     SetAssistedNodeValueAsNumber(double value)
91     SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection)
92     ApplicationWillResignActive()
93     ApplicationDidEnterBackground(bool isSuspendedUnderLock)
94     ApplicationDidFinishSnapshottingAfterEnteringBackground()
95     ApplicationWillEnterForeground(bool isSuspendedUnderLock)
96     ApplicationDidBecomeActive()
97     ContentSizeCategoryDidChange(String contentSizeCategory)
98     GetSelectionContext(WebKit::CallbackID callbackID)
99     SetAllowsMediaDocumentInlinePlayback(bool allows)
100     HandleTwoFingerTapAtPoint(WebCore::IntPoint point, uint64_t requestID)
101     SetForceAlwaysUserScalable(bool userScalable)
102     GetRectsForGranularityWithSelectionOffset(uint32_t granularity, int32_t offset, WebKit::CallbackID callbackID)
103     GetRectsAtSelectionOffsetWithText(int32_t offset, String text, WebKit::CallbackID callbackID)
104     StoreSelectionForAccessibility(bool shouldStore)
105     StartAutoscrollAtPosition(WebCore::FloatPoint positionInWindow)
106     CancelAutoscroll()
107     RequestAssistedNodeInformation(WebKit::CallbackID callbackID)
108 #endif
109
110     SetControlledByAutomation(bool controlled)
111
112 #if ENABLE(REMOTE_INSPECTOR)
113     SetAllowsRemoteInspection(bool allow)
114     SetRemoteInspectionNameOverride(String name)
115 #endif
116
117 #if ENABLE(IOS_TOUCH_EVENTS)
118     TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
119 #endif
120 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
121     TouchEvent(WebKit::WebTouchEvent event)
122 #endif
123
124 #if ENABLE(INPUT_TYPE_COLOR)
125     DidEndColorPicker()
126     DidChooseColor(WebCore::Color color)
127 #endif
128
129 #if ENABLE(CONTEXT_MENUS)
130     ContextMenuHidden()
131     ContextMenuForKeyEvent()
132 #endif
133
134     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
135     CenterSelectionInVisibleArea()
136
137     GoBack(uint64_t navigationID, uint64_t backForwardItemID)
138     GoForward(uint64_t navigationID, uint64_t backForwardItemID)
139     GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID)
140     TryRestoreScrollPosition()
141
142     LoadURLInFrame(WebCore::URL url, uint64_t frameID)
143     LoadRequest(struct WebKit::LoadParameters loadParameters)
144     LoadData(struct WebKit::LoadParameters loadParameters)
145     LoadString(struct WebKit::LoadParameters loadParameters)
146     LoadAlternateHTMLString(struct WebKit::LoadParameters loadParameters)
147
148     NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
149
150     Reload(uint64_t navigationID, uint32_t reloadOptions, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
151     StopLoading()
152
153     StopLoadingFrame(uint64_t frameID)
154     
155     RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
156
157     DidRemoveBackForwardItem(uint64_t backForwardItemID)
158
159     UpdateWebsitePolicies(struct WebKit::WebsitePoliciesData websitePolicies)
160     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, enum WebCore::PolicyAction policyAction, uint64_t navigationID, WebKit::DownloadID downloadID, std::optional<WebKit::WebsitePoliciesData> websitePolicies)
161     ContinueWillSubmitForm(uint64_t frameID, uint64_t listenerID)
162
163     ClearSelection()
164     RestoreSelectionInFocusedEditableElement()
165
166     # Callbacks.
167     GetContentsAsString(WebKit::CallbackID callbackID)
168 #if ENABLE(MHTML)
169     GetContentsAsMHTMLData(WebKit::CallbackID callbackID)
170 #endif
171     GetMainResourceDataOfFrame(uint64_t frameID, WebKit::CallbackID callbackID)
172     GetResourceDataFromFrame(uint64_t frameID, String resourceURL, WebKit::CallbackID callbackID)
173     GetRenderTreeExternalRepresentation(WebKit::CallbackID callbackID)
174     GetSelectionOrContentsAsString(WebKit::CallbackID callbackID)
175     GetSelectionAsWebArchiveData(WebKit::CallbackID callbackID)
176     GetSourceForFrame(uint64_t frameID, WebKit::CallbackID callbackID)
177     GetWebArchiveOfFrame(uint64_t frameID, WebKit::CallbackID callbackID)
178     RunJavaScriptInMainFrame(String script, bool forceUserGesture, WebKit::CallbackID callbackID)
179     ForceRepaint(WebKit::CallbackID callbackID)
180
181 #if PLATFORM(COCOA)
182     # Dictionary support.
183     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
184 #endif
185
186 #if PLATFORM(MAC)
187     PerformDictionaryLookupOfCurrentSelection()
188     SetFont(String fontFamily, double fontSize, uint64_t fontTraits)
189 #endif
190
191     PreferencesDidChange(struct WebKit::WebPreferencesStore store)
192
193     SetUserAgent(String userAgent)
194     SetCustomTextEncodingName(String encodingName)
195
196     SuspendActiveDOMObjectsAndAnimations()
197     ResumeActiveDOMObjectsAndAnimations()
198
199     Close()
200     TryClose()
201
202     SetEditable(bool editable)
203     ValidateCommand(String name, WebKit::CallbackID callbackID)
204     ExecuteEditCommand(String name, String argument)
205
206     DidRemoveEditCommand(uint64_t commandID)
207     ReapplyEditCommand(uint64_t commandID)
208     UnapplyEditCommand(uint64_t commandID)
209
210     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
211     SetPageZoomFactor(double zoomFactor)
212     SetTextZoomFactor(double zoomFactor)
213     WindowScreenDidChange(uint32_t displayID)
214
215     AccessibilitySettingsDidChange()
216
217     ScalePage(double scale, WebCore::IntPoint origin)
218     ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
219     ScaleView(double scale)
220
221     SetUseFixedLayout(bool fixed)
222     SetFixedLayoutSize(WebCore::IntSize size)
223     ListenForLayoutMilestones(uint32_t milestones)
224     SetSuppressScrollbarAnimations(bool suppressAnimations)
225
226     SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding)
227     SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding)
228
229     SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage)
230
231     SetPaginationMode(uint32_t mode)
232     SetPaginationBehavesLikeColumns(bool behavesLikeColumns)
233     SetPageLength(double pageLength)
234     SetGapBetweenPages(double gap)
235     SetPaginationLineGridEnabled(bool lineGridEnabled)
236
237     PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
238
239     # Find.
240     FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
241     FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
242     GetImageForFindMatch(uint32_t matchIndex)
243     SelectFindMatch(uint32_t matchIndex)
244     HideFindUI()
245     CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
246     
247     AddMIMETypeWithCustomContentProvider(String mimeType)
248
249     # Drag and drop.
250 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
251     PerformDragControllerAction(enum WebKit::DragControllerAction action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, struct WebKit::WebSelectionData selection, uint32_t flags)
252 #endif
253 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
254     PerformDragControllerAction(enum WebKit::DragControllerAction action, WebCore::DragData dragData, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)
255 #endif
256 #if ENABLE(DRAG_SUPPORT)
257     DidStartDrag()
258     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
259     DragCancelled()
260 #endif
261
262 #if ENABLE(DATA_INTERACTION)
263     RequestStartDataInteraction(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition)
264     RequestAdditionalItemsForDragSession(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition)
265 #endif
266
267     # Popup menu.
268     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
269     SetTextForActivePopupMenu(int32_t index)
270 #if PLATFORM(GTK)
271     FailedToShowPopupMenu()
272 #endif
273
274 #if ENABLE(CONTEXT_MENUS)
275     # Context menu.
276     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
277 #endif
278
279     # Open panel.
280 #if PLATFORM(IOS)
281     DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
282 #endif
283     DidChooseFilesForOpenPanel(Vector<String> fileURLs)
284     DidCancelForOpenPanel()
285 #if ENABLE(SANDBOX_EXTENSIONS)
286     ExtendSandboxForFilesFromOpenPanel(WebKit::SandboxExtension::HandleArray sandboxExtensions)
287 #endif
288
289     # Spelling and grammar.
290     AdvanceToNextMisspelling(bool startBeforeSelection)
291     ChangeSpellingToWord(String word)
292     DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
293     DidCancelCheckingText(uint64_t requestID)
294 #if USE(APPKIT)
295     UppercaseWord()
296     LowercaseWord()
297     CapitalizeWord()
298 #endif
299 #if PLATFORM(COCOA)
300     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
301 #endif
302
303 #if ENABLE(GEOLOCATION)
304     # Geolocation
305     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
306 #endif
307
308 #if ENABLE(MEDIA_STREAM)
309     # MediaSteam
310     UserMediaAccessWasGranted(uint64_t userMediaID, WebCore::CaptureDevice audioDevice, WebCore::CaptureDevice videoDevice, String mediaDeviceIdentifierHashSalt)
311     UserMediaAccessWasDenied(uint64_t userMediaID, uint64_t reason, String invalidConstraint)
312     DidCompleteMediaDeviceEnumeration(uint64_t userMediaID, Vector<WebCore::CaptureDevice> devices, String mediaDeviceIdentifierHashSalt, bool hasPersistentAccess)
313 #if ENABLE(SANDBOX_EXTENSIONS)
314     GrantUserMediaDeviceSandboxExtensions(WebKit::MediaDeviceSandboxExtensions sandboxExtensions)
315     RevokeUserMediaDeviceSandboxExtensions(Vector<String> sandboxExtensionIDs)
316 #endif
317 #endif
318
319 #if ENABLE(WEB_RTC)
320     DisableICECandidateFiltering()
321     EnableICECandidateFiltering()
322 #endif
323 #if ENABLE(WEB_RTC) && USE(LIBWEBRTC)
324     EnableEnumeratingAllNetworkInterfaces()
325     DisableEnumeratingAllNetworkInterfaces()
326 #endif
327
328     # Notification
329     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
330
331     # Printing.
332     BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
333     EndPrinting()
334     ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID)
335 #if PLATFORM(COCOA)
336     DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, WebKit::CallbackID callbackID)
337     DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, WebKit::CallbackID callbackID)
338 #if PLATFORM(IOS)
339     ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID) -> (uint32_t pageCount) Delayed
340 #endif
341 #endif
342 #if PLATFORM(GTK)
343     DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID)
344 #endif
345
346     # Media
347     SetMediaVolume(float volume)
348     SetMuted(WebCore::MediaProducer::MutedStateFlags muted)
349     SetMayStartMediaWhenInWindow(bool mayStartMedia)
350     StopMediaCapture()
351
352 #if ENABLE(MEDIA_SESSION)
353     HandleMediaEvent(uint32_t eventType)
354     SetVolumeOfMediaElement(double volume, uint64_t elementID)
355 #endif
356
357     // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require
358     // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed.
359     Dummy() -> (bool dummyReturn)
360
361     SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
362     SetCanRunModal(bool canRunModal)
363
364 #if PLATFORM(GTK)
365     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
366     ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength)
367     CancelComposition()
368
369     CollapseSelectionInFrame(uint64_t frameID)
370 #endif
371
372 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
373     GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center)
374 #endif
375
376 #if PLATFORM(COCOA)
377     # Complex text input support for plug-ins.
378     SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
379
380     WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
381     SetMainFrameIsScrollable(bool isScrollable)
382     RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
383     GetStringSelectionForPasteboard() -> (String stringValue)
384     GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
385     ReadSelectionFromPasteboard(String pasteboardName) -> (bool result)
386
387 #if ENABLE(SERVICE_CONTROLS)
388     ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
389 #endif
390
391     ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
392     AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
393
394     SetTextAsync(String text)
395     InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup, uint32_t editingRangeIsRelativeTo, bool suppressSelectionUpdate)
396     GetMarkedRangeAsync(WebKit::CallbackID callbackID)
397     GetSelectedRangeAsync(WebKit::CallbackID callbackID)
398     CharacterIndexForPointAsync(WebCore::IntPoint point, WebKit::CallbackID callbackID);
399     FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, WebKit::CallbackID callbackID);
400     SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
401     ConfirmCompositionAsync()
402 #endif
403 #if PLATFORM(MAC)
404     InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
405     AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, WebKit::CallbackID callbackID);
406     FontAtSelection(WebKit::CallbackID callbackID);
407 #endif
408
409     SetAlwaysShowsHorizontalScroller(bool alwaysShowsHorizontalScroller)
410     SetAlwaysShowsVerticalScroller(bool alwaysShowsVerticalScroller)
411
412     SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize)
413     SetAutoSizingShouldExpandToViewHeight(bool shouldExpand)
414
415     SetViewportSizeForCSSViewportUnits(std::optional<WebCore::IntSize> viewportSize)
416
417 #if PLATFORM(COCOA)
418     HandleAlternativeTextUIResult(String result)
419 #endif
420
421 #if PLATFORM(IOS)
422     WillStartUserTriggeredZooming();
423 #endif
424
425     SetScrollPinningBehavior(uint32_t pinning)
426     SetScrollbarOverlayStyle(std::optional<uint32_t> scrollbarStyle)
427
428     GetBytecodeProfile(WebKit::CallbackID callbackID)
429
430     GetSamplingProfilerOutput(WebKit::CallbackID callbackID)
431     
432     TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, WebKit::CallbackID callbackID)
433 #if PLATFORM(MAC)
434     PerformImmediateActionHitTestAtLocation(WebCore::FloatPoint location)
435     ImmediateActionDidUpdate()
436     ImmediateActionDidCancel()
437     ImmediateActionDidComplete()
438
439     DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
440     DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
441     DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
442
443     HandleAcceptedCandidate(struct WebCore::TextCheckingResult acceptedCandidate)
444
445     SetHeaderBannerHeightForTesting(int height);
446     SetFooterBannerHeightForTesting(int height);
447 #endif
448
449 #if PLATFORM(COCOA)
450     RequestActiveNowPlayingSessionInfo(WebKit::CallbackID callbackID)
451 #endif
452
453     SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
454
455 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
456     PlaybackTargetSelected(uint64_t contextId, WebCore::MediaPlaybackTargetContext target)
457     PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
458     SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
459 #endif
460
461 #if ENABLE(POINTER_LOCK)
462     DidAcquirePointerLock()
463     DidNotAcquirePointerLock()
464     DidLosePointerLock()
465 #endif
466
467     ClearWheelEventTestTrigger()
468     SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
469
470 #if ENABLE(VIDEO) && USE(GSTREAMER)
471     DidEndRequestInstallMissingMediaPlugins(uint32_t result)
472 #endif
473
474     SetResourceCachingDisabled(bool disabled)
475
476     SetUserInterfaceLayoutDirection(uint32_t direction)
477
478     DidGetLoadDecisionForIcon(bool decision, WebKit::CallbackID loadIdentifier, WebKit::OptionalCallbackID newCallbackID)
479     SetUseIconLoadingClient(bool useIconLoadingClient)
480
481 #if ENABLE(GAMEPAD)
482     GamepadActivity(Vector<WebKit::GamepadData> gamepadDatas, bool shouldMakeGamepadsVisible)
483 #endif
484
485 #if USE(QUICK_LOOK)
486     DidReceivePasswordForQuickLookDocument(String password)
487 #endif
488
489     RegisterURLSchemeHandler(uint64_t identifier, String scheme)
490
491     URLSchemeTaskDidPerformRedirection(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceResponse response, WebCore::ResourceRequest request)
492     URLSchemeTaskDidReceiveResponse(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceResponse response)
493     URLSchemeTaskDidReceiveData(uint64_t handlerIdentifier, uint64_t taskIdentifier, IPC::DataReference data)
494     URLSchemeTaskDidComplete(uint64_t handlerIdentifier, uint64_t taskIdentifier, WebCore::ResourceError error)
495
496 #if HAVE(CFNETWORK_STORAGE_PARTITIONING)
497     StorageAccessResponse(bool wasGranted, uint64_t contextId)
498 #endif
499
500 #if ENABLE(ATTACHMENT_ELEMENT)
501     InsertAttachment(String identifier, struct WebCore::AttachmentDisplayOptions options, String filename, std::optional<String> contentType, IPC::DataReference data, WebKit::CallbackID callbackID)
502     RequestAttachmentInfo(String identifier, WebKit::CallbackID callbackID)
503     SetAttachmentDisplayOptions(String identifier, struct WebCore::AttachmentDisplayOptions options, WebKit::CallbackID callbackID)
504     SetAttachmentDataAndContentType(String identifier, IPC::DataReference data, std::optional<String> newContentType, std::optional<String> newFilename, WebKit::CallbackID callbackID)
505 #endif
506
507 #if ENABLE(APPLICATION_MANIFEST)
508     GetApplicationManifest(WebKit::CallbackID callbackID)
509 #endif
510 }