diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/WebPage.messages.in')
-rw-r--r-- | Source/WebKit2/WebProcess/WebPage/WebPage.messages.in | 319 |
1 files changed, 229 insertions, 90 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in b/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in index fdeb9c6c4..8459458ae 100644 --- a/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in +++ b/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in @@ -1,4 +1,4 @@ -# Copyright (C) 2010, 2011 Apple Inc. All rights reserved. +# Copyright (C) 2010-2016 Apple Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -21,14 +21,16 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. messages -> WebPage LegacyReceiver { - SetInitialFocus(bool forward, bool isKeyboardEventValid, WebKit::WebKeyboardEvent event) - SetViewState(unsigned viewState, bool wantsDidUpdateViewState) - SetLayerHostingMode(unsigned layerHostingMode) - - SetSessionID(uint64_t sessionID) + SetInitialFocus(bool forward, bool isKeyboardEventValid, WebKit::WebKeyboardEvent event, uint64_t callbackID) + SetActivityState(unsigned activityState, bool wantsDidUpdateActivityState, Vector<uint64_t> callbackIDs) + SetLayerHostingMode(enum WebKit::LayerHostingMode layerHostingMode) SetDrawsBackground(bool drawsBackground) - SetDrawsTransparentBackground(bool drawsTransparentBackground) + +#if HAVE(COREANIMATION_FENCES) + SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort) +#endif + SetTopContentInset(float contentInset) SetUnderlayColor(WebCore::Color color) @@ -36,32 +38,80 @@ messages -> WebPage LegacyReceiver { ViewWillEndLiveResize() KeyEvent(WebKit::WebKeyboardEvent event) - KeyEventSyncForTesting(WebKit::WebKeyboardEvent event) -> (bool handled) MouseEvent(WebKit::WebMouseEvent event) - MouseEventSyncForTesting(WebKit::WebMouseEvent event) -> (bool handled) - WheelEventSyncForTesting(WebKit::WebWheelEvent event) -> (bool handled) #if PLATFORM(IOS) - HandleTap(WebCore::IntPoint point) + SetViewportConfigurationMinimumLayoutSize(WebCore::FloatSize size) + SetMaximumUnobscuredSize(WebCore::FloatSize size) + SetDeviceOrientation(int32_t deviceOrientation) + DynamicViewportSizeUpdate(WebCore::FloatSize minimumLayoutSize, WebCore::FloatSize maximumUnobscuredSize, WebCore::FloatRect targetExposedContentRect, WebCore::FloatRect targetUnobscuredRect, WebCore::FloatRect targetUnobscuredRectInScrollViewCoordinates, double scale, int32_t deviceOrientation, uint64_t dynamicViewportSizeUpdateID) + SynchronizeDynamicViewportUpdate() -> (double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t nextValidLayerTreeTransactionID) + + HandleTap(WebCore::IntPoint point, uint64_t lastLayerTreeTransactionId) + PotentialTapAtPosition(uint64_t requestID, WebCore::FloatPoint point) + CommitPotentialTap(uint64_t lastLayerTreeTransactionId) + CancelPotentialTap() TapHighlightAtPosition(uint64_t requestID, WebCore::FloatPoint point) + InspectorNodeSearchMovedToPosition(WebCore::FloatPoint point) + InspectorNodeSearchEndedAtPosition(WebCore::FloatPoint point) BlurAssistedNode() - SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID) + SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, bool isInteractingWithAssistedNode, uint64_t callbackID) UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, uint64_t callbackID) + UpdateBlockSelectionWithTouch(WebCore::IntPoint point, uint32_t touch, uint32_t handlePosition) SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID) ExtendSelection(uint32_t granularity) + SelectWordBackward() + MoveSelectionByOffset(int32_t offset, uint64_t callbackID) + SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID) + SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, bool isInteractingWithAssistedNode, uint64_t callbackID) + MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, uint64_t callbackID) + SelectPositionAtPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID) + BeginSelectionInDirection(uint32_t direction, uint64_t callbackID) + UpdateSelectionWithExtentPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID) + UpdateSelectionWithExtentPointAndBoundary(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID) + RequestDictationContext(uint64_t callbackID) + ReplaceDictatedText(String oldText, String newText) + ReplaceSelectedText(String oldText, String newText) RequestAutocorrectionData(String textForAutocorrection, uint64_t callbackID) ApplyAutocorrection(String correction, String originalText, uint64_t callbackID) + SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) RequestAutocorrectionContext(uint64_t callbackID) GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) - InsertText(String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) - SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd) - ConfirmComposition() - GetPositionInformation(WebCore::IntPoint point) -> (WebKit::InteractionInformationAtPosition information) - RequestPositionInformation(WebCore::IntPoint point) + GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) + RequestPositionInformation(struct WebKit::InteractionInformationRequest request) + StartInteractionWithElementAtPosition(WebCore::IntPoint point) + StopInteraction() + PerformActionOnElement(uint32_t action) + FocusNextAssistedNode(bool isForward, uint64_t callbackID) + SetAssistedNodeValue(String value) + SetAssistedNodeValueAsNumber(double value) + SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection) + ApplicationWillResignActive() + ApplicationDidEnterBackground(bool isSuspendedUnderLock) + ApplicationDidFinishSnapshottingAfterEnteringBackground() + ApplicationWillEnterForeground(bool isSuspendedUnderLock) + ApplicationDidBecomeActive() + ContentSizeCategoryDidChange(String contentSizeCategory) + ExecuteEditCommandWithCallback(String name, uint64_t callbackID) + GetSelectionContext(uint64_t callbackID) + SetAllowsMediaDocumentInlinePlayback(bool allows) + HandleTwoFingerTapAtPoint(WebCore::IntPoint point, uint64_t requestID) + SetForceAlwaysUserScalable(bool userScalable) + GetRectsForGranularityWithSelectionOffset(uint32_t granularity, int32_t offset, uint64_t callbackID); + GetRectsAtSelectionOffsetWithText(int32_t offset, String text, uint64_t callbackID); #endif -#if ENABLE(TOUCH_EVENTS) + SetControlledByAutomation(bool controlled) + +#if ENABLE(REMOTE_INSPECTOR) + SetAllowsRemoteInspection(bool allow) + SetRemoteInspectionNameOverride(String name) +#endif + +#if ENABLE(IOS_TOUCH_EVENTS) + TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) +#endif +#if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS) TouchEvent(WebKit::WebTouchEvent event) - TouchEventSyncForTesting(WebKit::WebTouchEvent event) -> (bool handled) #endif #if ENABLE(INPUT_TYPE_COLOR) @@ -71,42 +121,44 @@ messages -> WebPage LegacyReceiver { #if ENABLE(CONTEXT_MENUS) ContextMenuHidden() + ContextMenuForKeyEvent() #endif ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity) CenterSelectionInVisibleArea() - GoBack(uint64_t backForwardItemID) - GoForward(uint64_t backForwardItemID) - GoToBackForwardItem(uint64_t backForwardItemID) + GoBack(uint64_t navigationID, uint64_t backForwardItemID) + GoForward(uint64_t navigationID, uint64_t backForwardItemID) + GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID) TryRestoreScrollPosition() LoadURLInFrame(String url, uint64_t frameID) - LoadRequest(WebCore::ResourceRequest request, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::WebContextUserMessageEncoder userData) Variadic - LoadData(IPC::DataReference data, String MIMEType, String encoding, String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic - LoadHTMLString(String htmlString, String baseURL, WebKit::WebContextUserMessageEncoder userData) Variadic - LoadAlternateHTMLString(String htmlString, String baseURL, String unreachableURL, WebKit::WebContextUserMessageEncoder userData) Variadic - LoadPlainTextString(String string, WebKit::WebContextUserMessageEncoder userData) Variadic - LoadWebArchiveData(IPC::DataReference webArchiveData, WebKit::WebContextUserMessageEncoder userData) Variadic - - Reload(bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle) + LoadRequest(struct WebKit::LoadParameters loadParameters) + LoadData(struct WebKit::LoadParameters loadParameters) + LoadString(struct WebKit::LoadParameters loadParameters) + LoadAlternateHTMLString(struct WebKit::LoadParameters loadParameters) + + NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint) + + Reload(uint64_t navigationID, bool reloadFromOrigin, bool contentBlockersEnabled, WebKit::SandboxExtension::Handle sandboxExtensionHandle) StopLoading() StopLoadingFrame(uint64_t frameID) - RestoreSession(WebKit::SessionState state) - RestoreSessionAndNavigateToCurrentItem(WebKit::SessionState state) + RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates) DidRemoveBackForwardItem(uint64_t backForwardItemID) - DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t downloadID) + UpdateWebsitePolicies(struct WebKit::WebsitePolicies websitePolicies) + DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t navigationID, WebKit::DownloadID downloadID) ClearSelection() + RestoreSelectionInFocusedEditableElement() # Callbacks. GetContentsAsString(uint64_t callbackID) #if ENABLE(MHTML) - GetContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding) + GetContentsAsMHTMLData(uint64_t callbackID) #endif GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID) GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID) @@ -118,12 +170,17 @@ messages -> WebPage LegacyReceiver { RunJavaScriptInMainFrame(String script, uint64_t callbackID) ForceRepaint(uint64_t callbackID) -#if PLATFORM(MAC) +#if PLATFORM(COCOA) # Dictionary support. PerformDictionaryLookupAtLocation(WebCore::FloatPoint point) #endif - PreferencesDidChange(WebKit::WebPreferencesStore store) +#if PLATFORM(MAC) + PerformDictionaryLookupOfCurrentSelection() + SetFont(String fontFamily, double fontSize, uint64_t fontTraits) +#endif + + PreferencesDidChange(struct WebKit::WebPreferencesStore store) SetUserAgent(String userAgent) SetCustomTextEncodingName(String encodingName) @@ -134,8 +191,9 @@ messages -> WebPage LegacyReceiver { Close() TryClose() + SetEditable(bool editable) ValidateCommand(String name, uint64_t callbackID) - ExecuteEditCommand(String name) + ExecuteEditCommand(String name, String argument) DidRemoveEditCommand(uint64_t commandID) ReapplyEditCommand(uint64_t commandID) @@ -144,23 +202,31 @@ messages -> WebPage LegacyReceiver { SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor) SetPageZoomFactor(double zoomFactor) SetTextZoomFactor(double zoomFactor) - WindowScreenDidChange(uint64_t displayID) + WindowScreenDidChange(uint32_t displayID) + + AccessibilitySettingsDidChange() ScalePage(double scale, WebCore::IntPoint origin) + ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates) + ScaleView(double scale) SetUseFixedLayout(bool fixed) SetFixedLayoutSize(WebCore::IntSize size) ListenForLayoutMilestones(uint32_t milestones) SetSuppressScrollbarAnimations(bool suppressAnimations) + SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding) + SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding) + SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage) SetPaginationMode(uint32_t mode) SetPaginationBehavesLikeColumns(bool behavesLikeColumns) SetPageLength(double pageLength) SetGapBetweenPages(double gap) + SetPaginationLineGridEnabled(bool lineGridEnabled) - PostInjectedBundleMessage(String messageName, WebKit::WebContextUserMessageEncoder messageBody) Variadic + PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody) # Find. FindString(String string, uint32_t findOptions, unsigned maxMatchCount) @@ -169,16 +235,24 @@ messages -> WebPage LegacyReceiver { SelectFindMatch(uint32_t matchIndex) HideFindUI() CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount) + + AddMIMETypeWithCustomContentProvider(String mimeType) # Drag and drop. #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) - PerformDragControllerAction(uint64_t action, WebCore::DragData dragData) + PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, struct WebKit::WebSelectionData selection, uint32_t flags) #endif #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT) - PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, String dragStorageName, uint32_t flags, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload) + PerformDragControllerAction(uint64_t action, WebCore::DragData dragData, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload) #endif #if ENABLE(DRAG_SUPPORT) + DidStartDrag() DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation) + DragCancelled() +#endif + +#if ENABLE(DATA_INTERACTION) + RequestStartDataInteraction(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition) #endif # Popup menu. @@ -194,9 +268,12 @@ messages -> WebPage LegacyReceiver { #endif # Open panel. +#if PLATFORM(IOS) + DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData) +#endif DidChooseFilesForOpenPanel(Vector<String> fileURLs) DidCancelForOpenPanel() -#if ENABLE(WEB_PROCESS_SANDBOX) +#if ENABLE(SANDBOX_EXTENSIONS) ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle) #endif @@ -210,7 +287,7 @@ messages -> WebPage LegacyReceiver { LowercaseWord() CapitalizeWord() #endif -#if PLATFORM(MAC) +#if PLATFORM(COCOA) SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled) #endif @@ -219,28 +296,44 @@ messages -> WebPage LegacyReceiver { DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed) #endif +#if ENABLE(MEDIA_STREAM) + # MediaSteam + UserMediaAccessWasGranted(uint64_t userMediaID, String audioDeviceUID, String videoDeviceUID) + UserMediaAccessWasDenied(uint64_t userMediaID, uint64_t reason, String invalidConstraint) + DidCompleteMediaDeviceEnumeration(uint64_t userMediaID, Vector<WebCore::CaptureDevice> devices, String mediaDeviceIdentifierHashSalt, bool hasPersistentAccess) +#if ENABLE(SANDBOX_EXTENSIONS) + GrantUserMediaDeviceSandboxExtensions(WebKit::MediaDeviceSandboxExtensions sandboxExtensions) + RevokeUserMediaDeviceSandboxExtensions(Vector<String> sandboxExtensionIDs) +#endif +#endif + # Notification DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed) - SetWindowResizerSize(WebCore::IntSize intersectsView) - # Printing. - BeginPrinting(uint64_t frameID, WebKit::PrintInfo printInfo) + BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo) EndPrinting() - ComputePagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID) -#if PLATFORM(MAC) - DrawRectToImage(uint64_t frameID, WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID) - DrawPagesToPDF(uint64_t frameID, WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID) + ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID) +#if PLATFORM(COCOA) + DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID) + DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID) +#if PLATFORM(IOS) + ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID) -> (uint32_t pageCount) Delayed +#endif #endif #if PLATFORM(GTK) - DrawPagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID) + DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID) #endif # Media SetMediaVolume(float volume) + SetMuted(WebCore::MediaProducer::MutedStateFlags muted) SetMayStartMediaWhenInWindow(bool mayStartMedia) - SetMemoryCacheMessagesEnabled(bool memoryCacheMessagesEnabled) +#if ENABLE(MEDIA_SESSION) + HandleMediaEvent(uint32_t eventType) + SetVolumeOfMediaElement(double volume, uint64_t elementID) +#endif // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed. @@ -249,21 +342,19 @@ messages -> WebPage LegacyReceiver { SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel) SetCanRunModal(bool canRunModal) -#if PLATFORM(EFL) - SetThemePath(String themePath) -#endif - -#if USE(TILED_BACKING_STORE) - CommitPageTransitionViewport() -#endif - #if PLATFORM(GTK) SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength) CancelComposition() + + CollapseSelectionInFrame(uint64_t frameID) #endif -#if PLATFORM(MAC) +#if PLATFORM (GTK) && HAVE(GTK_GESTURES) + GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) +#endif + +#if PLATFORM(COCOA) # Complex text input support for plug-ins. SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput) @@ -274,51 +365,99 @@ messages -> WebPage LegacyReceiver { GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) - # Text input. - CancelComposition() -> (WebKit::EditorState newState) - GetMarkedRange() -> (uint64_t location, uint64_t length) - GetSelectedRange() -> (uint64_t location, uint64_t length) - GetAttributedSubstringFromRange(uint64_t location, uint64_t length) -> (WebKit::AttributedString result) - CharacterIndexForPoint(WebCore::IntPoint point) -> (uint64_t result) - FirstRectForCharacterRange(uint64_t location, uint64_t length) -> (WebCore::IntRect resultRect) - ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, WebKit::EditorState newState) +#if ENABLE(SERVICE_CONTROLS) + ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data) +#endif + ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) - InsertDictatedText(String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, WebKit::EditorState newState) + + InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup, uint32_t editingRangeIsRelativeTo, bool suppressSelectionUpdate) + GetMarkedRangeAsync(uint64_t callbackID) + GetSelectedRangeAsync(uint64_t callbackID) + CharacterIndexForPointAsync(WebCore::IntPoint point, uint64_t callbackID); + FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID); + SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange) + ConfirmCompositionAsync() #endif -#if PLATFORM(MAC) && !PLATFORM(IOS) - InsertText(String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (bool handled, WebKit::EditorState newState) - SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (WebKit::EditorState newState) - ConfirmComposition() -> (WebKit::EditorState newState) +#if PLATFORM(MAC) + InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup) + AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID); + FontAtSelection(uint64_t callbackID); #endif + SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize) SetAutoSizingShouldExpandToViewHeight(bool shouldExpand) -#if PLATFORM(EFL) - ConfirmComposition(String compositionString) - SetComposition(String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition) - CancelComposition() +#if PLATFORM(COCOA) + HandleAlternativeTextUIResult(String result) #endif -#if USE(COORDINATED_GRAPHICS) - FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area) + +#if PLATFORM(IOS) + WillStartUserTriggeredZooming(); #endif + SetScrollPinningBehavior(uint32_t pinning) + SetScrollbarOverlayStyle(std::optional<uint32_t> scrollbarStyle) + + GetBytecodeProfile(uint64_t callbackID) + + GetSamplingProfilerOutput(uint64_t callbackID) + + TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, uint64_t callbackID) #if PLATFORM(MAC) - HandleAlternativeTextUIResult(String result) + PerformImmediateActionHitTestAtLocation(WebCore::FloatPoint location) + ImmediateActionDidUpdate() + ImmediateActionDidCancel() + ImmediateActionDidComplete() + + DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay) + DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay) + DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay) + + HandleAcceptedCandidate(struct WebCore::TextCheckingResult acceptedCandidate) + + SetHeaderBannerHeightForTesting(int height); + SetFooterBannerHeightForTesting(int height); #endif - SetVisibilityStatePrerender() +#if PLATFORM(COCOA) + RequestActiveNowPlayingSessionInfo() +#endif -#if PLATFORM(IOS) - DidFinishScrolling(WebCore::FloatPoint contentOffset); - DidFinishZooming(float scale); + SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents) + +#if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS) + PlaybackTargetSelected(uint64_t contextId, WebCore::MediaPlaybackTargetContext target) + PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available) + SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay) #endif -#if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL) - SetAcceleratedCompositingWindowId(int64_t id) +#if ENABLE(POINTER_LOCK) + DidAcquirePointerLock() + DidNotAcquirePointerLock() + DidLosePointerLock() #endif - SetMainFrameInViewSourceMode(bool inViewSourceMode) - - SetScrollPinningBehavior(uint32_t pinning) + ClearWheelEventTestTrigger() + SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument) + +#if ENABLE(VIDEO) && USE(GSTREAMER) + DidEndRequestInstallMissingMediaPlugins(uint32_t result) +#endif + + SetResourceCachingDisabled(bool disabled) + + SetUserInterfaceLayoutDirection(uint32_t direction) + + DidGetLoadDecisionForIcon(bool decision, uint64_t loadIdentifier, uint64_t newCallbackID) + SetUseIconLoadingClient(bool useIconLoadingClient) + +#if ENABLE(GAMEPAD) + GamepadActivity(Vector<WebKit::GamepadData> gamepadDatas, bool shouldMakeGamepadsVisible) +#endif + +#if USE(QUICK_LOOK) + DidReceivePasswordForQuickLookDocument(String password) +#endif } |