-[WKWebView evaluateJavaScript] provides a misleading error when the return cannot...
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebPageProxy.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 -> WebPageProxy {
24     # UI messages
25     CreateNewPage(uint64_t frameID, WebCore::ResourceRequest request, struct WebCore::WindowFeatures windowFeatures, struct WebKit::NavigationActionData navigationActionData) -> (uint64_t newPageID, struct WebKit::WebPageCreationParameters newPageParameters)
26     ShowPage()
27     ClosePage(bool stopResponsivenessTimer)
28     RunJavaScriptAlert(uint64_t frameID, String message) -> () Delayed
29     RunJavaScriptConfirm(uint64_t frameID, String message) -> (bool result) Delayed
30     RunJavaScriptPrompt(uint64_t frameID, String message, String defaultValue) -> (String result) Delayed
31     ShouldInterruptJavaScript() -> (bool shouldInterupt)
32     MouseDidMoveOverElement(WebKit::WebHitTestResult::Data hitTestResultData, uint32_t modifiers, WebKit::UserData userData)
33
34     DidBeginTrackingPotentialLongMousePress(WebCore::IntPoint mouseDownPosition, WebKit::WebHitTestResult::Data hitTestResultData, WebKit::UserData userData)
35     DidRecognizeLongMousePress(WebKit::UserData userData)
36     DidCancelTrackingPotentialLongMousePress(WebKit::UserData userData)
37
38 #if ENABLE(NETSCAPE_PLUGIN_API)
39     UnavailablePluginButtonClicked(uint32_t pluginUnavailabilityReason, String mimeType, String pluginURLString, String pluginspageAttributeURLString, String frameURLString, String pageURLString)
40 #endif // ENABLE(NETSCAPE_PLUGIN_API)
41 #if ENABLE(WEBGL)
42     WebGLPolicyForURL(String url) -> (uint32_t loadPolicy)
43     ResolveWebGLPolicyForURL(String url) -> (uint32_t loadPolicy)
44 #endif // ENABLE(WEBGL)
45     DidChangeViewportProperties(struct WebCore::ViewportAttributes attributes)
46     DidReceiveEvent(uint32_t type, bool handled)
47     StopResponsivenessTimer()
48 #if !PLATFORM(IOS)
49     SetCursor(WebCore::Cursor cursor)
50     SetCursorHiddenUntilMouseMoves(bool hiddenUntilMouseMoves)
51 #endif
52     SetStatusText(String statusText)
53     SetToolTip(String toolTip)
54     SetFocus(bool focused)
55     TakeFocus(uint32_t direction)
56     FocusedFrameChanged(uint64_t frameID)
57     FrameSetLargestFrameChanged(uint64_t frameID)
58     SetRenderTreeSize(uint64_t treeSize)
59     SetToolbarsAreVisible(bool toolbarsAreVisible)
60     GetToolbarsAreVisible() -> (bool toolbarsAreVisible)
61     SetMenuBarIsVisible(bool menuBarIsVisible);
62     GetMenuBarIsVisible() -> (bool menuBarIsVisible);
63     SetStatusBarIsVisible(bool statusBarIsVisible)
64     GetStatusBarIsVisible() -> (bool statusBarIsVisible)
65     SetIsResizable(bool isResizable)
66     GetIsResizable() -> (bool isResizable)
67     SetWindowFrame(WebCore::FloatRect windowFrame)
68     GetWindowFrame() -> (WebCore::FloatRect windowFrame)
69     ScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint)
70     RootViewToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame)
71
72 #if PLATFORM(IOS)
73     AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint)
74     RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame)
75 #endif
76
77     RunBeforeUnloadConfirmPanel(String message, uint64_t frameID) -> (bool shouldClose)
78     PageDidScroll()
79     RunOpenPanel(uint64_t frameID, struct WebCore::FileChooserSettings parameters)
80     PrintFrame(uint64_t frameID) -> ()
81     RunModal()
82     NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb)
83     RecommendedScrollbarStyleDidChange(int32_t newStyle)
84     DidChangeScrollbarsForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar)
85     DidChangeScrollOffsetPinningForMainFrame(bool pinnedToLeftSide, bool pinnedToRightSide, bool pinnedToTopSide, bool pinnedToBottomSide)
86     DidChangePageCount(unsigned pageCount)
87     PageExtendedBackgroundColorDidChange(WebCore::Color backgroundColor)
88 #if ENABLE(NETSCAPE_PLUGIN_API)
89     DidFailToInitializePlugin(String mimeType, String frameURLString, String pageURLString)
90     DidBlockInsecurePluginVersion(String mimeType, String pluginURLString, String frameURLString, String pageURLString, bool replacementObscured)
91 #endif // ENABLE(NETSCAPE_PLUGIN_API)
92     SetCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents)
93
94 #if PLATFORM(EFL)
95     HandleInputMethodKeydown() -> (bool handled)
96 #endif
97
98 #if USE(COORDINATED_GRAPHICS_MULTIPROCESS)
99     PageDidRequestScroll(WebCore::IntPoint point)
100     PageTransitionViewportReady()
101     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
102 #endif
103
104     DidChangeContentSize(WebCore::IntSize newSize)
105
106 #if ENABLE(INPUT_TYPE_COLOR)
107     ShowColorPicker(WebCore::Color initialColor, WebCore::IntRect elementRect);
108     SetColorPickerColor(WebCore::Color color);
109     EndColorPicker();
110 #endif
111
112     # Policy messages
113     DecidePolicyForResponseSync(uint64_t frameID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
114     DecidePolicyForNavigationAction(uint64_t frameID, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, uint64_t originatingFrameID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, uint64_t newNavigationID, uint64_t policyAction, uint64_t downloadID)
115     DecidePolicyForNewWindowAction(uint64_t frameID, struct WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::UserData userData)
116     UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::UserData userData)
117
118     # Progress messages
119     DidChangeProgress(double value)
120     DidFinishProgress()
121     DidStartProgress()
122
123     SetNetworkRequestsInProgress(bool networkRequestsInProgress)
124
125     # Frame lifetime messages
126     DidCreateMainFrame(uint64_t frameID)
127     DidCreateSubframe(uint64_t frameID)
128
129     # Frame load messages
130     DidStartProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, String url, String unreachableURL, WebKit::UserData userData)
131     DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, String url, WebKit::UserData userData)
132     DidChangeProvisionalURLForFrame(uint64_t frameID, uint64_t navigationID, String url)
133     DidFailProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, String provisionalURL, WebCore::ResourceError error, WebKit::UserData userData)
134     DidCommitLoadForFrame(uint64_t frameID, uint64_t navigationID, String mimeType, bool hasCustomContentProvider, uint32_t loadType, WebCore::CertificateInfo certificateInfo, WebKit::UserData userData)
135     DidFailLoadForFrame(uint64_t frameID, uint64_t navigationID, WebCore::ResourceError error, WebKit::UserData userData)
136     DidFinishDocumentLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
137     DidFinishLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
138     DidFirstLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
139     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
140     DidLayout(uint32_t type, WebKit::UserData userData)
141     DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::UserData userData)
142     DidReceiveTitleForFrame(uint64_t frameID, String title, WebKit::UserData userData)
143     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
144     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
145     DidDetectXSSForFrame(uint64_t frameID, WebKit::UserData userData)
146     DidSameDocumentNavigationForFrame(uint64_t frameID, uint64_t navigationID, uint32_t type, String url, WebKit::UserData userData)
147     DidDestroyNavigation(uint64_t navigationID)
148
149     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
150
151     # History client messages.
152     DidNavigateWithNavigationData(struct WebKit::WebNavigationDataStore store, uint64_t frameID)
153     DidPerformClientRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
154     DidPerformServerRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
155     DidUpdateHistoryTitle(String title, String url, uint64_t frameID)
156
157     # Custom representations
158     DidFinishLoadingDataForCustomContentProvider(String suggestedFilename, IPC::DataReference data)
159
160     # Forms messages
161     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, Vector<std::pair<String, String>> textFieldValues, uint64_t listenerID, WebKit::UserData userData)
162
163     # Callback messages
164     VoidCallback(uint64_t callbackID)
165     DataCallback(IPC::DataReference resultData, uint64_t callbackID)
166     ImageCallback(WebKit::ShareableBitmap::Handle bitmapHandle, uint64_t callbackID)
167     StringCallback(String resultString, uint64_t callbackID)
168     ScriptValueCallback(IPC::DataReference resultData, bool hadException, uint64_t callbackID)
169     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
170     ValidateCommandCallback(String command, bool isEnabled, int32_t state, uint64_t callbackID)
171     EditingRangeCallback(struct WebKit::EditingRange range, uint64_t callbackID)
172     UnsignedCallback(uint64_t result, uint64_t callbackID)
173     RectForCharacterRangeCallback(WebCore::IntRect rect, struct WebKit::EditingRange actualRange, uint64_t callbackID)
174 #if PLATFORM(MAC)
175     AttributedStringForCharacterRangeCallback(struct WebKit::AttributedString string, struct WebKit::EditingRange actualRange, uint64_t callbackID)
176     FontAtSelectionCallback(String fontName, double fontSize, bool selectioHasMultipleFonts, uint64_t callbackID)
177 #endif
178 #if PLATFORM(IOS)
179     GestureCallback(WebCore::IntPoint point, uint32_t gestureType, uint32_t gestureState, uint32_t flags, uint64_t callbackID)
180     TouchesCallback(WebCore::IntPoint point, uint32_t touches, uint64_t callbackID)
181     AutocorrectionDataCallback(Vector<WebCore::FloatRect> textRects, String fontName, double fontSize, uint64_t traits, uint64_t callbackID)
182     AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, uint64_t callbackID)
183     DictationContextCallback(String selectedText, String beforeText, String afterText, uint64_t callbackID)
184     InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled)
185     DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information)
186     SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size)
187     DidUpdateBlockSelectionWithTouch(uint32_t touch, uint32_t flags, float growThreshold, float shrinkThreshold)
188     ShowPlaybackTargetPicker(bool hasVideo, WebCore::IntRect elementRect)
189     ZoomToRect(WebCore::FloatRect rect, double minimumScale, double maximumScale)
190     CommitPotentialTapFailed()
191     DidNotHandleTapAsClick(WebCore::IntPoint point)
192     ViewportMetaTagWidthDidChange(float width)
193     DidFinishDrawingPagesToPDF(IPC::DataReference pdfData)
194 #endif
195 #if PLATFORM(GTK)
196     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
197 #endif
198 #if PLATFORM(COCOA)
199     MachSendRightCallback(WebCore::MachSendRight sendRight, uint64_t callbackID)
200 #endif
201
202     PageScaleFactorDidChange(double scaleFactor)
203     PluginScaleFactorDidChange(double zoomFactor)
204     PluginZoomFactorDidChange(double zoomFactor)
205
206 #if PLATFORM(GTK)
207     # Support for connecting the Accessibility worlds of the UI and the Web processes
208     BindAccessibilityTree(String plugID)
209
210     SetInputMethodState(bool enabled);
211 #endif
212
213     # BackForward messages
214     BackForwardAddItem(uint64_t itemID)
215     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
216     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
217     BackForwardBackListCount() -> (int32_t count)
218     BackForwardForwardListCount() -> (int32_t count)
219     BackForwardClear()
220     WillGoToBackForwardListItem(uint64_t itemID, WebKit::UserData userData)
221
222     # Undo/Redo messages
223     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
224     ClearAllEditCommands()
225     RegisterInsertionUndoGrouping()
226     CanUndoRedo(uint32_t action) -> (bool result)
227     ExecuteUndoRedo(uint32_t action) -> (bool result)
228
229     # Diagnostic messages logging
230     LogDiagnosticMessage(String message, String description, bool shouldSample)
231     LogDiagnosticMessageWithResult(String message, String description, uint32_t result, bool shouldSample)
232     LogDiagnosticMessageWithValue(String message, String description, String value, bool shouldSample)
233
234     # Editor notifications
235     EditorStateChanged(struct WebKit::EditorState editorState)
236     CompositionWasCanceled(struct WebKit::EditorState editorState)
237
238     # Find messages
239     DidCountStringMatches(String string, uint32_t matchCount)
240     SetTextIndicator(struct WebCore::TextIndicatorData indicator, uint64_t lifetime)
241     ClearTextIndicator()
242     DidFindString(String string, uint32_t matchCount, int32_t matchIndex)
243     DidFailToFindString(String string)
244     DidFindStringMatches(String string, Vector<Vector<WebCore::IntRect>> matches, int32_t firstIndexAfterSelection)
245     DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
246
247     # PopupMenu messages
248     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, struct WebKit::PlatformPopupMenuData data)
249     HidePopupMenu()
250
251 #if ENABLE(CONTEXT_MENUS)
252     # ContextMenu messages
253     ShowContextMenu(WebCore::IntPoint menuLocation, WebKit::ContextMenuContextData contextMenuContextData, Vector<WebKit::WebContextMenuItemData> items, WebKit::UserData userData)
254 #endif
255
256     # Authentication messages
257     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
258     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
259
260     # Database messages
261     ExceededDatabaseQuota(uint64_t frameID, String originIdentifier, String databaseName, String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota) Delayed
262
263     # Application cache messages
264     ReachedApplicationCacheOriginQuota(String originIdentifier, uint64_t currentQuota, uint64_t totalBytesNeeded) -> (uint64_t newQuota) Delayed
265
266     # Geolocation messages
267     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier)
268     
269 #if ENABLE(MEDIA_STREAM)
270     # MediaSteam messages
271     RequestUserMediaPermissionForFrame(uint64_t userMediaID, uint64_t frameID, String originIdentifier, bool audio, bool video)
272 #endif
273
274     # Notification messages
275     RequestNotificationPermission(uint64_t requestID, String originIdentifier)
276     ShowNotification(String title, String body, String iconURL, String tag, String lang, String dir, String originIdentifier, uint64_t notificationID)
277     CancelNotification(uint64_t notificationID)
278     ClearNotifications(Vector<uint64_t> notificationIDs)
279     DidDestroyNotification(uint64_t notificationID)
280
281     # Spelling and grammar messages
282 #if USE(UNIFIED_TEXT_CHECKING)  
283     CheckTextOfParagraph(String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
284 #endif
285     CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
286     CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
287     SpellingUIIsShowing() -> (bool isShowing)
288     UpdateSpellingUIWithMisspelledWord(String misspelledWord)
289     UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
290     GetGuessesForWord(String word, String context) -> (Vector<String> guesses)
291     LearnWord(String word);
292     IgnoreWord(String word);
293     RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request)
294
295     # Drag and drop messages
296 #if ENABLE(DRAG_SUPPORT)
297     DidPerformDragControllerAction(uint64_t dragOperation, bool mouseIsOverFileInput, unsigned numberOfItemsToBeAccepted)
298 #endif
299 #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT)
300     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
301     SetPromisedDataForImage(String pasteboardName, WebKit::SharedMemory::Handle imageHandle, uint64_t imageSize, String filename, String extension, String title, String url, String visibleURL, WebKit::SharedMemory::Handle archiveHandle, uint64_t archiveSize)
302 #if ENABLE(ATTACHMENT_ELEMENT)
303     SetPromisedDataForAttachment(String pasteboardName, String filename, String extension, String title, String url, String visibleURL)
304 #endif
305 #endif
306 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
307     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
308 #endif
309
310 #if PLATFORM(COCOA)
311     # Dictionary support.
312     DidPerformDictionaryLookup(struct WebKit::DictionaryPopupInfo dictionaryPopupInfo)
313
314     # Keyboard input support messages
315     ExecuteSavedCommandBySelector(String selector) -> (bool handled)
316
317     # Remote accessibility messages
318     RegisterWebProcessAccessibilityToken(IPC::DataReference data)
319
320     # Plug-in complex text input support messages
321     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
322     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
323
324     # Speech messages
325     GetIsSpeaking() -> (bool isSpeaking)
326     Speak(String string)
327     StopSpeaking()
328
329     MakeFirstResponder()
330
331     # Spotlight
332     SearchWithSpotlight(String string)
333
334     SearchTheWeb(String string)
335 #endif
336
337 #if USE(APPKIT)
338     SubstitutionsPanelIsShowing() -> (bool isShowing)
339 #endif
340 #if PLATFORM(MAC)
341     # Autocorrection messages
342     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
343     DismissCorrectionPanel(int32_t reason)
344     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
345     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
346 #endif
347
348 #if USE(DICTATION_ALTERNATIVES)
349     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
350     RemoveDictationAlternatives(uint64_t dictationContext)
351     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
352 #endif
353
354 #if PLUGIN_ARCHITECTURE(X11)
355     # X11 windowed plugin messages
356     CreatePluginContainer() -> (uint64_t windowID)
357     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
358     WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
359 #endif
360
361 #if PLATFORM(IOS)
362     DynamicViewportUpdateChangedTarget(double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t dynamicViewportSizeUpdateID)
363     RestorePageState(WebCore::FloatRect exposedRect, double scale)
364     RestorePageCenterAndScale(WebCore::FloatPoint unobscuredCenter, double scale)
365     DidGetTapHighlightGeometries(uint64_t requestID, WebCore::Color color, Vector<WebCore::FloatQuad> geometries, WebCore::IntSize topLeftRadius, WebCore::IntSize topRightRadius, WebCore::IntSize bottomLeftRadius, WebCore::IntSize bottomRightRadius)
366
367     StartAssistingNode(struct WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::UserData userData)
368     StopAssistingNode()
369     OverflowScrollWillStartScroll()
370     OverflowScrollDidEndScroll()
371     ShowInspectorHighlight(struct WebCore::Highlight highlight)
372     HideInspectorHighlight()
373
374     ShowInspectorIndication()
375     HideInspectorIndication()
376
377     EnableInspectorNodeSearch()
378     DisableInspectorNodeSearch()
379 #endif
380
381     # Search popup menus
382     SaveRecentSearches(String name, Vector<String> searchItems)
383     LoadRecentSearches(String name) -> (Vector<String> result)
384
385     SavePDFToFileInDownloadsFolder(String suggestedFilename, String originatingURLString, IPC::DataReference data)
386
387 #if PLATFORM(COCOA)
388     SavePDFToTemporaryFolderAndOpenWithNativeApplication(String suggestedFilename, String originatingURLString, IPC::DataReference data, String pdfUUID)
389     OpenPDFFromTemporaryFolderWithNativeApplication(String pdfUUID)
390 #endif
391
392 #if ENABLE(NETSCAPE_PLUGIN_API)
393     FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription)
394 #endif
395
396     DidUpdateViewState()
397     
398     DidSaveToPageCache()
399
400 #if ENABLE(SUBTLE_CRYPTO)
401     WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey)
402     UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key)
403 #endif
404
405
406 #if ENABLE(TELEPHONE_NUMBER_DETECTION)
407 #if PLATFORM(MAC)
408     ShowTelephoneNumberMenu(String telephoneNumber, WebCore::IntPoint point)
409 #endif
410 #endif
411
412 #if ENABLE(SERVICE_CONTROLS)
413     ShowSelectionServiceMenu(IPC::DataReference selectionAsRTFD, Vector<String> telephoneNumbers, bool isEditable, WebCore::IntPoint point)
414 #endif
415
416 #if USE(QUICK_LOOK)
417     DidStartLoadForQuickLookDocumentInMainFrame(String fileName, String uti)
418     DidFinishLoadForQuickLookDocumentInMainFrame(WebKit::QuickLookDocumentData data)
419 #endif
420
421 #if ENABLE(CONTENT_FILTERING)
422     ContentFilterDidBlockLoadForFrame(WebCore::ContentFilterUnblockHandler unblockHandler, uint64_t frameID)
423 #endif
424
425     IsPlayingMediaDidChange(unsigned state)
426
427 #if PLATFORM(MAC)
428     DidPerformImmediateActionHitTest(struct WebKit::WebHitTestResult::Data result, bool contentPreventsDefault, WebKit::UserData userData)
429 #endif
430     HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection
431     HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection
432
433     HandleAutoFillButtonClick(WebKit::UserData userData);
434
435 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
436     AddPlaybackTargetPickerClient(uint64_t contextId)
437     RemovePlaybackTargetPickerClient(uint64_t contextId)
438     ShowPlaybackTargetPicker(uint64_t clientId, WebCore::FloatRect pickerLocation, bool hasVideo)
439     PlaybackTargetPickerClientStateDidChange(uint64_t contextId, unsigned mediaState)
440 #endif
441
442 }