dc44f724da7a6d5aa258e9404f6ec7eaef40203b
[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     KeyEventSyncForTesting(WebKit::WebKeyboardEvent event) -> (bool handled)
42     MouseEvent(WebKit::WebMouseEvent event)
43     MouseEventSyncForTesting(WebKit::WebMouseEvent event) -> (bool handled)
44     WheelEventSyncForTesting(WebKit::WebWheelEvent event) -> (bool handled)
45 #if PLATFORM(IOS)
46     SetViewportConfigurationMinimumLayoutSize(WebCore::FloatSize size)
47     SetMaximumUnobscuredSize(WebCore::FloatSize size)
48     SetDeviceOrientation(int32_t deviceOrientation)
49     DynamicViewportSizeUpdate(WebCore::FloatSize minimumLayoutSize, WebCore::FloatSize maximumUnobscuredSize, WebCore::FloatRect targetExposedContentRect, WebCore::FloatRect targetUnobscuredRect, WebCore::FloatRect targetUnobscuredRectInScrollViewCoordinates, double scale, int32_t deviceOrientation, uint64_t dynamicViewportSizeUpdateID)
50     SynchronizeDynamicViewportUpdate() -> (double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t nextValidLayerTreeTransactionID)
51
52     HandleTap(WebCore::IntPoint point, uint64_t lastLayerTreeTransactionId)
53     PotentialTapAtPosition(uint64_t requestID, WebCore::FloatPoint point)
54     CommitPotentialTap(uint64_t lastLayerTreeTransactionId)
55     CancelPotentialTap()
56     TapHighlightAtPosition(uint64_t requestID, WebCore::FloatPoint point)
57     InspectorNodeSearchMovedToPosition(WebCore::FloatPoint point)
58     InspectorNodeSearchEndedAtPosition(WebCore::FloatPoint point)
59     BlurAssistedNode()
60     SelectWithGesture(WebCore::IntPoint point, uint32_t granularity, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID)
61     UpdateSelectionWithTouches(WebCore::IntPoint point, uint32_t touches, bool baseIsStart, uint64_t callbackID)
62     UpdateBlockSelectionWithTouch(WebCore::IntPoint point, uint32_t touch, uint32_t handlePosition)
63     SelectWithTwoTouches(WebCore::IntPoint from, WebCore::IntPoint to, uint32_t gestureType, uint32_t gestureState, uint64_t callbackID)
64     ExtendSelection(uint32_t granularity)
65     SelectWordBackward()
66     MoveSelectionByOffset(int32_t offset, uint64_t callbackID)
67     SelectTextWithGranularityAtPoint(WebCore::IntPoint point, uint32_t granularity, uint64_t callbackID)
68     SelectPositionAtBoundaryWithDirection(WebCore::IntPoint point, uint32_t granularity, uint32_t direction, uint64_t callbackID)
69     MoveSelectionAtBoundaryWithDirection(uint32_t granularity, uint32_t direction, uint64_t callbackID)
70     SelectPositionAtPoint(WebCore::IntPoint point, uint64_t callbackID)
71     BeginSelectionInDirection(uint32_t direction, uint64_t callbackID)
72     UpdateSelectionWithExtentPoint(WebCore::IntPoint point, uint64_t callbackID)
73     RequestDictationContext(uint64_t callbackID)
74     ReplaceDictatedText(String oldText, String newText)
75     ReplaceSelectedText(String oldText, String newText)
76     RequestAutocorrectionData(String textForAutocorrection, uint64_t callbackID)
77     ApplyAutocorrection(String correction, String originalText, uint64_t callbackID)
78     SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
79     RequestAutocorrectionContext(uint64_t callbackID)
80     GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 
81     GetPositionInformation(WebCore::IntPoint point) -> (struct WebKit::InteractionInformationAtPosition information)
82     RequestPositionInformation(WebCore::IntPoint point)
83     StartInteractionWithElementAtPosition(WebCore::IntPoint point)
84     StopInteraction()
85     PerformActionOnElement(uint32_t action)
86     FocusNextAssistedNode(bool isForward, uint64_t callbackID)
87     SetAssistedNodeValue(String value)
88     SetAssistedNodeValueAsNumber(double value)
89     SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection)
90
91     ApplicationWillResignActive()
92     ApplicationWillEnterForeground()
93     ApplicationDidEnterBackground(uint64_t callbackID)
94     ApplicationDidBecomeActive()
95
96     ContentSizeCategoryDidChange(String contentSizeCategory)
97     ExecuteEditCommandWithCallback(String name, uint64_t callbackID)
98     GetLookupContextAtPoint(WebCore::IntPoint point, uint64_t callbackID)
99 #endif
100
101 #if ENABLE(REMOTE_INSPECTOR)
102     SetAllowsRemoteInspection(bool allow)
103 #endif
104
105 #if ENABLE(IOS_TOUCH_EVENTS)
106     TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
107 #endif
108 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
109     TouchEvent(WebKit::WebTouchEvent event)
110     TouchEventSyncForTesting(WebKit::WebTouchEvent event) -> (bool handled)
111 #endif
112
113 #if ENABLE(INPUT_TYPE_COLOR)
114     DidEndColorPicker()
115     DidChooseColor(WebCore::Color color)
116 #endif
117
118 #if ENABLE(CONTEXT_MENUS)
119     ContextMenuHidden()
120 #endif
121
122     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
123     CenterSelectionInVisibleArea()
124
125     GoBack(uint64_t navigationID, uint64_t backForwardItemID)
126     GoForward(uint64_t navigationID, uint64_t backForwardItemID)
127     GoToBackForwardItem(uint64_t navigationID, uint64_t backForwardItemID)
128     TryRestoreScrollPosition()
129
130     LoadURLInFrame(String url, uint64_t frameID)
131     LoadRequest(uint64_t navigationID, WebCore::ResourceRequest request, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::UserData userData)
132     LoadData(IPC::DataReference data, String MIMEType, String encoding, String baseURL, WebKit::UserData userData)
133     LoadHTMLString(uint64_t navigationID, String htmlString, String baseURL, WebKit::UserData userData)
134     LoadAlternateHTMLString(String htmlString, String baseURL, String unreachableURL, String provisionalLoadErrorURL, WebKit::UserData userData)
135     LoadPlainTextString(String string, WebKit::UserData userData)
136     LoadWebArchiveData(IPC::DataReference webArchiveData, WebKit::UserData userData)
137     NavigateToURLWithSimulatedClick(String url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
138
139     Reload(uint64_t navigationID, bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
140     StopLoading()
141
142     StopLoadingFrame(uint64_t frameID)
143     
144     RestoreSession(Vector<WebKit::BackForwardListItemState> itemStates)
145
146     DidRemoveBackForwardItem(uint64_t backForwardItemID)
147
148     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t navigationID, uint64_t downloadID)
149
150     ClearSelection()
151     RestoreSelectionInFocusedEditableElement()
152
153     # Callbacks.
154     GetContentsAsString(uint64_t callbackID)
155 #if ENABLE(MHTML)
156     GetContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding)
157 #endif
158     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
159     GetResourceDataFromFrame(uint64_t frameID, String resourceURL, uint64_t callbackID)
160     GetRenderTreeExternalRepresentation(uint64_t callbackID)
161     GetSelectionOrContentsAsString(uint64_t callbackID)
162     GetSelectionAsWebArchiveData(uint64_t callbackID)
163     GetSourceForFrame(uint64_t frameID, uint64_t callbackID)
164     GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
165     RunJavaScriptInMainFrame(String script, uint64_t callbackID)
166     ForceRepaint(uint64_t callbackID)
167
168 #if PLATFORM(COCOA)
169     # Dictionary support.
170     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
171 #endif
172
173 #if PLATFORM(MAC)
174     PerformDictionaryLookupOfCurrentSelection()
175     SetFont(String fontFamily, double fontSize, uint64_t fontTraits)
176 #endif
177
178     PreferencesDidChange(struct WebKit::WebPreferencesStore store)
179
180     SetUserAgent(String userAgent)
181     SetCustomTextEncodingName(String encodingName)
182
183     SuspendActiveDOMObjectsAndAnimations()
184     ResumeActiveDOMObjectsAndAnimations()
185
186     Close()
187     TryClose()
188
189     SetEditable(bool editable)
190     ValidateCommand(String name, uint64_t callbackID)
191     ExecuteEditCommand(String name)
192
193     DidRemoveEditCommand(uint64_t commandID)
194     ReapplyEditCommand(uint64_t commandID)
195     UnapplyEditCommand(uint64_t commandID)
196
197     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
198     SetPageZoomFactor(double zoomFactor)
199     SetTextZoomFactor(double zoomFactor)
200     WindowScreenDidChange(uint32_t displayID)
201
202     ScalePage(double scale, WebCore::IntPoint origin)
203     ScalePageInViewCoordinates(double scale, WebCore::IntPoint centerInViewCoordinates)
204     ScaleView(double scale)
205 #if PLATFORM(COCOA)
206     ScaleViewAndUpdateGeometryFenced(double scale, WebCore::IntSize viewSize, uint64_t callbackID)
207 #endif
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
224     PostInjectedBundleMessage(String messageName, WebKit::UserData messageBody)
225
226     # Find.
227     FindString(String string, uint32_t findOptions, unsigned maxMatchCount)
228     FindStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
229     GetImageForFindMatch(uint32_t matchIndex)
230     SelectFindMatch(uint32_t matchIndex)
231     HideFindUI()
232     CountStringMatches(String string, uint32_t findOptions, unsigned maxMatchCount)
233     
234     AddMIMETypeWithCustomContentProvider(String mimeType)
235
236     # Drag and drop.
237 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
238     PerformDragControllerAction(uint64_t action, WebCore::DragData dragData)
239 #endif
240 #if !PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
241     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)
242 #endif
243 #if ENABLE(DRAG_SUPPORT)
244     DidStartDrag()
245     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
246 #endif
247
248     # Popup menu.
249     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
250     SetTextForActivePopupMenu(int32_t index)
251 #if PLATFORM(GTK)
252     FailedToShowPopupMenu()
253 #endif
254
255 #if ENABLE(CONTEXT_MENUS)
256     # Context menu.
257     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem)
258 #endif
259
260     # Open panel.
261 #if PLATFORM(IOS)
262     DidChooseFilesForOpenPanelWithDisplayStringAndIcon(Vector<String> fileURLs, String displayString, IPC::DataReference iconData)
263 #endif
264     DidChooseFilesForOpenPanel(Vector<String> fileURLs)
265     DidCancelForOpenPanel()
266 #if ENABLE(SANDBOX_EXTENSIONS)
267     ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle)
268 #endif
269
270     # Spelling and grammar.
271     AdvanceToNextMisspelling(bool startBeforeSelection)
272     ChangeSpellingToWord(String word)
273     DidFinishCheckingText(uint64_t requestID, Vector<WebCore::TextCheckingResult> result)
274     DidCancelCheckingText(uint64_t requestID)
275 #if USE(APPKIT)
276     UppercaseWord()
277     LowercaseWord()
278     CapitalizeWord()
279 #endif
280 #if PLATFORM(COCOA)
281     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled)
282 #endif
283
284 #if ENABLE(GEOLOCATION)
285     # Geolocation
286     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
287 #endif
288
289 #if ENABLE(MEDIA_STREAM)
290     # MediaSteam
291     DidReceiveUserMediaPermissionDecision(uint64_t userMediaID, bool allowed)
292 #endif
293
294     # Notification
295     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
296
297     SetWindowResizerSize(WebCore::IntSize intersectsView)
298
299     # Printing.
300     BeginPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo)
301     EndPrinting()
302     ComputePagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
303 #if PLATFORM(COCOA)
304     DrawRectToImage(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebCore::IntRect rect, WebCore::IntSize imageSize, uint64_t callbackID)
305     DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
306 #if PLATFORM(IOS)
307     ComputePagesForPrintingAndStartDrawingToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t firstPage) -> (Vector<WebCore::IntRect> pageRects, double totalScaleFactor) Delayed
308 #endif
309 #endif
310 #if PLATFORM(GTK)
311     DrawPagesForPrinting(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint64_t callbackID)
312 #endif
313
314     # Media
315     SetMediaVolume(float volume)
316     SetMuted(bool muted)
317     SetMayStartMediaWhenInWindow(bool mayStartMedia)
318
319     // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require
320     // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed.
321     Dummy() -> (bool dummyReturn)
322
323     SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
324     SetCanRunModal(bool canRunModal)
325
326 #if PLATFORM(EFL)
327     SetThemePath(String themePath)
328 #endif
329
330 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
331     CommitPageTransitionViewport()
332 #endif
333
334 #if PLATFORM(GTK)
335     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
336     ConfirmComposition(String text, int64_t selectionStart, int64_t selectionLength)
337     CancelComposition()
338 #endif
339
340 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
341     GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center)
342 #endif
343
344 #if PLATFORM(COCOA)
345     # Complex text input support for plug-ins.
346     SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
347
348     WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
349     SetMainFrameIsScrollable(bool isScrollable)
350     RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
351     GetStringSelectionForPasteboard() -> (String stringValue)
352     GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
353     ReadSelectionFromPasteboard(String pasteboardName) -> (bool result)
354
355 #if ENABLE(SERVICE_CONTROLS)
356     ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
357 #endif
358
359     ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
360     AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
361
362     InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup)
363     GetMarkedRangeAsync(uint64_t callbackID)
364     GetSelectedRangeAsync(uint64_t callbackID)
365     CharacterIndexForPointAsync(WebCore::IntPoint point, uint64_t callbackID);
366     FirstRectForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
367     SetCompositionAsync(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange)
368     ConfirmCompositionAsync()
369 #endif
370 #if PLATFORM(MAC)
371     InsertDictatedTextAsync(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives, bool registerUndoGroup)
372     AttributedSubstringForCharacterRangeAsync(struct WebKit::EditingRange range, uint64_t callbackID);
373     FontAtSelection(uint64_t callbackID);
374 #endif
375 #if PLATFORM(MAC) && !USE(ASYNC_NSTEXTINPUTCLIENT)
376     InsertText(String text, struct WebKit::EditingRange replacementRange) -> (bool handled, struct WebKit::EditorState newState)
377     SetComposition(String text, Vector<WebCore::CompositionUnderline> underlines, struct WebKit::EditingRange selectionRange, struct WebKit::EditingRange replacementRange) -> (struct WebKit::EditorState newState)
378     ConfirmComposition() -> (struct WebKit::EditorState newState)
379     InsertDictatedText(String text, struct WebKit::EditingRange replacementRange, Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, struct WebKit::EditorState newState)
380     GetAttributedSubstringFromRange(struct WebKit::EditingRange range) -> (struct WebKit::AttributedString result)
381     GetMarkedRange() -> (struct WebKit::EditingRange range)
382     GetSelectedRange() -> (struct WebKit::EditingRange range)
383     CharacterIndexForPoint(WebCore::IntPoint point) -> (uint64_t result)
384     FirstRectForCharacterRange(struct WebKit::EditingRange range) -> (WebCore::IntRect resultRect)
385     ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, struct WebKit::EditorState newState)
386     CancelComposition() -> (struct WebKit::EditorState newState)
387 #endif
388
389     SetMinimumLayoutSize(WebCore::IntSize minimumLayoutSize)
390     SetAutoSizingShouldExpandToViewHeight(bool shouldExpand)
391
392 #if PLATFORM(EFL)
393     ConfirmComposition(String compositionString)
394     SetComposition(String compositionString, Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
395     CancelComposition()
396 #endif
397 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
398     FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area)
399 #endif
400
401 #if PLATFORM(COCOA)
402     HandleAlternativeTextUIResult(String result)
403 #endif
404
405 #if PLATFORM(IOS)
406     WillStartUserTriggeredZooming();
407 #endif
408
409     SetScrollPinningBehavior(uint32_t pinning)
410     SetScrollbarOverlayStyle(Optional<uint32_t> scrollbarStyle)
411
412     GetBytecodeProfile(uint64_t callbackID)
413     
414     TakeSnapshot(WebCore::IntRect snapshotRect, WebCore::IntSize bitmapSize, uint32_t options, uint64_t callbackID)
415 #if PLATFORM(MAC)
416     PerformActionMenuHitTestAtLocation(WebCore::FloatPoint location, bool forImmediateAction)
417     SelectLastActionMenuRange()
418     FocusAndSelectLastActionMenuHitTestResult()
419     ImmediateActionDidUpdate()
420     ImmediateActionDidCancel()
421     ImmediateActionDidComplete()
422     DataDetectorsDidPresentUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
423     DataDetectorsDidChangeUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
424     DataDetectorsDidHideUI(WebCore::PageOverlay::PageOverlayID pageOverlay)
425 #endif
426
427     SetShouldDispatchFakeMouseMoveEvents(bool shouldDispatchFakeMouseMoveEvents)
428
429 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
430     PlaybackTargetSelected(uint64_t contextId, struct WebCore::MediaPlaybackTargetContext target)
431     PlaybackTargetAvailabilityDidChange(uint64_t contextId, bool available)
432     SetShouldPlayToPlaybackTarget(uint64_t contextId, bool shouldPlay)
433 #endif
434
435     ClearWheelEventTestTrigger()
436 }