Merge "[CherryPick] TextureMapperSurfaceBackingStore should check if GraphicsSurface...
[framework/web/webkit-efl.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(WebCore::ResourceRequest request, WebCore::WindowFeatures windowFeatures, uint32_t modifiers, int32_t mouseButton) -> (uint64_t newPageID, WebKit::WebPageCreationParameters newPageParameters)
26     ShowPage()
27     ClosePage(bool stopResponsivenessTimer)
28 #if OS(TIZEN)
29     RunJavaScriptAlert(uint64_t frameID, WTF::String message) -> () Delayed
30     RunJavaScriptConfirm(uint64_t frameID, WTF::String message) -> (bool returnValue) Delayed
31     RunJavaScriptPrompt(uint64_t frameID, WTF::String message, WTF::String defaultValue) -> (WTF::String returnValue) Delayed
32 #endif
33 #if !OS(TIZEN)
34     RunJavaScriptAlert(uint64_t frameID, WTF::String message) -> ()
35     RunJavaScriptConfirm(uint64_t frameID, WTF::String message) -> (bool result)
36     RunJavaScriptPrompt(uint64_t frameID, WTF::String message, WTF::String defaultValue) -> (WTF::String result)
37 #endif
38     ShouldInterruptJavaScript() -> (bool shouldInterupt)
39     MouseDidMoveOverElement(WebKit::WebHitTestResult::Data hitTestResultData, uint32_t modifiers, WebKit::InjectedBundleUserMessageEncoder userData);
40     UnavailablePluginButtonClicked(uint32_t pluginUnavailabilityReason, WTF::String mimeType, WTF::String url, WTF::String pluginsPageURL)
41     DidChangeViewportProperties(WebCore::ViewportAttributes attributes)
42     DidReceiveEvent(uint32_t type, bool handled)
43     StopResponsivenessTimer()
44     SetCursor(WebCore::Cursor cursor)
45     SetCursorHiddenUntilMouseMoves(bool hiddenUntilMouseMoves)
46     SetStatusText(WTF::String statusText)
47     SetToolTip(WTF::String toolTip)
48     SetFocus(bool focused)
49     TakeFocus(uint32_t direction)
50     FocusedFrameChanged(uint64_t frameID)
51     FrameSetLargestFrameChanged(uint64_t frameID)
52     SetRenderTreeSize(uint64_t treeSize)
53     SetToolbarsAreVisible(bool toolbarsAreVisible)
54     GetToolbarsAreVisible() -> (bool toolbarsAreVisible)
55     SetMenuBarIsVisible(bool menuBarIsVisible);
56     GetMenuBarIsVisible() -> (bool menuBarIsVisible);
57     SetStatusBarIsVisible(bool statusBarIsVisible)
58     GetStatusBarIsVisible() -> (bool statusBarIsVisible)
59     SetIsResizable(bool isResizable)
60     GetIsResizable() -> (bool isResizable)
61     SetWindowFrame(WebCore::FloatRect windowFrame)
62     GetWindowFrame() -> (WebCore::FloatRect windowFrame)
63     ScreenToWindow(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint)
64     WindowToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame)
65 #if ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
66     RunBeforeUnloadConfirmPanel(WTF::String message, uint64_t frameID) -> (bool shouldClose) Delayed
67 #endif
68 #if !ENABLE(TIZEN_SUPPORT_BEFORE_UNLOAD_CONFIRM_PANEL)
69     RunBeforeUnloadConfirmPanel(WTF::String message, uint64_t frameID) -> (bool shouldClose)
70 #endif
71     PageDidScroll()
72     RunOpenPanel(uint64_t frameID, WebCore::FileChooserSettings parameters)
73     PrintFrame(uint64_t frameID) -> ()
74     RunModal()
75     NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb)
76     RecommendedScrollbarStyleDidChange(int32_t newStyle)
77     DidChangeScrollbarsForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar)
78     DidChangeScrollOffsetPinningForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar)
79     DidChangePageCount(unsigned pageCount);
80     DidFailToInitializePlugin(WTF::String mimeType)
81     DidBlockInsecurePluginVersion(WTF::String mimeType, WTF::String urlString)
82     SetCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents)
83
84 #if PLATFORM(EFL)
85     HandleInputMethodKeydown() -> (bool handled)
86 #endif
87
88 #if PLATFORM(EFL) && OS(TIZEN)
89     DidChangeScrollPositionForMainFrame(WebCore::IntPoint scrollPosition)
90     DidChangeContentsSize(WebCore::IntSize newSize)
91     UpdateFormNavigation(int length, int position)
92     FocusedNodeChanged(WebCore::IntRect focusedNodeRect)
93 #endif
94
95 #if ENABLE(TIZEN_WEB_STORAGE)
96     DidGetWebStorageQuotaBytes(uint32_t quota, uint64_t callbackID)
97 #endif
98
99 #if USE(TILED_BACKING_STORE)
100     PageDidRequestScroll(WebCore::IntPoint point)
101 #endif
102
103 #if ENABLE(TIZEN_WEBKIT2_HISTORICAL_RESTORE_VISIBLE_CONTENT_RECT)
104     pageDidRequestRestoreVisibleContentRect(WebCore::IntPoint point, float scale)
105 #endif
106
107 #if PLATFORM(QT)
108     DidChangeContentsSize(WebCore::IntSize newSize)
109     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
110     AuthenticationRequiredRequest(WTF::String hostname, WTF::String realm, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
111     CertificateVerificationRequest(WTF::String hostname) -> (bool ignoreErrors)
112     ProxyAuthenticationRequiredRequest(WTF::String hostname, uint16_t port, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
113 #endif
114 #if OS(TIZEN)
115     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
116 #endif
117
118 #if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
119     RegisterProtocolHandler(WTF::String scheme, WTF::String baseURL, WTF::String url, WTF::String title)
120 #endif
121 #if ENABLE(TIZEN_CUSTOM_SCHEME_HANDLER)
122     IsProtocolHandlerRegistered(WTF::String scheme, WTF::String baseURL, WTF::String url) -> (unsigned result)
123     UnregisterProtocolHandler(WTF::String scheme, WTF::String baseURL, WTF::String url)
124 #endif
125 #if ENABLE(TIZEN_REGISTER_CONTENT_HANDLER)
126     RegisterContentHandler(WTF::String mimeType, WTF::String baseURL, WTF::String url, WTF::String title)
127     IsContentHandlerRegistered(WTF::String mimeType, WTF::String baseURL, WTF::String url) -> (unsigned result)
128     UnregisterContentHandler(WTF::String mimeType, WTF::String baseURL, WTF::String url)
129 #endif
130 #if ENABLE(TIZEN_SEARCH_PROVIDER)
131     AddSearchProvider(WTF::String baseURL, WTF::String engineURL)
132     IsSearchProviderInstalled(WTF::String baseURL, WTF::String engineURL) -> (uint64_t result)
133 #endif
134
135 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
136     GetStandaloneStatus() -> (bool standalone)
137     DidGetWebAppCapable(bool capable, uint64_t callbackID)
138     DidGetWebAppIconURL(WTF::String iconURL, uint64_t callbackID)
139     DidGetWebAppIconURLs(WebKit::StringPairVector iconURLs, uint64_t callbackID)
140 #endif
141
142 #if ENABLE(TIZEN_ICON_DATABASE)
143     DidReceiveIcon()
144 #endif
145
146 #if ENABLE(TOUCH_EVENTS)
147     NeedTouchEvents(bool needTouchEvents)
148 #endif
149
150 #if ENABLE(INPUT_TYPE_COLOR)
151     ShowColorChooser(WebCore::Color initialColor);
152     SetColorChooserColor(WebCore::Color color);
153     EndColorChooser();
154 #endif
155
156     # Policy messages
157     DecidePolicyForResponse(uint64_t frameID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
158     DecidePolicyForNavigationAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
159     DecidePolicyForNewWindowAction(uint64_t frameID, uint32_t navigationType, uint32_t modifiers, int32_t mouseButton, WebCore::ResourceRequest request, WTF::String frameName, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
160     UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
161 #if ENABLE(TIZEN_DOWNLOAD_ATTRIBUTE)
162     StartDownload(WebCore::ResourceRequest request, WTF::String suggestedName)
163 #endif
164     # Intent messages
165 #if ENABLE(WEB_INTENTS)
166     DidReceiveIntentForFrame(uint64_t frameID, WebKit::IntentData intent, WebKit::InjectedBundleUserMessageEncoder userData)
167 #endif
168 #if ENABLE(WEB_INTENTS_TAG)
169     RegisterIntentServiceForFrame(uint64_t frameID, WebKit::IntentServiceInfo serviceInfo, WebKit::InjectedBundleUserMessageEncoder userData);
170 #endif
171
172     # Progress messages
173     DidChangeProgress(double value)
174     DidFinishProgress()
175     DidStartProgress()
176
177 #if ENABLE(TIZEN_PLUGIN_CUSTOM_REQUEST)
178     ProcessPluginCustomRequest(WTF::String request, WTF::String msg)
179 #endif
180
181     # Frame lifetime messages
182     DidCreateMainFrame(uint64_t frameID)
183     DidCreateSubframe(uint64_t frameID, uint64_t parentFrameID)
184     DidSaveFrameToPageCache(uint64_t frameID);
185     DidRestoreFrameFromPageCache(uint64_t frameID, uint64_t parentFrameID);
186
187     # Frame load messages
188     DidCommitLoadForFrame(uint64_t frameID, WTF::String mimeType, bool hasCustomRepresentation, WebKit::PlatformCertificateInfo certificateInfo, WebKit::InjectedBundleUserMessageEncoder userData)
189     DidFailLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
190     DidFailProvisionalLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
191     DidFinishDocumentLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
192     DidFinishLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
193     DidFirstLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
194     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
195     DidNewFirstVisuallyNonEmptyLayout(WebKit::InjectedBundleUserMessageEncoder userData)
196     DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
197     DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
198     DidStartProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WTF::String unreachableURL, WebKit::InjectedBundleUserMessageEncoder userData)
199     DidReceiveTitleForFrame(uint64_t frameID, WTF::String title, WebKit::InjectedBundleUserMessageEncoder userData)
200     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
201     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
202     DidDetectXSSForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
203     DidSameDocumentNavigationForFrame(uint64_t frameID, uint32_t type, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
204
205     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
206
207     # Resource load messages
208     DidInitiateLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, bool pageIsProvisionallyLoading)
209     DidSendRequestForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, WebCore::ResourceResponse redirectResponse)
210     DidReceiveResponseForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceResponse response)
211     DidReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength)
212     DidFinishLoadForResource(uint64_t frameID, uint64_t resourceIdentifier)
213     DidFailLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceError error)
214 #if PLATFORM(QT)
215     ResolveApplicationSchemeRequest(WebKit::QtNetworkRequestData request)
216 #endif
217
218
219     # Custom representations
220     DidFinishLoadingDataForCustomRepresentation(WTF::String suggestedFilename, CoreIPC::DataReference data)
221
222     # Forms messages
223 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
224     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WebKit::StringPairVector textFieldValues, bool containsPasswordData, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
225 #endif
226 #if !ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
227     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WebKit::StringPairVector textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
228 #endif
229
230     # Callback messages
231     VoidCallback(uint64_t callbackID)
232     DataCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
233     StringCallback(WTF::String resultString, uint64_t callbackID)
234     ScriptValueCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
235     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
236     ValidateCommandCallback(WTF::String command, bool isEnabled, int32_t state, uint64_t callbackID)
237 #if PLATFORM(GTK)
238     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
239 #endif
240
241     PageScaleFactorDidChange(double scaleFactor)
242
243 #if PLATFORM(GTK)
244     # Support for GTK+ platform keybindings
245     GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector<WTF::String> commandsList)
246
247     # Support for connecting the Accessibility worlds of the UI and the Web processes
248     BindAccessibilityTree(WTF::String plugID)
249 #endif
250
251     # BackForward messages
252     BackForwardAddItem(uint64_t itemID)
253     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
254     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
255     BackForwardBackListCount() -> (int32_t count)
256     BackForwardForwardListCount() -> (int32_t count)
257     BackForwardClear()
258     ShouldGoToBackForwardListItem(uint64_t itemID) -> (bool shouldGoToBackForwardListItem)
259     WillGoToBackForwardListItem(uint64_t itemID, WebKit::InjectedBundleUserMessageEncoder userData)
260
261     # Undo/Redo messages
262     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
263     ClearAllEditCommands()
264     CanUndoRedo(uint32_t action) -> (bool result)
265     ExecuteUndoRedo(uint32_t action) -> (bool result)
266
267     # Certification message
268     DecidePolicyForCertificateError(WTF::String url, WTF::String certificate, int error) -> (bool canContinue) Delayed
269
270     # Editor notifications
271     EditorStateChanged(WebKit::EditorState editorState)
272 #if PLATFORM(WIN)
273     DidChangeCompositionSelection(bool hasChanged)
274 #endif
275
276     # Find messages
277     DidCountStringMatches(WTF::String string, uint32_t matchCount)
278     SetFindIndicator(WebCore::FloatRect selectionRect, Vector<WebCore::FloatRect> textRects, float contentImageScaleFactor, WebKit::ShareableBitmap::Handle contentImageHandle, bool fadeOut, bool animate)
279     DidFindString(WTF::String string, uint32_t matchCount)
280     DidFailToFindString(WTF::String string)
281     DidFindStringMatches(WTF::String string, Vector<Vector<WebCore::IntRect> > matches, int32_t firstIndexAfterSelection)
282     DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
283 #if PLATFORM(WIN)
284     DidInstallOrUninstallPageOverlay(bool didInstall)
285 #endif
286
287     # PopupMenu messages
288     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, WebKit::PlatformPopupMenuData data)
289     HidePopupMenu()
290 #if PLATFORM(WIN)
291     SetPopupMenuSelectedIndex(int32_t selectedIndex)
292 #endif
293 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
294     UpdatePopupMenu(uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex)
295 #endif
296
297 #if ENABLE(CONTEXT_MENUS)
298     # ContextMenu messages
299     ShowContextMenu(WebCore::IntPoint menuLocation, WebKit::WebHitTestResult::Data hitTestResultData, Vector<WebKit::WebContextMenuItemData> items, WebKit::InjectedBundleUserMessageEncoder userData)
300 #endif
301
302     # Authentication messages
303     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
304     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
305
306     # Database messages
307     ExceededDatabaseQuota(uint64_t frameID, WTF::String originIdentifier, WTF::String databaseName, WTF::String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota)
308
309 #if ENABLE(TIZEN_APPLICATION_CACHE)
310     RequestApplicationCachePermission(uint64_t frameID, WTF::String originIdentifier) -> (bool allow) Delayed
311 #endif
312
313     # Geolocation messages
314     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, WTF::String originIdentifier)
315     
316     # Notification messages
317     RequestNotificationPermission(uint64_t requestID, WTF::String originIdentifier)
318     ShowNotification(WTF::String title, WTF::String body, WTF::String iconURL, WTF::String tag, WTF::String originIdentifier, uint64_t notificationID)
319
320 #if ENABLE(TIZEN_MEDIA_STREAM)
321     # UserMedia messages
322     RequestUserMediaPermission(uint64_t requestID)
323 #endif
324
325     # Spelling and grammar messages
326 #if USE(UNIFIED_TEXT_CHECKING)  
327     CheckTextOfParagraph(WTF::String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
328 #endif
329     CheckSpellingOfString(WTF::String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
330     CheckGrammarOfString(WTF::String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
331     SpellingUIIsShowing() -> (bool isShowing)
332     UpdateSpellingUIWithMisspelledWord(WTF::String misspelledWord)
333     UpdateSpellingUIWithGrammarString(WTF::String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)
334     GetGuessesForWord(WTF::String word, WTF::String context) -> (Vector<WTF::String> guesses)
335 #if ENABLE(TIZEN_ISF_PORT)
336     SetInputMethodState(bool active);
337 #endif
338 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
339     TextChangeInTextField(WTF::String name, WTF::String value)
340 #endif
341 #if ENABLE(TIZEN_ISF_PORT)
342     DidCancelComposition()
343 #endif
344 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
345     SaveSerializedHTMLDataForMainPage(WTF::String name, WTF::String value);
346     SaveSubresourcesData(Vector<WebKit::WebSubresourceTizen> subresources);
347 #endif
348     LearnWord(WTF::String word);
349     IgnoreWord(WTF::String word);
350
351     # Drag and drop messages
352 #if ENABLE(DRAG_SUPPORT)
353     DidPerformDragControllerAction(WebCore::DragSession dragSession)
354 #endif
355 #if PLATFORM(MAC) && ENABLE(DRAG_SUPPORT)
356     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
357     SetPromisedData(WTF::String pasteboardName, WebKit::SharedMemory::Handle imageHandle, uint64_t imageSize, WTF::String filename, WTF::String extension, WTF::String title, WTF::String url, WTF::String visibleURL, WebKit::SharedMemory::Handle archiveHandle, uint64_t archiveSize)
358 #endif
359 #if PLATFORM(WIN) && ENABLE(DRAG_SUPPORT)
360     StartDragDrop(WebCore::IntPoint imagePoint, WebCore::IntPoint dragPoint, uint64_t okEffect, HashMap<UINT,Vector<String> > dataMap, uint64_t fileSize, String pathname, WebKit::SharedMemory::Handle fileContentHandle, WebCore::IntSize dragImageSize, WebKit::SharedMemory::Handle dragImage, bool linkDrag)
361 #endif
362 #if (PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)) && ENABLE(DRAG_SUPPORT)
363     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
364 #endif
365
366 #if PLATFORM(MAC)
367     # Dictionary support.
368     DidPerformDictionaryLookup(WTF::String text, WebKit::DictionaryPopupInfo dictionaryPopupInfo)
369
370     # Keyboard input support messages
371     InterpretQueuedKeyEvent(WebKit::EditorState state) -> (bool handled, Vector<WebCore::KeypressCommand> savedCommands)
372     ExecuteSavedCommandBySelector(WTF::String selector) -> (bool handled)
373
374     # Remote accessibility messages
375     RegisterWebProcessAccessibilityToken(CoreIPC::DataReference data)
376
377     # Plug-in complex text input support messages
378     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
379     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
380
381     # Speech messages
382     GetIsSpeaking() -> (bool isSpeaking)
383     Speak(WTF::String string)
384     StopSpeaking()
385
386     MakeFirstResponder()
387
388     # Spotlight
389     SearchWithSpotlight(WTF::String string)
390 #endif
391
392 #if PLATFORM(MAC)
393     SubstitutionsPanelIsShowing() -> (bool isShowing)
394 #endif
395 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
396     # Autocorrection messages
397     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
398     DismissCorrectionPanel(int32_t reason)
399     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
400     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
401 #endif
402
403 #if USE(DICTATION_ALTERNATIVES)
404     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
405     DismissDictationAlternativeUI()
406     RemoveDictationAlternatives(uint64_t dictationContext)
407     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
408 #endif
409
410 #if PLATFORM(WIN)
411     # Windows 7 Gesture Messages
412     SetGestureReachedScrollingLimit(bool limitReached)
413
414     # Miscellaneous Windows messages
415     ScheduleChildWindowGeometryUpdate(WebKit::WindowGeometry geometry)
416 #endif
417
418 #if PLUGIN_ARCHITECTURE(X11)
419     # X11 windowed plugin messages
420     CreatePluginContainer() -> (uint64_t windowID)
421     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
422 #endif
423
424     # Search popup menus
425     SaveRecentSearches(WTF::String name, Vector<String> searchItems)
426     LoadRecentSearches(WTF::String name) -> (Vector<String> result)
427
428 #if USE(SOUP)
429     # Soup custom URI request messages
430     DidReceiveURIRequest(WTF::String uriString, uint64_t requestID);
431 #endif
432
433 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
434     SetClipboardData(WTF::String data, WTF::String type)
435     ClearClipboardData()
436 #endif
437
438     SetBackgroundColor(double red, double green, double blue, double alpha)
439
440 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
441     DidGetTextStyleStateForSelection(int underlineState, int italicState, int boldState)
442 #endif
443
444 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
445     LockOrientation(int32_t orientation) -> (bool result)
446     UnlockOrientation()
447 #endif
448
449 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
450     SetOverflowResult(bool pressed, uint32_t webLayerID)
451 #endif
452
453 #if ENABLE(TIZEN_LINK_MAGNIFIER)
454     DidGetLinkMagnifierRect(WebCore::IntPoint position, WebCore::IntRect rect)
455 #endif
456
457 #if ENABLE(TIZEN_SCREEN_READER)
458     DidScreenReaderFocusRectChanged(WebCore::IntRect rect)
459     DidScreenReaderTextChanged(WTF::String text)
460 #endif
461
462 #if ENABLE(TIZEN_INDEXED_DATABASE)
463     ExceededIndexedDatabaseQuota(uint64_t frameID, WTF::String originIdentifier, int64_t currentUsage) -> (bool returnValue) Delayed
464 #endif
465 }