[WTF] Import std::optional reference implementation as WTF::Optional
[WebKit-https.git] / Source / WebKit2 / 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, uint64_t callbackID)
25     SetActivityState(unsigned activityState, bool wantsDidUpdateActivityState, Vector<uint64_t> callbackIDs)
26     SetLayerHostingMode(enum WebKit::LayerHostingMode layerHostingMode)
27     SetPageSuppressed(bool pageSuppressed)
28
29     SetDrawsBackground(bool drawsBackground)
30
31 #if PLATFORM(COCOA)
32     SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort)
33 #endif
34     SetTopContentInset(float contentInset)
35
36     SetUnderlayColor(WebCore::Color color)
37
38     ViewWillStartLiveResize()
39     ViewWillEndLiveResize()
40
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, 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, uint64_t callbackID)
59     UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, uint64_t callbackID)
60     UpdateBlockSelectionWithTouch(WebCore::IntPoint point, uint32_t touch, uint32_t handlePosition)
61     SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID)
62     ExtendSelection(uint32_t granularity)
63     SelectWordBackward()
64     MoveSelectionByOffset(int32_t offset, uint64_t callbackID)
65     SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID)
66     SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, bool isInteractingWithAssistedNode, uint64_t callbackID)
67     MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, uint64_t callbackID)
68     SelectPositionAtPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID)
69     BeginSelectionInDirection(uint32_t direction, uint64_t callbackID)
70     UpdateSelectionWithExtentPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID)
71     UpdateSelectionWithExtentPointAndBoundary(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID)
72     RequestDictationContext(uint64_t callbackID)
73     ReplaceDictatedText(String oldText, String newText)
74     ReplaceSelectedText(String oldText, String newText)
75     RequestAutocorrectionData(String textForAutocorrection, uint64_t callbackID)
76     ApplyAutocorrection(String correction, String originalText, uint64_t callbackID)
77     SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
78     RequestAutocorrectionContext(uint64_t callbackID)
79     GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 
80     GetPositionInformation(WebCore::IntPoint point) -> (struct WebKit::InteractionInformationAtPosition information)
81     RequestPositionInformation(WebCore::IntPoint point)
82     StartInteractionWithElementAtPosition(WebCore::IntPoint point)
83     StopInteraction()
84     PerformActionOnElement(uint32_t action)
85     FocusNextAssistedNode(bool isForward, uint64_t callbackID)
86     SetAssistedNodeValue(String value)
87     SetAssistedNodeValueAsNumber(double value)
88     SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection)
89     ApplicationWillResignActive()
90     ApplicationDidEnterBackground(bool isSuspendedUnderLock)
91     ApplicationDidFinishSnapshottingAfterEnteringBackground()
92     ApplicationWillEnterForeground(bool isSuspendedUnderLock)
93     ApplicationDidBecomeActive()
94     ContentSizeCategoryDidChange(String contentSizeCategory)
95     ExecuteEditCommandWithCallback(String name, uint64_t callbackID)
96     GetSelectionContext(uint64_t callbackID)
97     SetAllowsMediaDocumentInlinePlayback(bool allows)
98     HandleTwoFingerTapAtPoint(WebCore::IntPoint point, uint64_t requestID)
99     SetForceAlwaysUserScalable(bool userScalable)
100 #endif
101
102     SetControlledByAutomation(bool controlled)
103
104 #if ENABLE(REMOTE_INSPECTOR)
105     SetAllowsRemoteInspection(bool allow)
106     SetRemoteInspectionNameOverride(String name)
107 #endif
108
109 #if ENABLE(IOS_TOUCH_EVENTS)
110     TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
111 #endif
112 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
113     TouchEvent(WebKit::WebTouchEvent event)
114 #endif
115
116 #if ENABLE(INPUT_TYPE_COLOR)
117     DidEndColorPicker()
118     DidChooseColor(WebCore::Color color)
119 #endif
120
121 #if ENABLE(CONTEXT_MENUS)
122     ContextMenuHidden()
123 #endif
124
125     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
126     CenterSelectionInVisibleArea()
127
128     GoBack(uint64_t navigationID, uint64_t backForwardItemID)
129     GoForward(uint64_t navigationID, uint64_t backForwardItemID)
130     GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID)
131     TryRestoreScrollPosition()
132
133     LoadURLInFrame(String url, uint64_t frameID)
134     LoadRequest(struct WebKit::LoadParameters loadParameters)
135     LoadData(struct WebKit::LoadParameters loadParameters)
136     LoadString(struct WebKit::LoadParameters loadParameters)
137     LoadAlternateHTMLString(struct WebKit::LoadParameters loadParameters)
138
139     NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
140
141     Reload(uint64_t navigationID, bool reloadFromOrigin, bool contentBlockersEnabled, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
142     StopLoading()
143
144     StopLoadingFrame(uint64_t frameID)
145     
146     RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
147
148     DidRemoveBackForwardItem(uint64_t backForwardItemID)
149
150     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t navigationID, WebKit::DownloadID downloadID)
151
152     ClearSelection()
153     RestoreSelectionInFocusedEditableElement()
154
155     # Callbacks.
156     GetContentsAsString(uint64_t callbackID)
157 #if ENABLE(MHTML)
158     GetContentsAsMHTMLData(uint64_t callbackID)
159 #endif
160     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
161     GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID)
162     GetRenderTreeExternalRepresentation(uint64_t callbackID)
163     GetSelectionOrContentsAsString(uint64_t callbackID)
164     GetSelectionAsWebArchiveData(uint64_t callbackID)
165     GetSourceForFrame(uint64_t frameID, uint64_t callbackID)
166     GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
167     RunJavaScriptInMainFrame(String script, uint64_t callbackID)
168     ForceRepaint(uint64_t callbackID)
169
170 #if PLATFORM(COCOA)
171     # Dictionary support.
172     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
173 #endif
174
175 #if PLATFORM(MAC)
176     PerformDictionaryLookupOfCurrentSelection()
177     SetFont(String fontFamily, double fontSize, uint64_t fontTraits)
178 #endif
179
180     PreferencesDidChange(struct WebKit::WebPreferencesStore store)
181
182     SetUserAgent(String userAgent)
183     SetCustomTextEncodingName(String encodingName)
184
185     SuspendActiveDOMObjectsAndAnimations()
186     ResumeActiveDOMObjectsAndAnimations()
187
188     Close()
189     TryClose()
190
191     SetEditable(bool editable)
192     ValidateCommand(String name, uint64_t callbackID)
193     ExecuteEditCommand(String name, String argument)
194
195     DidRemoveEditCommand(uint64_t commandID)
196     ReapplyEditCommand(uint64_t commandID)
197     UnapplyEditCommand(uint64_t commandID)
198
199     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
200     SetPageZoomFactor(double zoomFactor)
201     SetTextZoomFactor(double zoomFactor)
202     WindowScreenDidChange(uint32_t displayID)
203
204     AccessibilitySettingsDidChange()
205
206     ScalePage(double scale, WebCore::IntPoint origin)
207     ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
208     ScaleView(double scale)
209
210     SetUseFixedLayout(bool fixed)
211     SetFixedLayoutSize(WebCore::IntSize size)
212     ListenForLayoutMilestones(uint32_t milestones)
213     SetSuppressScrollbarAnimations(bool suppressAnimations)
214
215     SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding)
216     SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding)
217
218     SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage)
219
220     SetPaginationMode(uint32_t mode)
221     SetPaginationBehavesLikeColumns(bool behavesLikeColumns)
222     SetPageLength(double pageLength)
223     SetGapBetweenPages(double gap)
224     SetPaginationLineGridEnabled(bool lineGridEnabled)
225
226     PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
227
228     # Find.
229     FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
230     FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
231     GetImageForFindMatch(uint32_t matchIndex)
232     SelectFindMatch(uint32_t matchIndex)
233     HideFindUI()
234     CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
235     
236     AddMIMETypeWithCustomContentProvider(String mimeType)
237
238     # Drag and drop.
239 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
240     PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, struct WebKit::WebSelectionData selection, uint32_t flags)
241 #endif
242 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
243     PerformDragControllerAction(uint64_t action, WebCore::DragData dragData, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)
244 #endif
245 #if ENABLE(DRAG_SUPPORT)
246     DidStartDrag()
247     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
248 #endif
249
250     # Popup menu.
251     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
252     SetTextForActivePopupMenu(int32_t index)
253 #if PLATFORM(GTK)
254     FailedToShowPopupMenu()
255 #endif
256
257 #if ENABLE(CONTEXT_MENUS)
258     # Context menu.
259     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
260 #endif
261
262     # Open panel.
263 #if PLATFORM(IOS)
264     DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
265 #endif
266     DidChooseFilesForOpenPanel(Vector<String> fileURLs)
267     DidCancelForOpenPanel()
268 #if ENABLE(SANDBOX_EXTENSIONS)
269     ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle)
270 #endif
271
272     # Spelling and grammar.
273     AdvanceToNextMisspelling(bool startBeforeSelection)
274     ChangeSpellingToWord(String word)
275     DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
276     DidCancelCheckingText(uint64_t requestID)
277 #if USE(APPKIT)
278     UppercaseWord()
279     LowercaseWord()
280     CapitalizeWord()
281 #endif
282 #if PLATFORM(COCOA)
283     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
284 #endif
285
286 #if ENABLE(GEOLOCATION)
287     # Geolocation
288     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
289 #endif
290
291 #if ENABLE(MEDIA_STREAM)
292     # MediaSteam
293     UserMediaAccessWasGranted(uint64_t userMediaID, String audioDeviceUID, String videoDeviceUID)
294     UserMediaAccessWasDenied(uint64_t userMediaID, uint64_t reason, String invalidConstraint)
295     DidCompleteMediaDeviceEnumeration(uint64_t userMediaID, Vector<WebCore::CaptureDevice> devices, String mediaDeviceIdentifierHashSalt, bool hasPersistentAccess)
296     GrantUserMediaDevicesSandboxExtension(WebKit::SandboxExtension::HandleArray sandboxExtensionHandle)
297 #endif
298
299     # Notification
300     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
301
302     # Printing.
303     BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
304     EndPrinting()
305     ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
306 #if PLATFORM(COCOA)
307     DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID)
308     DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
309 #if PLATFORM(IOS)
310     ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID) -> (uint32_t pageCount) Delayed
311 #endif
312 #endif
313 #if PLATFORM(GTK)
314     DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
315 #endif
316
317     # Media
318     SetMediaVolume(float volume)
319     SetMuted(WebCore::MediaProducer::MutedStateFlags muted)
320     SetMayStartMediaWhenInWindow(bool mayStartMedia)
321
322 #if ENABLE(MEDIA_SESSION)
323     HandleMediaEvent(uint32_t eventType)
324     SetVolumeOfMediaElement(double volume, uint64_t elementID)
325 #endif
326
327     // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require
328     // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed.
329     Dummy() -> (bool dummyReturn)
330
331     SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
332     SetCanRunModal(bool canRunModal)
333
334 #if PLATFORM(EFL)
335     SetThemePath(String themePath)
336 #endif
337
338 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
339     CommitPageTransitionViewport()
340 #endif
341
342 #if PLATFORM(GTK)
343     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
344     ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength)
345     CancelComposition()
346
347     CollapseSelectionInFrame(uint64_t frameID)
348 #endif
349
350 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
351     GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center)
352 #endif
353
354 #if PLATFORM(COCOA)
355     # Complex text input support for plug-ins.
356     SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
357
358     WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
359     SetMainFrameIsScrollable(bool isScrollable)
360     RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
361     GetStringSelectionForPasteboard() -> (String stringValue)
362     GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
363     ReadSelectionFromPasteboard(String pasteboardName) -> (bool result)
364
365 #if ENABLE(SERVICE_CONTROLS)
366     ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
367 #endif
368
369     ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
370     AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
371
372     InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup, uint32_t editingRangeIsRelativeTo, bool suppressSelectionUpdate)
373     GetMarkedRangeAsync(uint64_t callbackID)
374     GetSelectedRangeAsync(uint64_t callbackID)
375     CharacterIndexForPointAsync(WebCore::IntPoint point, uint64_t callbackID);
376     FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
377     SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
378     ConfirmCompositionAsync()
379 #endif
380 #if PLATFORM(MAC)
381     InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
382     AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
383     FontAtSelection(uint64_t callbackID);
384 #endif
385
386     SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize)
387     SetAutoSizingShouldExpandToViewHeight(bool shouldExpand)
388
389 #if PLATFORM(EFL)
390     ConfirmComposition(String compositionString)
391     SetComposition(String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
392     CancelComposition()
393 #endif
394 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
395     FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area)
396 #endif
397
398 #if PLATFORM(COCOA)
399     HandleAlternativeTextUIResult(String result)
400 #endif
401
402 #if PLATFORM(IOS)
403     WillStartUserTriggeredZooming();
404 #endif
405
406     SetScrollPinningBehavior(uint32_t pinning)
407     SetScrollbarOverlayStyle(std::optional<uint32_t> scrollbarStyle)
408
409     GetBytecodeProfile(uint64_t callbackID)
410
411     GetSamplingProfilerOutput(uint64_t callbackID)
412     
413     TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, uint64_t callbackID)
414 #if PLATFORM(MAC)
415     PerformImmediateActionHitTestAtLocation(WebCore::FloatPoint location)
416     ImmediateActionDidUpdate()
417     ImmediateActionDidCancel()
418     ImmediateActionDidComplete()
419     DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
420     DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
421     DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
422     HandleAcceptedCandidate(struct WebCore::TextCheckingResult acceptedCandidate)
423     RequestActiveNowPlayingSessionInfo()
424 #endif
425
426     SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
427
428 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
429     PlaybackTargetSelected(uint64_t contextId, WebCore::MediaPlaybackTargetContext target)
430     PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
431     SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
432 #endif
433
434 #if ENABLE(POINTER_LOCK)
435     DidAcquirePointerLock()
436     DidNotAcquirePointerLock()
437     DidLosePointerLock()
438 #endif
439
440     ClearWheelEventTestTrigger()
441     SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
442
443 #if ENABLE(VIDEO) && USE(GSTREAMER)
444     DidEndRequestInstallMissingMediaPlugins(uint32_t result)
445 #endif
446
447     SetResourceCachingDisabled(bool disabled)
448
449     SetUserInterfaceLayoutDirection(uint32_t direction)
450
451     DidGetLoadDecisionForIcon(bool decision, uint64_t loadIdentifier, uint64_t newCallbackID)
452     SetUseIconLoadingClient(bool useIconLoadingClient)
453
454 #if ENABLE(GAMEPAD)
455     GamepadActivity(Vector<WebKit::GamepadData> gamepadDatas)
456 #endif
457 }