56b121cb5c851beec667938fa3dae53b65889654
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.messages.in
1 # Copyright (C) 2010, 2011 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     SetViewState(unsigned viewState, bool wantsDidUpdateViewState, Vector<uint64_t> callbackIDs)
26     SetLayerHostingMode(unsigned layerHostingMode)
27
28     SetSessionID(WebCore::SessionID sessionID)
29
30     SetDrawsBackground(bool drawsBackground)
31     SetDrawsTransparentBackground(bool drawsTransparentBackground)
32
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(WebCore::IntPoint point) -> (struct WebKit::InteractionInformationAtPosition information)
80     RequestPositionInformation(WebCore::IntPoint point)
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     ApplicationWillEnterForeground(bool isSuspendedUnderLock)
91     ApplicationDidBecomeActive()
92     ContentSizeCategoryDidChange(String contentSizeCategory)
93     ExecuteEditCommandWithCallback(String name, uint64_t callbackID)
94     GetLookupContextAtPoint(WebCore::IntPoint point, uint64_t callbackID)
95     SetAllowsMediaDocumentInlinePlayback(bool allows)
96 #endif
97
98 #if ENABLE(REMOTE_INSPECTOR)
99     SetAllowsRemoteInspection(bool allow)
100 #endif
101
102 #if ENABLE(IOS_TOUCH_EVENTS)
103     TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
104 #endif
105 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
106     TouchEvent(WebKit::WebTouchEvent event)
107 #endif
108
109 #if ENABLE(INPUT_TYPE_COLOR)
110     DidEndColorPicker()
111     DidChooseColor(WebCore::Color color)
112 #endif
113
114 #if ENABLE(CONTEXT_MENUS)
115     ContextMenuHidden()
116 #endif
117
118     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
119     CenterSelectionInVisibleArea()
120
121     GoBack(uint64_t navigationID, uint64_t backForwardItemID)
122     GoForward(uint64_t navigationID, uint64_t backForwardItemID)
123     GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID)
124     TryRestoreScrollPosition()
125
126     LoadURLInFrame(String url, uint64_t frameID)
127     LoadRequest(uint64_t navigationID, WebCore::ResourceRequest request, WebKit::SandboxExtension::Handle sandboxExtensionHandle, uint64_t shouldOpenExternalURLsPolicy, WebKit::UserData userData)
128     LoadData(uint64_t navigationID, IPC::DataReference data, String MIMEType, String encoding, String baseURL, WebKit::UserData userData)
129     LoadHTMLString(uint64_t navigationID, String htmlString, String baseURL, WebKit::UserData userData)
130     LoadAlternateHTMLString(String htmlString, String baseURL, String unreachableURL, String provisionalLoadErrorURL, WebKit::UserData userData)
131     LoadPlainTextString(String string, WebKit::UserData userData)
132     LoadWebArchiveData(IPC::DataReference webArchiveData, WebKit::UserData userData)
133     NavigateToPDFLinkWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
134
135     Reload(uint64_t navigationID, bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
136     StopLoading()
137
138     StopLoadingFrame(uint64_t frameID)
139     
140     RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
141
142     DidRemoveBackForwardItem(uint64_t backForwardItemID)
143
144     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t navigationID, uint64_t downloadID)
145
146     ClearSelection()
147     RestoreSelectionInFocusedEditableElement()
148
149     # Callbacks.
150     GetContentsAsString(uint64_t callbackID)
151 #if ENABLE(MHTML)
152     GetContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding)
153 #endif
154     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
155     GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID)
156     GetRenderTreeExternalRepresentation(uint64_t callbackID)
157     GetSelectionOrContentsAsString(uint64_t callbackID)
158     GetSelectionAsWebArchiveData(uint64_t callbackID)
159     GetSourceForFrame(uint64_t frameID, uint64_t callbackID)
160     GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
161     RunJavaScriptInMainFrame(String script, uint64_t callbackID)
162     ForceRepaint(uint64_t callbackID)
163
164 #if PLATFORM(COCOA)
165     # Dictionary support.
166     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
167 #endif
168
169 #if PLATFORM(MAC)
170     PerformDictionaryLookupOfCurrentSelection()
171     SetFont(String fontFamily, double fontSize, uint64_t fontTraits)
172 #endif
173
174     PreferencesDidChange(struct WebKit::WebPreferencesStore store)
175
176     SetUserAgent(String userAgent)
177     SetCustomTextEncodingName(String encodingName)
178
179     SuspendActiveDOMObjectsAndAnimations()
180     ResumeActiveDOMObjectsAndAnimations()
181
182     Close()
183     TryClose()
184
185     SetEditable(bool editable)
186     ValidateCommand(String name, uint64_t callbackID)
187     ExecuteEditCommand(String name, String argument)
188
189     DidRemoveEditCommand(uint64_t commandID)
190     ReapplyEditCommand(uint64_t commandID)
191     UnapplyEditCommand(uint64_t commandID)
192
193     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
194     SetPageZoomFactor(double zoomFactor)
195     SetTextZoomFactor(double zoomFactor)
196     WindowScreenDidChange(uint32_t displayID)
197
198     ScalePage(double scale, WebCore::IntPoint origin)
199     ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
200     ScaleView(double scale)
201
202     SetUseFixedLayout(bool fixed)
203     SetFixedLayoutSize(WebCore::IntSize size)
204     ListenForLayoutMilestones(uint32_t milestones)
205     SetSuppressScrollbarAnimations(bool suppressAnimations)
206
207     SetEnableVerticalRubberBanding(bool enableVerticalRubberBanding)
208     SetEnableHorizontalRubberBanding(bool enableHorizontalRubberBanding)
209
210     SetBackgroundExtendsBeyondPage(bool backgroundExtendsBeyondPage)
211
212     SetPaginationMode(uint32_t mode)
213     SetPaginationBehavesLikeColumns(bool behavesLikeColumns)
214     SetPageLength(double pageLength)
215     SetGapBetweenPages(double gap)
216
217     PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
218
219     # Find.
220     FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
221     FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
222     GetImageForFindMatch(uint32_t matchIndex)
223     SelectFindMatch(uint32_t matchIndex)
224     HideFindUI()
225     CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
226     
227     AddMIMETypeWithCustomContentProvider(String mimeType)
228
229     # Drag and drop.
230 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
231     PerformDragControllerAction(uint64_t action, WebCore::DragData dragData)
232 #endif
233 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
234     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)
235 #endif
236 #if ENABLE(DRAG_SUPPORT)
237     DidStartDrag()
238     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
239 #endif
240
241     # Popup menu.
242     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
243     SetTextForActivePopupMenu(int32_t index)
244 #if PLATFORM(GTK)
245     FailedToShowPopupMenu()
246 #endif
247
248 #if ENABLE(CONTEXT_MENUS)
249     # Context menu.
250     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
251 #endif
252
253     # Open panel.
254 #if PLATFORM(IOS)
255     DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
256 #endif
257     DidChooseFilesForOpenPanel(Vector<String> fileURLs)
258     DidCancelForOpenPanel()
259 #if ENABLE(SANDBOX_EXTENSIONS)
260     ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle)
261 #endif
262
263     # Spelling and grammar.
264     AdvanceToNextMisspelling(bool startBeforeSelection)
265     ChangeSpellingToWord(String word)
266     DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
267     DidCancelCheckingText(uint64_t requestID)
268 #if USE(APPKIT)
269     UppercaseWord()
270     LowercaseWord()
271     CapitalizeWord()
272 #endif
273 #if PLATFORM(COCOA)
274     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
275 #endif
276
277 #if ENABLE(GEOLOCATION)
278     # Geolocation
279     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
280 #endif
281
282 #if ENABLE(MEDIA_STREAM)
283     # MediaSteam
284     DidReceiveUserMediaPermissionDecision(uint64_t userMediaID, bool allowed, String audioDeviceUID, String videoDeviceUID)
285 #endif
286
287     # Notification
288     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
289
290     # Printing.
291     BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
292     EndPrinting()
293     ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
294 #if PLATFORM(COCOA)
295     DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID)
296     DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
297 #if PLATFORM(IOS)
298     ComputePagesForPrintingAndStartDrawingToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t firstPage) -> (Vector<WebCore::IntRect> pageRects, double totalScaleFactor) Delayed
299 #endif
300 #endif
301 #if PLATFORM(GTK)
302     DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
303 #endif
304
305     # Media
306     SetMediaVolume(float volume)
307     SetMuted(bool muted)
308     SetMayStartMediaWhenInWindow(bool mayStartMedia)
309
310 #if ENABLE(MEDIA_SESSION)
311     HandleMediaEvent(uint32_t eventType)
312     SetVolumeOfMediaElement(double volume, uint64_t elementID)
313 #endif
314
315     // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require
316     // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed.
317     Dummy() -> (bool dummyReturn)
318
319     SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
320     SetCanRunModal(bool canRunModal)
321
322 #if PLATFORM(EFL)
323     SetThemePath(String themePath)
324 #endif
325
326 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
327     CommitPageTransitionViewport()
328 #endif
329
330 #if PLATFORM(GTK)
331     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
332     ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength)
333     CancelComposition()
334 #endif
335
336 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
337     GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center)
338 #endif
339
340 #if PLATFORM(COCOA)
341     # Complex text input support for plug-ins.
342     SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
343
344     WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
345     SetMainFrameIsScrollable(bool isScrollable)
346     RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
347     GetStringSelectionForPasteboard() -> (String stringValue)
348     GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
349     ReadSelectionFromPasteboard(String pasteboardName) -> (bool result)
350
351 #if ENABLE(SERVICE_CONTROLS)
352     ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
353 #endif
354
355     ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
356     AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
357
358     InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup)
359     GetMarkedRangeAsync(uint64_t callbackID)
360     GetSelectedRangeAsync(uint64_t callbackID)
361     CharacterIndexForPointAsync(WebCore::IntPoint point, uint64_t callbackID);
362     FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
363     SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
364     ConfirmCompositionAsync()
365 #endif
366 #if PLATFORM(MAC)
367     InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
368     AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
369     FontAtSelection(uint64_t callbackID);
370 #endif
371 #if PLATFORM(MAC) && !USE(ASYNC_NSTEXTINPUTCLIENT)
372     InsertText(String text, struct WebKit::EditingRange replacementRange) -> (bool handled, struct WebKit::EditorState newState)
373     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange) -> (struct WebKit::EditorState newState)
374     ConfirmComposition() -> (struct WebKit::EditorState newState)
375     InsertDictatedText(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, struct WebKit::EditorState newState)
376     GetAttributedSubstringFromRange(struct WebKit::EditingRange range) -> (struct WebKit::AttributedString result)
377     GetMarkedRange() -> (struct WebKit::EditingRange range)
378     GetSelectedRange() -> (struct WebKit::EditingRange range)
379     CharacterIndexForPoint(WebCore::IntPoint point) -> (uint64_t result)
380     FirstRectForCharacterRange(struct WebKit::EditingRange range) -> (WebCore::IntRect resultRect)
381     ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, struct WebKit::EditorState newState)
382     CancelComposition() -> (struct WebKit::EditorState newState)
383 #endif
384
385     SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize)
386     SetAutoSizingShouldExpandToViewHeight(bool shouldExpand)
387
388 #if PLATFORM(EFL)
389     ConfirmComposition(String compositionString)
390     SetComposition(String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
391     CancelComposition()
392 #endif
393 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
394     FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area)
395 #endif
396
397 #if PLATFORM(COCOA)
398     HandleAlternativeTextUIResult(String result)
399 #endif
400
401 #if PLATFORM(IOS)
402     WillStartUserTriggeredZooming();
403 #endif
404
405     SetScrollPinningBehavior(uint32_t pinning)
406     SetScrollbarOverlayStyle(Optional<uint32_t> scrollbarStyle)
407
408     GetBytecodeProfile(uint64_t callbackID)
409     
410     TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, uint64_t callbackID)
411 #if PLATFORM(MAC)
412     PerformImmediateActionHitTestAtLocation(WebCore::FloatPoint location)
413     ImmediateActionDidUpdate()
414     ImmediateActionDidCancel()
415     ImmediateActionDidComplete()
416     DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
417     DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
418     DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
419 #endif
420
421     SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
422
423 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
424     PlaybackTargetSelected(uint64_t contextId, struct WebCore::MediaPlaybackTargetContext target)
425     PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
426     SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
427 #endif
428
429     ClearWheelEventTestTrigger()
430     SetShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
431     SetUserContentExtensionsEnabled(bool userContentExtensionsEnabled)
432
433 #if ENABLE(VIDEO) && USE(GSTREAMER)
434     DidEndRequestInstallMissingMediaPlugins(uint32_t result)
435 #endif
436 }