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