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