[Mac] Update AirPlay handling
[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     DidFailProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, WebCore::ResourceError error, WebKit::UserData userData)
133     DidCommitLoadForFrame(uint64_t frameID, uint64_t navigationID, String mimeType, bool hasCustomContentProvider, uint32_t loadType, WebCore::CertificateInfo certificateInfo, WebKit::UserData userData)
134     DidFailLoadForFrame(uint64_t frameID, uint64_t navigationID, WebCore::ResourceError error, WebKit::UserData userData)
135     DidFinishDocumentLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
136     DidFinishLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
137     DidFirstLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
138     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
139     DidLayout(uint32_t type, WebKit::UserData userData)
140     DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::UserData userData)
141     DidReceiveTitleForFrame(uint64_t frameID, String title, WebKit::UserData userData)
142     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
143     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
144     DidDetectXSSForFrame(uint64_t frameID, WebKit::UserData userData)
145     DidSameDocumentNavigationForFrame(uint64_t frameID, uint64_t navigationID, uint32_t type, String url, WebKit::UserData userData)
146     DidDestroyNavigation(uint64_t navigationID)
147
148     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
149
150     # History client messages.
151     DidNavigateWithNavigationData(struct WebKit::WebNavigationDataStore store, uint64_t frameID)
152     DidPerformClientRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
153     DidPerformServerRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
154     DidUpdateHistoryTitle(String title, String url, uint64_t frameID)
155
156     # Custom representations
157     DidFinishLoadingDataForCustomContentProvider(String suggestedFilename, IPC::DataReference data)
158
159     # Forms messages
160     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, Vector<std::pair<String, String>> textFieldValues, uint64_t listenerID, WebKit::UserData userData)
161
162     # Callback messages
163     VoidCallback(uint64_t callbackID)
164     DataCallback(IPC::DataReference resultData, uint64_t callbackID)
165     ImageCallback(WebKit::ShareableBitmap::Handle bitmapHandle, uint64_t callbackID)
166     StringCallback(String resultString, uint64_t callbackID)
167     ScriptValueCallback(IPC::DataReference resultData, uint64_t callbackID)
168     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
169     ValidateCommandCallback(String command, bool isEnabled, int32_t state, uint64_t callbackID)
170     EditingRangeCallback(struct WebKit::EditingRange range, uint64_t callbackID)
171     UnsignedCallback(uint64_t result, uint64_t callbackID)
172     RectForCharacterRangeCallback(WebCore::IntRect rect, struct WebKit::EditingRange actualRange, uint64_t callbackID)
173 #if PLATFORM(MAC)
174     AttributedStringForCharacterRangeCallback(struct WebKit::AttributedString string, struct WebKit::EditingRange actualRange, uint64_t callbackID)
175     FontAtSelectionCallback(String fontName, double fontSize, bool selectioHasMultipleFonts, uint64_t callbackID)
176 #endif
177 #if PLATFORM(IOS)
178     GestureCallback(WebCore::IntPoint point, uint32_t gestureType, uint32_t gestureState, uint32_t flags, uint64_t callbackID)
179     TouchesCallback(WebCore::IntPoint point, uint32_t touches, uint64_t callbackID)
180     AutocorrectionDataCallback(Vector<WebCore::FloatRect> textRects, String fontName, double fontSize, uint64_t traits, uint64_t callbackID)
181     AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, uint64_t callbackID)
182     DictationContextCallback(String selectedText, String beforeText, String afterText, uint64_t callbackID)
183     InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled)
184     DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information)
185     SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size)
186     DidUpdateBlockSelectionWithTouch(uint32_t touch, uint32_t flags, float growThreshold, float shrinkThreshold)
187     ShowPlaybackTargetPicker(bool hasVideo, WebCore::IntRect elementRect)
188     ZoomToRect(WebCore::FloatRect rect, double minimumScale, double maximumScale)
189     CommitPotentialTapFailed()
190     DidNotHandleTapAsClick(WebCore::IntPoint point)
191     ViewportMetaTagWidthDidChange(float width)
192     DidFinishDrawingPagesToPDF(IPC::DataReference pdfData)
193 #endif
194 #if PLATFORM(GTK)
195     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
196 #endif
197
198     PageScaleFactorDidChange(double scaleFactor)
199     PluginScaleFactorDidChange(double zoomFactor)
200     PluginZoomFactorDidChange(double zoomFactor)
201
202 #if PLATFORM(GTK)
203     # Support for GTK+ platform keybindings
204     GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector<String> commandsList)
205
206     # Support for connecting the Accessibility worlds of the UI and the Web processes
207     BindAccessibilityTree(String plugID)
208
209     SetInputMethodState(bool enabled);
210 #endif
211
212     # BackForward messages
213     BackForwardAddItem(uint64_t itemID)
214     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
215     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
216     BackForwardBackListCount() -> (int32_t count)
217     BackForwardForwardListCount() -> (int32_t count)
218     BackForwardClear()
219     WillGoToBackForwardListItem(uint64_t itemID, WebKit::UserData userData)
220
221     # Undo/Redo messages
222     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
223     ClearAllEditCommands()
224     RegisterInsertionUndoGrouping()
225     CanUndoRedo(uint32_t action) -> (bool result)
226     ExecuteUndoRedo(uint32_t action) -> (bool result)
227
228     # Diagnostic messages logging
229     LogDiagnosticMessage(String message, String description, bool shouldSample)
230     LogDiagnosticMessageWithResult(String message, String description, uint32_t result, bool shouldSample)
231     LogDiagnosticMessageWithValue(String message, String description, String value, bool shouldSample)
232
233     # Editor notifications
234     EditorStateChanged(struct WebKit::EditorState editorState)
235     CompositionWasCanceled(struct WebKit::EditorState editorState)
236
237     # Find messages
238     DidCountStringMatches(String string, uint32_t matchCount)
239     SetTextIndicator(struct WebCore::TextIndicatorData indicator, bool fadeOut)
240     ClearTextIndicator()
241     DidFindString(String string, uint32_t matchCount, int32_t matchIndex)
242     DidFailToFindString(String string)
243     DidFindStringMatches(String string, Vector<Vector<WebCore::IntRect>> matches, int32_t firstIndexAfterSelection)
244     DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
245
246     # PopupMenu messages
247     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, struct WebKit::PlatformPopupMenuData data)
248     HidePopupMenu()
249
250 #if ENABLE(CONTEXT_MENUS)
251     # ContextMenu messages
252     ShowContextMenu(WebCore::IntPoint menuLocation, WebKit::ContextMenuContextData contextMenuContextData, Vector<WebKit::WebContextMenuItemData> items, WebKit::UserData userData)
253 #endif
254
255     # Authentication messages
256     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
257     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
258
259     # Database messages
260     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
261
262     # Application cache messages
263     ReachedApplicationCacheOriginQuota(String originIdentifier, uint64_t currentQuota, uint64_t totalBytesNeeded) -> (uint64_t newQuota) Delayed
264
265     # Geolocation messages
266     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier)
267     
268 #if ENABLE(MEDIA_STREAM)
269     # MediaSteam messages
270     RequestUserMediaPermissionForFrame(uint64_t userMediaID, uint64_t frameID, String originIdentifier, bool audio, bool video)
271 #endif
272
273     # Notification messages
274     RequestNotificationPermission(uint64_t requestID, String originIdentifier)
275     ShowNotification(String title, String body, String iconURL, String tag, String lang, String dir, String originIdentifier, uint64_t notificationID)
276     CancelNotification(uint64_t notificationID)
277     ClearNotifications(Vector<uint64_t> notificationIDs)
278     DidDestroyNotification(uint64_t notificationID)
279
280     # Spelling and grammar messages
281 #if USE(UNIFIED_TEXT_CHECKING)  
282     CheckTextOfParagraph(String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
283 #endif
284     CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
285     CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
286     SpellingUIIsShowing() -> (bool isShowing)
287     UpdateSpellingUIWithMisspelledWord(String misspelledWord)
288     UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
289     GetGuessesForWord(String word, String context) -> (Vector<String> guesses)
290     LearnWord(String word);
291     IgnoreWord(String word);
292     RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request)
293
294     # Drag and drop messages
295 #if ENABLE(DRAG_SUPPORT)
296     DidPerformDragControllerAction(uint64_t dragOperation, bool mouseIsOverFileInput, unsigned numberOfItemsToBeAccepted)
297 #endif
298 #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT)
299     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
300     SetPromisedData(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)
301 #endif
302 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
303     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
304 #endif
305
306 #if PLATFORM(COCOA)
307     # Dictionary support.
308     DidPerformDictionaryLookup(struct WebKit::DictionaryPopupInfo dictionaryPopupInfo)
309
310     # Keyboard input support messages
311     ExecuteSavedCommandBySelector(String selector) -> (bool handled)
312
313     # Remote accessibility messages
314     RegisterWebProcessAccessibilityToken(IPC::DataReference data)
315
316     # Plug-in complex text input support messages
317     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
318     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
319
320     # Speech messages
321     GetIsSpeaking() -> (bool isSpeaking)
322     Speak(String string)
323     StopSpeaking()
324
325     MakeFirstResponder()
326
327     # Spotlight
328     SearchWithSpotlight(String string)
329
330     SearchTheWeb(String string)
331 #endif
332
333 #if USE(APPKIT)
334     SubstitutionsPanelIsShowing() -> (bool isShowing)
335 #endif
336 #if PLATFORM(MAC)
337     # Autocorrection messages
338     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
339     DismissCorrectionPanel(int32_t reason)
340     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
341     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
342 #endif
343
344 #if USE(DICTATION_ALTERNATIVES)
345     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
346     RemoveDictationAlternatives(uint64_t dictationContext)
347     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
348 #endif
349
350 #if PLUGIN_ARCHITECTURE(X11)
351     # X11 windowed plugin messages
352     CreatePluginContainer() -> (uint64_t windowID)
353     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
354     WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
355 #endif
356
357 #if PLATFORM(IOS)
358     DynamicViewportUpdateChangedTarget(double newTargetScale, WebCore::FloatPoint newScrollPosition)
359     RestorePageState(WebCore::FloatRect exposedRect, double scale)
360     RestorePageCenterAndScale(WebCore::FloatPoint unobscuredCenter, double scale)
361     DidGetTapHighlightGeometries(uint64_t requestID, WebCore::Color color, Vector<WebCore::FloatQuad> geometries, WebCore::IntSize topLeftRadius, WebCore::IntSize topRightRadius, WebCore::IntSize bottomLeftRadius, WebCore::IntSize bottomRightRadius)
362
363     StartAssistingNode(struct WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::UserData userData)
364     StopAssistingNode()
365     NotifyRevealedSelection()
366
367     ShowInspectorHighlight(struct WebCore::Highlight highlight)
368     HideInspectorHighlight()
369
370     ShowInspectorIndication()
371     HideInspectorIndication()
372
373     EnableInspectorNodeSearch()
374     DisableInspectorNodeSearch()
375 #endif
376
377     # Search popup menus
378     SaveRecentSearches(String name, Vector<String> searchItems)
379     LoadRecentSearches(String name) -> (Vector<String> result)
380
381     SavePDFToFileInDownloadsFolder(String suggestedFilename, String originatingURLString, IPC::DataReference data)
382
383 #if PLATFORM(COCOA)
384     SavePDFToTemporaryFolderAndOpenWithNativeApplication(String suggestedFilename, String originatingURLString, IPC::DataReference data, String pdfUUID)
385     OpenPDFFromTemporaryFolderWithNativeApplication(String pdfUUID)
386 #endif
387
388 #if ENABLE(NETSCAPE_PLUGIN_API)
389     FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription)
390 #endif
391
392     DidUpdateViewState()
393     
394     DidSaveToPageCache()
395
396 #if ENABLE(SUBTLE_CRYPTO)
397     WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey)
398     UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key)
399 #endif
400
401
402 #if ENABLE(TELEPHONE_NUMBER_DETECTION)
403 #if PLATFORM(MAC)
404     ShowTelephoneNumberMenu(String telephoneNumber, WebCore::IntPoint point)
405 #endif
406 #endif
407
408 #if ENABLE(SERVICE_CONTROLS)
409     ShowSelectionServiceMenu(IPC::DataReference selectionAsRTFD, Vector<String> telephoneNumbers, bool isEditable, WebCore::IntPoint point)
410 #endif
411
412 #if USE(QUICK_LOOK)
413     DidStartLoadForQuickLookDocumentInMainFrame(String fileName, String uti)
414     DidFinishLoadForQuickLookDocumentInMainFrame(WebKit::QuickLookDocumentData data)
415 #endif
416
417 #if ENABLE(CONTENT_FILTERING)
418     ContentFilterDidBlockLoadForFrame(WebCore::ContentFilterUnblockHandler unblockHandler, uint64_t frameID)
419 #endif
420
421     IsPlayingAudioDidChange(bool newIsPlayingAudio)
422
423 #if PLATFORM(MAC)
424     DidPerformActionMenuHitTest(struct WebKit::ActionMenuHitTestResult result, bool forImmediateAction, WebKit::UserData userData)
425 #endif
426
427     HandleAutoFillButtonClick(WebKit::UserData userData);
428
429 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
430     ShowPlaybackTargetPicker(WebCore::FloatRect pickerLocation, bool hasVideo)
431     StartingMonitoringPlaybackTargets()
432     StopMonitoringPlaybackTargets()
433 #endif
434
435 }