ecddffb1cfca31fef7acfd7684b5671ca904bf61
[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, Vector<WebCore::IntRect> matchRect, 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     CheckUserMediaPermissionForFrame(uint64_t userMediaID, uint64_t frameID, String originIdentifier)
266 #endif
267
268     # Notification messages
269     RequestNotificationPermission(uint64_t requestID, String originIdentifier)
270     ShowNotification(String title, String body, String iconURL, String tag, String lang, String dir, String originIdentifier, uint64_t notificationID)
271     CancelNotification(uint64_t notificationID)
272     ClearNotifications(Vector<uint64_t> notificationIDs)
273     DidDestroyNotification(uint64_t notificationID)
274
275     # Spelling and grammar messages
276 #if USE(UNIFIED_TEXT_CHECKING)  
277     CheckTextOfParagraph(String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
278 #endif
279     CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
280     CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
281     SpellingUIIsShowing() -> (bool isShowing)
282     UpdateSpellingUIWithMisspelledWord(String misspelledWord)
283     UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
284     GetGuessesForWord(String word, String context) -> (Vector<String> guesses)
285     LearnWord(String word);
286     IgnoreWord(String word);
287     RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request)
288
289     # Drag and drop messages
290 #if ENABLE(DRAG_SUPPORT)
291     DidPerformDragControllerAction(uint64_t dragOperation, bool mouseIsOverFileInput, unsigned numberOfItemsToBeAccepted)
292 #endif
293 #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT)
294     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
295     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)
296 #if ENABLE(ATTACHMENT_ELEMENT)
297     SetPromisedDataForAttachment(String pasteboardName, String filename, String extension, String title, String url, String visibleURL)
298 #endif
299 #endif
300 #if PLATFORM(GTK) && ENABLE(DRAG_SUPPORT)
301     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
302 #endif
303
304 #if PLATFORM(COCOA)
305     # Dictionary support.
306     DidPerformDictionaryLookup(struct WebCore::DictionaryPopupInfo dictionaryPopupInfo)
307
308     # Keyboard input support messages
309     ExecuteSavedCommandBySelector(String selector) -> (bool handled)
310
311     # Remote accessibility messages
312     RegisterWebProcessAccessibilityToken(IPC::DataReference data)
313
314     # Plug-in complex text input support messages
315     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
316     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
317
318     # Speech messages
319     GetIsSpeaking() -> (bool isSpeaking)
320     Speak(String string)
321     StopSpeaking()
322
323     MakeFirstResponder()
324
325     # Spotlight
326     SearchWithSpotlight(String string)
327
328     SearchTheWeb(String string)
329 #endif
330
331 #if USE(APPKIT)
332     SubstitutionsPanelIsShowing() -> (bool isShowing)
333 #endif
334 #if PLATFORM(MAC)
335     # Autocorrection messages
336     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
337     DismissCorrectionPanel(int32_t reason)
338     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
339     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
340 #endif
341
342 #if USE(DICTATION_ALTERNATIVES)
343     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
344     RemoveDictationAlternatives(uint64_t dictationContext)
345     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
346 #endif
347
348 #if PLUGIN_ARCHITECTURE(X11)
349     # X11 windowed plugin messages
350     CreatePluginContainer() -> (uint64_t windowID)
351     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
352     WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
353 #endif
354
355 #if PLATFORM(IOS)
356     DynamicViewportUpdateChangedTarget(double newTargetScale, WebCore::FloatPoint newScrollPosition, uint64_t dynamicViewportSizeUpdateID)
357     CouldNotRestorePageState()
358     RestorePageState(WebCore::FloatRect exposedRect, double scale)
359     RestorePageCenterAndScale(WebCore::FloatPoint unobscuredCenter, double scale)
360     DidGetTapHighlightGeometries(uint64_t requestID, WebCore::Color color, Vector<WebCore::FloatQuad> geometries, WebCore::IntSize topLeftRadius, WebCore::IntSize topRightRadius, WebCore::IntSize bottomLeftRadius, WebCore::IntSize bottomRightRadius)
361
362     StartAssistingNode(struct WebKit::AssistedNodeInformation information, bool userIsInteracting, bool blurPreviousNode, WebKit::UserData userData)
363     StopAssistingNode()
364     OverflowScrollWillStartScroll()
365     OverflowScrollDidEndScroll()
366     ShowInspectorHighlight(struct WebCore::Highlight highlight)
367     HideInspectorHighlight()
368
369     ShowInspectorIndication()
370     HideInspectorIndication()
371
372     EnableInspectorNodeSearch()
373     DisableInspectorNodeSearch()
374 #endif
375
376     # Search popup menus
377     SaveRecentSearches(String name, Vector<WebCore::RecentSearch> searchItems)
378     LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result)
379
380     SavePDFToFileInDownloadsFolder(String suggestedFilename, String originatingURLString, IPC::DataReference data)
381
382 #if PLATFORM(COCOA)
383     SavePDFToTemporaryFolderAndOpenWithNativeApplication(String suggestedFilename, String originatingURLString, IPC::DataReference data, String pdfUUID)
384     OpenPDFFromTemporaryFolderWithNativeApplication(String pdfUUID)
385 #endif
386
387 #if ENABLE(NETSCAPE_PLUGIN_API)
388     FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription)
389 #endif
390
391     DidUpdateViewState()
392     
393     DidSaveToPageCache()
394
395 #if ENABLE(SUBTLE_CRYPTO)
396     WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey)
397     UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key)
398 #endif
399
400
401 #if ENABLE(TELEPHONE_NUMBER_DETECTION)
402 #if PLATFORM(MAC)
403     ShowTelephoneNumberMenu(String telephoneNumber, WebCore::IntPoint point)
404 #endif
405 #endif
406
407 #if USE(QUICK_LOOK)
408     DidStartLoadForQuickLookDocumentInMainFrame(String fileName, String uti)
409     DidFinishLoadForQuickLookDocumentInMainFrame(WebKit::QuickLookDocumentData data)
410 #endif
411
412 #if ENABLE(CONTENT_FILTERING)
413     ContentFilterDidBlockLoadForFrame(WebCore::ContentFilterUnblockHandler unblockHandler, uint64_t frameID)
414 #endif
415
416     IsPlayingMediaDidChange(unsigned state, uint64_t sourceElementID)
417
418 #if ENABLE(MEDIA_SESSION)
419     HasMediaSessionWithActiveMediaElementsDidChange(bool state)
420     MediaSessionMetadataDidChange(WebCore::MediaSessionMetadata metadata);
421     FocusedContentMediaElementDidChange(uint64_t elementID)
422 #endif
423
424 #if PLATFORM(MAC)
425     DidPerformImmediateActionHitTest(struct WebKit::WebHitTestResultData result, bool contentPreventsDefault, WebKit::UserData userData)
426 #endif
427     HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection
428     HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection
429
430     HandleAutoFillButtonClick(WebKit::UserData userData);
431
432 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
433     AddPlaybackTargetPickerClient(uint64_t contextId)
434     RemovePlaybackTargetPickerClient(uint64_t contextId)
435     ShowPlaybackTargetPicker(uint64_t clientId, WebCore::FloatRect pickerLocation, bool hasVideo)
436     PlaybackTargetPickerClientStateDidChange(uint64_t contextId, unsigned mediaState)
437     SetMockMediaPlaybackTargetPickerEnabled(bool enabled)
438     SetMockMediaPlaybackTargetPickerState(String name, unsigned pickerState)
439 #endif
440
441     ImageOrMediaDocumentSizeChanged(WebCore::IntSize newSize)
442
443     UseFixedLayoutDidChange(bool useFixedLayout)
444     FixedLayoutSizeDidChange(WebCore::IntSize fixedLayoutSize)
445
446 #if ENABLE(VIDEO) && USE(GSTREAMER)
447     RequestInstallMissingMediaPlugins(String details, String description)
448 #endif
449
450     DidRestoreScrollPosition()
451 }