PDFPlugin should take advantage of threaded scrolling
[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, struct WebCore::SecurityOriginData frameSecurityOrigin, 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, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> () Delayed
29     RunJavaScriptConfirm(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool result) Delayed
30     RunJavaScriptPrompt(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message, String defaultValue) -> (String result) Delayed
31     MouseDidMoveOverElement(struct WebKit::WebHitTestResultData hitTestResultData, uint32_t modifiers, WebKit::UserData userData)
32
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(struct 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, struct 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(COORDINATED_GRAPHICS_MULTIPROCESS)
94     PageDidRequestScroll(WebCore::IntPoint point)
95     PageTransitionViewportReady()
96     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
97 #endif
98
99     DidChangeContentSize(WebCore::IntSize newSize)
100
101 #if ENABLE(INPUT_TYPE_COLOR)
102     ShowColorPicker(WebCore::Color initialColor, WebCore::IntRect elementRect);
103     SetColorPickerColor(WebCore::Color color);
104     EndColorPicker();
105 #endif
106
107     # Policy messages
108     DecidePolicyForResponseSync(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
109     DecidePolicyForNavigationAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, uint64_t originatingFrameID, struct WebCore::SecurityOriginData originatingFrameSecurityOrigin, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::UserData userData) -> (bool receivedPolicyAction, uint64_t newNavigationID, uint64_t policyAction, uint64_t downloadID)
110     DecidePolicyForNewWindowAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, struct WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::UserData userData)
111     UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::UserData userData)
112
113     # Progress messages
114     DidChangeProgress(double value)
115     DidFinishProgress()
116     DidStartProgress()
117
118     SetNetworkRequestsInProgress(bool networkRequestsInProgress)
119
120     # Frame lifetime messages
121     DidCreateMainFrame(uint64_t frameID)
122     DidCreateSubframe(uint64_t frameID)
123
124     # Frame load messages
125     DidStartProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, String url, String unreachableURL, WebKit::UserData userData)
126     DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, uint64_t navigationID, String url, WebKit::UserData userData)
127     DidChangeProvisionalURLForFrame(uint64_t frameID, uint64_t navigationID, String url)
128     DidFailProvisionalLoadForFrame(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, String provisionalURL, WebCore::ResourceError error, WebKit::UserData userData)
129     DidCommitLoadForFrame(uint64_t frameID, uint64_t navigationID, String mimeType, bool hasCustomContentProvider, bool pluginHandlesPageScaleGesture, uint32_t loadType, WebCore::CertificateInfo certificateInfo, bool containsPluginDocument, WebKit::UserData userData)
130     DidFailLoadForFrame(uint64_t frameID, uint64_t navigationID, WebCore::ResourceError error, WebKit::UserData userData)
131     DidFinishDocumentLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
132     DidFinishLoadForFrame(uint64_t frameID, uint64_t navigationID, WebKit::UserData userData)
133     DidFirstLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
134     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::UserData userData)
135     DidLayout(uint32_t type)
136     DidReceiveTitleForFrame(uint64_t frameID, String title, WebKit::UserData userData)
137     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
138     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::UserData userData)
139     DidDetectXSSForFrame(uint64_t frameID, WebKit::UserData userData)
140     DidSameDocumentNavigationForFrame(uint64_t frameID, uint64_t navigationID, uint32_t type, String url, WebKit::UserData userData)
141     DidDestroyNavigation(uint64_t navigationID)
142
143     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
144
145     # History client messages.
146     DidNavigateWithNavigationData(struct WebKit::WebNavigationDataStore store, uint64_t frameID)
147     DidPerformClientRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
148     DidPerformServerRedirect(String sourceURLString, String destinationURLString, uint64_t frameID)
149     DidUpdateHistoryTitle(String title, String url, uint64_t frameID)
150
151     # Custom representations
152     DidFinishLoadingDataForCustomContentProvider(String suggestedFilename, IPC::DataReference data)
153
154     # Forms messages
155     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, Vector<std::pair<String, String>> textFieldValues, uint64_t listenerID, WebKit::UserData userData)
156
157     # Callback messages
158     VoidCallback(uint64_t callbackID)
159     DataCallback(IPC::DataReference resultData, uint64_t callbackID)
160     ImageCallback(WebKit::ShareableBitmap::Handle bitmapHandle, uint64_t callbackID)
161     StringCallback(String resultString, uint64_t callbackID)
162     ScriptValueCallback(IPC::DataReference resultData, bool hadException, struct WebCore::ExceptionDetails details, uint64_t callbackID)
163     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
164     ValidateCommandCallback(String command, bool isEnabled, int32_t state, uint64_t callbackID)
165     EditingRangeCallback(struct WebKit::EditingRange range, uint64_t callbackID)
166     UnsignedCallback(uint64_t result, uint64_t callbackID)
167     RectForCharacterRangeCallback(WebCore::IntRect rect, struct WebKit::EditingRange actualRange, uint64_t callbackID)
168 #if PLATFORM(MAC)
169     AttributedStringForCharacterRangeCallback(struct WebKit::AttributedString string, struct WebKit::EditingRange actualRange, uint64_t callbackID)
170     FontAtSelectionCallback(String fontName, double fontSize, bool selectioHasMultipleFonts, uint64_t callbackID)
171 #endif
172 #if PLATFORM(IOS)
173     GestureCallback(WebCore::IntPoint point, uint32_t gestureType, uint32_t gestureState, uint32_t flags, uint64_t callbackID)
174     TouchesCallback(WebCore::IntPoint point, uint32_t touches, uint64_t callbackID)
175     AutocorrectionDataCallback(Vector<WebCore::FloatRect> textRects, String fontName, double fontSize, uint64_t traits, uint64_t callbackID)
176     AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, uint64_t callbackID)
177     DictationContextCallback(String selectedText, String beforeText, String afterText, uint64_t callbackID)
178     InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled)
179     DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information)
180     SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size)
181     DidUpdateBlockSelectionWithTouch(uint32_t touch, uint32_t flags, float growThreshold, float shrinkThreshold)
182     ShowPlaybackTargetPicker(bool hasVideo, WebCore::IntRect elementRect)
183     ZoomToRect(WebCore::FloatRect rect, double minimumScale, double maximumScale)
184     CommitPotentialTapFailed()
185     DidNotHandleTapAsClick(WebCore::IntPoint point)
186     DisableDoubleTapGesturesDuringTapIfNecessary(uint64_t requestID)
187     DidFinishDrawingPagesToPDF(IPC::DataReference pdfData)
188 #endif
189 #if PLATFORM(GTK)
190     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
191 #endif
192 #if PLATFORM(COCOA)
193     MachSendRightCallback(WebCore::MachSendRight sendRight, uint64_t callbackID)
194 #endif
195
196     PageScaleFactorDidChange(double scaleFactor)
197     PluginScaleFactorDidChange(double zoomFactor)
198     PluginZoomFactorDidChange(double zoomFactor)
199
200 #if PLATFORM(GTK)
201     # Support for connecting the Accessibility worlds of the UI and the Web processes
202     BindAccessibilityTree(String plugID)
203
204     SetInputMethodState(bool enabled);
205 #endif
206
207     # BackForward messages
208     BackForwardAddItem(uint64_t itemID)
209     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
210     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
211     BackForwardBackListCount() -> (int32_t count)
212     BackForwardForwardListCount() -> (int32_t count)
213     BackForwardClear()
214     WillGoToBackForwardListItem(uint64_t itemID, WebKit::UserData userData)
215
216     # Undo/Redo messages
217     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
218     ClearAllEditCommands()
219     RegisterInsertionUndoGrouping()
220     CanUndoRedo(uint32_t action) -> (bool result)
221     ExecuteUndoRedo(uint32_t action) -> (bool result)
222
223     # Diagnostic messages logging
224     LogSampledDiagnosticMessage(String message, String description)
225     LogSampledDiagnosticMessageWithResult(String message, String description, uint32_t result)
226     LogSampledDiagnosticMessageWithValue(String message, String description, String value)
227
228     # Editor notifications
229     EditorStateChanged(struct WebKit::EditorState editorState)
230     CompositionWasCanceled(struct WebKit::EditorState editorState)
231
232     # Find messages
233     DidCountStringMatches(String string, uint32_t matchCount)
234     SetTextIndicator(struct WebCore::TextIndicatorData indicator, uint64_t lifetime)
235     ClearTextIndicator()
236     DidFindString(String string, uint32_t matchCount, int32_t matchIndex)
237     DidFailToFindString(String string)
238     DidFindStringMatches(String string, Vector<Vector<WebCore::IntRect>> matches, int32_t firstIndexAfterSelection)
239     DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
240
241     # PopupMenu messages
242     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, struct WebKit::PlatformPopupMenuData data)
243     HidePopupMenu()
244
245 #if ENABLE(CONTEXT_MENUS)
246     ShowContextMenu(WebKit::ContextMenuContextData contextMenuContextData, WebKit::UserData userData)
247 #endif
248
249     # Authentication messages
250     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
251     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
252
253     # Database messages
254     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
255
256     # Application cache messages
257     ReachedApplicationCacheOriginQuota(String originIdentifier, uint64_t currentQuota, uint64_t totalBytesNeeded) -> (uint64_t newQuota) Delayed
258
259     # Geolocation messages
260     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, String originIdentifier)
261     
262 #if ENABLE(MEDIA_STREAM)
263     # MediaSteam messages
264     RequestUserMediaPermissionForFrame(uint64_t userMediaID, uint64_t frameID, String originIdentifier, Vector<String> audioDeviceUIDs, Vector<String> videoDeviceUIDs)
265 #endif
266
267     # Notification messages
268     RequestNotificationPermission(uint64_t requestID, String originIdentifier)
269     ShowNotification(String title, String body, String iconURL, String tag, String lang, String dir, String originIdentifier, uint64_t notificationID)
270     CancelNotification(uint64_t notificationID)
271     ClearNotifications(Vector<uint64_t> notificationIDs)
272     DidDestroyNotification(uint64_t notificationID)
273
274     # Spelling and grammar messages
275 #if USE(UNIFIED_TEXT_CHECKING)  
276     CheckTextOfParagraph(String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
277 #endif
278     CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
279     CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
280     SpellingUIIsShowing() -> (bool isShowing)
281     UpdateSpellingUIWithMisspelledWord(String misspelledWord)
282     UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
283     GetGuessesForWord(String word, String context) -> (Vector<String> guesses)
284     LearnWord(String word);
285     IgnoreWord(String word);
286     RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request)
287
288     # Drag and drop messages
289 #if ENABLE(DRAG_SUPPORT)
290     DidPerformDragControllerAction(uint64_t dragOperation, bool mouseIsOverFileInput, unsigned numberOfItemsToBeAccepted)
291 #endif
292 #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT)
293     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
294     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)
295 #if ENABLE(ATTACHMENT_ELEMENT)
296     SetPromisedDataForAttachment(String pasteboardName, String filename, String extension, String title, String url, String visibleURL)
297 #endif
298 #endif
299 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
300     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
301 #endif
302
303 #if PLATFORM(COCOA)
304     # Dictionary support.
305     DidPerformDictionaryLookup(struct WebCore::DictionaryPopupInfo dictionaryPopupInfo)
306
307     # Keyboard input support messages
308     ExecuteSavedCommandBySelector(String selector) -> (bool handled)
309
310     # Remote accessibility messages
311     RegisterWebProcessAccessibilityToken(IPC::DataReference data)
312
313     # Plug-in complex text input support messages
314     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
315     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
316
317     # Speech messages
318     GetIsSpeaking() -> (bool isSpeaking)
319     Speak(String string)
320     StopSpeaking()
321
322     MakeFirstResponder()
323
324     # Spotlight
325     SearchWithSpotlight(String string)
326
327     SearchTheWeb(String string)
328 #endif
329
330 #if USE(APPKIT)
331     SubstitutionsPanelIsShowing() -> (bool isShowing)
332 #endif
333 #if PLATFORM(MAC)
334     # Autocorrection messages
335     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
336     DismissCorrectionPanel(int32_t reason)
337     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
338     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
339 #endif
340
341 #if USE(DICTATION_ALTERNATIVES)
342     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
343     RemoveDictationAlternatives(uint64_t dictationContext)
344     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
345 #endif
346
347 #if PLUGIN_ARCHITECTURE(X11)
348     # X11 windowed plugin messages
349     CreatePluginContainer() -> (uint64_t windowID)
350     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
351     WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
352 #endif
353
354 #if PLATFORM(IOS)
355     DynamicViewportUpdateChangedTarget(double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t dynamicViewportSizeUpdateID)
356     CouldNotRestorePageState()
357     RestorePageState(WebCore::FloatRect exposedRect, double scale)
358     RestorePageCenterAndScale(WebCore::FloatPoint unobscuredCenter, double scale)
359     DidGetTapHighlightGeometries(uint64_t requestID, WebCore::Color color, Vector<WebCore::FloatQuad> geometries, WebCore::IntSize topLeftRadius, WebCore::IntSize topRightRadius, WebCore::IntSize bottomLeftRadius, WebCore::IntSize bottomRightRadius)
360
361     StartAssistingNode(struct WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::UserData userData)
362     StopAssistingNode()
363     OverflowScrollWillStartScroll()
364     OverflowScrollDidEndScroll()
365     ShowInspectorHighlight(struct WebCore::Highlight highlight)
366     HideInspectorHighlight()
367
368     ShowInspectorIndication()
369     HideInspectorIndication()
370
371     EnableInspectorNodeSearch()
372     DisableInspectorNodeSearch()
373 #endif
374
375     # Search popup menus
376     SaveRecentSearches(String name, Vector<WebCore::RecentSearch> searchItems)
377     LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result)
378
379     SavePDFToFileInDownloadsFolder(String suggestedFilename, String originatingURLString, IPC::DataReference data)
380
381 #if PLATFORM(COCOA)
382     SavePDFToTemporaryFolderAndOpenWithNativeApplication(String suggestedFilename, String originatingURLString, IPC::DataReference data, String pdfUUID)
383     OpenPDFFromTemporaryFolderWithNativeApplication(String pdfUUID)
384 #endif
385
386 #if ENABLE(NETSCAPE_PLUGIN_API)
387     FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription)
388 #endif
389
390     DidUpdateViewState()
391     
392     DidSaveToPageCache()
393
394 #if ENABLE(SUBTLE_CRYPTO)
395     WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey)
396     UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key)
397 #endif
398
399
400 #if ENABLE(TELEPHONE_NUMBER_DETECTION)
401 #if PLATFORM(MAC)
402     ShowTelephoneNumberMenu(String telephoneNumber, WebCore::IntPoint point)
403 #endif
404 #endif
405
406 #if USE(QUICK_LOOK)
407     DidStartLoadForQuickLookDocumentInMainFrame(String fileName, String uti)
408     DidFinishLoadForQuickLookDocumentInMainFrame(WebKit::QuickLookDocumentData data)
409 #endif
410
411 #if ENABLE(CONTENT_FILTERING)
412     ContentFilterDidBlockLoadForFrame(WebCore::ContentFilterUnblockHandler unblockHandler, uint64_t frameID)
413 #endif
414
415     IsPlayingMediaDidChange(unsigned state, uint64_t sourceElementID)
416
417 #if ENABLE(MEDIA_SESSION)
418     HasMediaSessionWithActiveMediaElementsDidChange(bool state)
419     MediaSessionMetadataDidChange(WebCore::MediaSessionMetadata metadata);
420     FocusedContentMediaElementDidChange(uint64_t elementID)
421 #endif
422
423 #if PLATFORM(MAC)
424     DidPerformImmediateActionHitTest(struct WebKit::WebHitTestResultData result, bool contentPreventsDefault, WebKit::UserData userData)
425 #endif
426     HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection
427     HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection
428
429     HandleAutoFillButtonClick(WebKit::UserData userData);
430
431 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
432     AddPlaybackTargetPickerClient(uint64_t contextId)
433     RemovePlaybackTargetPickerClient(uint64_t contextId)
434     ShowPlaybackTargetPicker(uint64_t clientId, WebCore::FloatRect pickerLocation, bool hasVideo)
435     PlaybackTargetPickerClientStateDidChange(uint64_t contextId, unsigned mediaState)
436 #endif
437
438     ImageOrMediaDocumentSizeChanged(WebCore::IntSize newSize)
439
440     UseFixedLayoutDidChange(bool useFixedLayout)
441     FixedLayoutSizeDidChange(WebCore::IntSize fixedLayoutSize)
442
443 #if ENABLE(VIDEO) && USE(GSTREAMER)
444     RequestInstallMissingMediaPlugins(String details, String description)
445 #endif
446 }