Expose a way for MiniBrowser to simulate header and footer banners
[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
28     SetDrawsBackground(bool drawsBackground)
29
30 #if HAVE(COREANIMATION_FENCES)
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     KeyEvent(WebKit::WebKeyboardEvent event)
41     MouseEvent(WebKit::WebMouseEvent event)
42 #if PLATFORM(IOS)
43     SetViewportConfigurationMinimumLayoutSize(WebCore::FloatSize size)
44     SetMaximumUnobscuredSize(WebCore::FloatSize size)
45     SetDeviceOrientation(int32_t deviceOrientation)
46     DynamicViewportSizeUpdate(WebCore::FloatSize minimumLayoutSize, WebCore::FloatSize maximumUnobscuredSize, WebCore::FloatRect targetExposedContentRect, WebCore::FloatRect targetUnobscuredRect, WebCore::FloatRect targetUnobscuredRectInScrollViewCoordinates, double scale, int32_t deviceOrientation, uint64_t dynamicViewportSizeUpdateID)
47     SynchronizeDynamicViewportUpdate() -> (double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t nextValidLayerTreeTransactionID)
48
49     HandleTap(WebCore::IntPoint point, uint64_t lastLayerTreeTransactionId)
50     PotentialTapAtPosition(uint64_t requestID, WebCore::FloatPoint point)
51     CommitPotentialTap(uint64_t lastLayerTreeTransactionId)
52     CancelPotentialTap()
53     TapHighlightAtPosition(uint64_t requestID, WebCore::FloatPoint point)
54     InspectorNodeSearchMovedToPosition(WebCore::FloatPoint point)
55     InspectorNodeSearchEndedAtPosition(WebCore::FloatPoint point)
56     BlurAssistedNode()
57     SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, bool isInteractingWithAssistedNode, uint64_t callbackID)
58     UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, uint64_t callbackID)
59     UpdateBlockSelectionWithTouch(WebCore::IntPoint point, uint32_t touch, uint32_t handlePosition)
60     SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID)
61     ExtendSelection(uint32_t granularity)
62     SelectWordBackward()
63     MoveSelectionByOffset(int32_t offset, uint64_t callbackID)
64     SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID)
65     SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, bool isInteractingWithAssistedNode, uint64_t callbackID)
66     MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, uint64_t callbackID)
67     SelectPositionAtPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID)
68     BeginSelectionInDirection(uint32_t direction, uint64_t callbackID)
69     UpdateSelectionWithExtentPoint(WebCore::IntPoint point, bool isInteractingWithAssistedNode, uint64_t callbackID)
70     UpdateSelectionWithExtentPointAndBoundary(WebCore::IntPoint point, uint32_t granularity, bool isInteractingWithAssistedNode, uint64_t callbackID)
71     RequestDictationContext(uint64_t callbackID)
72     ReplaceDictatedText(String oldText, String newText)
73     ReplaceSelectedText(String oldText, String newText)
74     RequestAutocorrectionData(String textForAutocorrection, uint64_t callbackID)
75     ApplyAutocorrection(String correction, String originalText, uint64_t callbackID)
76     SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
77     RequestAutocorrectionContext(uint64_t callbackID)
78     GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 
79     GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information)
80     RequestPositionInformation(struct WebKit::InteractionInformationRequest request)
81     StartInteractionWithElementAtPosition(WebCore::IntPoint point)
82     StopInteraction()
83     PerformActionOnElement(uint32_t action)
84     FocusNextAssistedNode(bool isForward, uint64_t callbackID)
85     SetAssistedNodeValue(String value)
86     SetAssistedNodeValueAsNumber(double value)
87     SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection)
88     ApplicationWillResignActive()
89     ApplicationDidEnterBackground(bool isSuspendedUnderLock)
90     ApplicationDidFinishSnapshottingAfterEnteringBackground()
91     ApplicationWillEnterForeground(bool isSuspendedUnderLock)
92     ApplicationDidBecomeActive()
93     ContentSizeCategoryDidChange(String contentSizeCategory)
94     ExecuteEditCommandWithCallback(String name, uint64_t callbackID)
95     GetSelectionContext(uint64_t callbackID)
96     SetAllowsMediaDocumentInlinePlayback(bool allows)
97     HandleTwoFingerTapAtPoint(WebCore::IntPoint point, uint64_t requestID)
98     SetForceAlwaysUserScalable(bool userScalable)
99 #endif
100
101     SetControlledByAutomation(bool controlled)
102
103 #if ENABLE(REMOTE_INSPECTOR)
104     SetAllowsRemoteInspection(bool allow)
105     SetRemoteInspectionNameOverride(String name)
106 #endif
107
108 #if ENABLE(IOS_TOUCH_EVENTS)
109     TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
110 #endif
111 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
112     TouchEvent(WebKit::WebTouchEvent event)
113 #endif
114
115 #if ENABLE(INPUT_TYPE_COLOR)
116     DidEndColorPicker()
117     DidChooseColor(WebCore::Color color)
118 #endif
119
120 #if ENABLE(CONTEXT_MENUS)
121     ContextMenuHidden()
122 #endif
123
124     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
125     CenterSelectionInVisibleArea()
126
127     GoBack(uint64_t navigationID, uint64_t backForwardItemID)
128     GoForward(uint64_t navigationID, uint64_t backForwardItemID)
129     GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID)
130     TryRestoreScrollPosition()
131
132     LoadURLInFrame(String url, uint64_t frameID)
133     LoadRequest(struct WebKit::LoadParameters loadParameters)
134     LoadData(struct WebKit::LoadParameters loadParameters)
135     LoadString(struct WebKit::LoadParameters loadParameters)
136     LoadAlternateHTMLString(struct WebKit::LoadParameters loadParameters)
137
138     NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
139
140     Reload(uint64_t navigationID, bool reloadFromOrigin, bool contentBlockersEnabled, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
141     StopLoading()
142
143     StopLoadingFrame(uint64_t frameID)
144     
145     RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
146
147     DidRemoveBackForwardItem(uint64_t backForwardItemID)
148
149     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t navigationID, WebKit::DownloadID downloadID)
150
151     ClearSelection()
152     RestoreSelectionInFocusedEditableElement()
153
154     # Callbacks.
155     GetContentsAsString(uint64_t callbackID)
156 #if ENABLE(MHTML)
157     GetContentsAsMHTMLData(uint64_t callbackID)
158 #endif
159     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
160     GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID)
161     GetRenderTreeExternalRepresentation(uint64_t callbackID)
162     GetSelectionOrContentsAsString(uint64_t callbackID)
163     GetSelectionAsWebArchiveData(uint64_t callbackID)
164     GetSourceForFrame(uint64_t frameID, uint64_t callbackID)
165     GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
166     RunJavaScriptInMainFrame(String script, uint64_t callbackID)
167     ForceRepaint(uint64_t callbackID)
168
169 #if PLATFORM(COCOA)
170     # Dictionary support.
171     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
172 #endif
173
174 #if PLATFORM(MAC)
175     PerformDictionaryLookupOfCurrentSelection()
176     SetFont(String fontFamily, double fontSize, uint64_t fontTraits)
177 #endif
178
179     PreferencesDidChange(struct WebKit::WebPreferencesStore store)
180
181     SetUserAgent(String userAgent)
182     SetCustomTextEncodingName(String encodingName)
183
184     SuspendActiveDOMObjectsAndAnimations()
185     ResumeActiveDOMObjectsAndAnimations()
186
187     Close()
188     TryClose()
189
190     SetEditable(bool editable)
191     ValidateCommand(String name, uint64_t callbackID)
192     ExecuteEditCommand(String name, String argument)
193
194     DidRemoveEditCommand(uint64_t commandID)
195     ReapplyEditCommand(uint64_t commandID)
196     UnapplyEditCommand(uint64_t commandID)
197
198     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
199     SetPageZoomFactor(double zoomFactor)
200     SetTextZoomFactor(double zoomFactor)
201     WindowScreenDidChange(uint32_t displayID)
202
203     AccessibilitySettingsDidChange()
204
205     ScalePage(double scale, WebCore::IntPoint origin)
206     ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
207     ScaleView(double scale)
208
209     SetUseFixedLayout(bool fixed)
210     SetFixedLayoutSize(WebCore::IntSize size)
211     ListenForLayoutMilestones(uint32_t milestones)
212     SetSuppressScrollbarAnimations(bool suppressAnimations)
213
214     SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding)
215     SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding)
216
217     SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage)
218
219     SetPaginationMode(uint32_t mode)
220     SetPaginationBehavesLikeColumns(bool behavesLikeColumns)
221     SetPageLength(double pageLength)
222     SetGapBetweenPages(double gap)
223     SetPaginationLineGridEnabled(bool lineGridEnabled)
224
225     PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
226
227     # Find.
228     FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
229     FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
230     GetImageForFindMatch(uint32_t matchIndex)
231     SelectFindMatch(uint32_t matchIndex)
232     HideFindUI()
233     CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
234     
235     AddMIMETypeWithCustomContentProvider(String mimeType)
236
237     # Drag and drop.
238 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
239     PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, struct WebKit::WebSelectionData selection, uint32_t flags)
240 #endif
241 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
242     PerformDragControllerAction(uint64_t action, WebCore::DragData dragData, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)
243 #endif
244 #if ENABLE(DRAG_SUPPORT)
245     DidStartDrag()
246     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
247 #endif
248
249     # Popup menu.
250     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
251     SetTextForActivePopupMenu(int32_t index)
252 #if PLATFORM(GTK)
253     FailedToShowPopupMenu()
254 #endif
255
256 #if ENABLE(CONTEXT_MENUS)
257     # Context menu.
258     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
259 #endif
260
261     # Open panel.
262 #if PLATFORM(IOS)
263     DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
264 #endif
265     DidChooseFilesForOpenPanel(Vector<String> fileURLs)
266     DidCancelForOpenPanel()
267 #if ENABLE(SANDBOX_EXTENSIONS)
268     ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle)
269 #endif
270
271     # Spelling and grammar.
272     AdvanceToNextMisspelling(bool startBeforeSelection)
273     ChangeSpellingToWord(String word)
274     DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
275     DidCancelCheckingText(uint64_t requestID)
276 #if USE(APPKIT)
277     UppercaseWord()
278     LowercaseWord()
279     CapitalizeWord()
280 #endif
281 #if PLATFORM(COCOA)
282     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
283 #endif
284
285 #if ENABLE(GEOLOCATION)
286     # Geolocation
287     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
288 #endif
289
290 #if ENABLE(MEDIA_STREAM)
291     # MediaSteam
292     UserMediaAccessWasGranted(uint64_t userMediaID, String audioDeviceUID, String videoDeviceUID)
293     UserMediaAccessWasDenied(uint64_t userMediaID, uint64_t reason, String invalidConstraint)
294     DidCompleteMediaDeviceEnumeration(uint64_t userMediaID, Vector<WebCore::CaptureDevice> devices, String mediaDeviceIdentifierHashSalt, bool hasPersistentAccess)
295     GrantUserMediaDeviceSandboxExtensions(WebKit::MediaDeviceSandboxExtensions sandboxExtensions)
296     RevokeUserMediaDeviceSandboxExtensions(Vector<String> sandboxExtensionIDs)
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
420     DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
421     DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
422     DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
423
424     HandleAcceptedCandidate(struct WebCore::TextCheckingResult acceptedCandidate)
425     RequestActiveNowPlayingSessionInfo()
426
427     SetHeaderBannerHeightForTesting(int height);
428     SetFooterBannerHeightForTesting(int height);
429 #endif
430
431     SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
432
433 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
434     PlaybackTargetSelected(uint64_t contextId, WebCore::MediaPlaybackTargetContext target)
435     PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
436     SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
437 #endif
438
439 #if ENABLE(POINTER_LOCK)
440     DidAcquirePointerLock()
441     DidNotAcquirePointerLock()
442     DidLosePointerLock()
443 #endif
444
445     ClearWheelEventTestTrigger()
446     SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
447
448 #if ENABLE(VIDEO) && USE(GSTREAMER)
449     DidEndRequestInstallMissingMediaPlugins(uint32_t result)
450 #endif
451
452     SetResourceCachingDisabled(bool disabled)
453
454     SetUserInterfaceLayoutDirection(uint32_t direction)
455
456     DidGetLoadDecisionForIcon(bool decision, uint64_t loadIdentifier, uint64_t newCallbackID)
457     SetUseIconLoadingClient(bool useIconLoadingClient)
458
459 #if ENABLE(GAMEPAD)
460     GamepadActivity(Vector<WebKit::GamepadData> gamepadDatas)
461 #endif
462 }