Merge "Use EwkView's variables instead of drawingScaleFactor and drawingScrollPositio...
[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) && OS(TIZEN)
85     DidChangeScrollPositionForMainFrame(WebCore::IntPoint scrollPosition)
86     DidChangeContentsSize(WebCore::IntSize newSize)
87     HandleInputMethodKeydown() -> (bool handled)
88     UpdateFormNavigation(int length, int position)
89     FocusedNodeChanged(WebCore::IntRect focusedNodeRect)
90 #endif
91
92 #if ENABLE(TIZEN_WEB_STORAGE)
93     DidGetWebStorageQuotaBytes(uint32_t quota, uint64_t callbackID)
94 #endif
95
96 #if USE(TILED_BACKING_STORE)
97     PageDidRequestScroll(WebCore::IntPoint point)
98 #endif
99
100 #if ENABLE(TIZEN_WEBKIT2_HISTORICAL_RESTORE_VISIBLE_CONTENT_RECT)
101     pageDidRequestRestoreVisibleContentRect(WebCore::IntPoint point, float scale)
102 #endif
103
104 #if PLATFORM(QT)
105     DidChangeContentsSize(WebCore::IntSize newSize)
106     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
107     AuthenticationRequiredRequest(WTF::String hostname, WTF::String realm, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
108     CertificateVerificationRequest(WTF::String hostname) -> (bool ignoreErrors)
109     ProxyAuthenticationRequiredRequest(WTF::String hostname, uint16_t port, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
110 #endif
111 #if OS(TIZEN)
112     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
113 #endif
114
115 #if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
116     RegisterProtocolHandler(WTF::String scheme, WTF::String baseURL, WTF::String url, WTF::String title)
117 #endif
118 #if ENABLE(TIZEN_CUSTOM_SCHEME_HANDLER)
119     IsProtocolHandlerRegistered(WTF::String scheme, WTF::String baseURL, WTF::String url) -> (unsigned result)
120     UnregisterProtocolHandler(WTF::String scheme, WTF::String baseURL, WTF::String url)
121 #endif
122 #if ENABLE(TIZEN_REGISTER_CONTENT_HANDLER)
123     RegisterContentHandler(WTF::String mimeType, WTF::String baseURL, WTF::String url, WTF::String title)
124     IsContentHandlerRegistered(WTF::String mimeType, WTF::String baseURL, WTF::String url) -> (unsigned result)
125     UnregisterContentHandler(WTF::String mimeType, WTF::String baseURL, WTF::String url)
126 #endif
127 #if ENABLE(TIZEN_SEARCH_PROVIDER)
128     AddSearchProvider(WTF::String baseURL, WTF::String engineURL)
129     IsSearchProviderInstalled(WTF::String baseURL, WTF::String engineURL) -> (uint64_t result)
130 #endif
131
132 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
133     GetStandaloneStatus() -> (bool standalone)
134     DidGetWebAppCapable(bool capable, uint64_t callbackID)
135     DidGetWebAppIconURL(WTF::String iconURL, uint64_t callbackID)
136 #endif
137
138 #if ENABLE(TIZEN_ICON_DATABASE)
139     DidReceiveIcon()
140 #endif
141
142 #if ENABLE(TOUCH_EVENTS)
143     NeedTouchEvents(bool needTouchEvents)
144 #endif
145
146 #if ENABLE(INPUT_TYPE_COLOR)
147     ShowColorChooser(WebCore::Color initialColor);
148     SetColorChooserColor(WebCore::Color color);
149     EndColorChooser();
150 #endif
151
152     # Policy messages
153     DecidePolicyForResponse(uint64_t frameID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
154     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)
155     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)
156     UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
157 #if ENABLE(TIZEN_DOWNLOAD_ATTRIBUTE)
158     StartDownload(WebCore::ResourceRequest request, WTF::String suggestedName)
159 #endif
160     # Intent messages
161 #if ENABLE(WEB_INTENTS)
162     DidReceiveIntentForFrame(uint64_t frameID, WebKit::IntentData intent, WebKit::InjectedBundleUserMessageEncoder userData)
163 #endif
164 #if ENABLE(WEB_INTENTS_TAG)
165     RegisterIntentServiceForFrame(uint64_t frameID, WebKit::IntentServiceInfo serviceInfo, WebKit::InjectedBundleUserMessageEncoder userData);
166 #endif
167
168     # Progress messages
169     DidChangeProgress(double value)
170     DidFinishProgress()
171     DidStartProgress()
172
173 #if ENABLE(TIZEN_PLUGIN_CUSTOM_REQUEST)
174     ProcessPluginCustomRequest(WTF::String request, WTF::String msg)
175 #endif
176
177     # Frame lifetime messages
178     DidCreateMainFrame(uint64_t frameID)
179     DidCreateSubframe(uint64_t frameID, uint64_t parentFrameID)
180     DidSaveFrameToPageCache(uint64_t frameID);
181     DidRestoreFrameFromPageCache(uint64_t frameID, uint64_t parentFrameID);
182
183     # Frame load messages
184     DidCommitLoadForFrame(uint64_t frameID, WTF::String mimeType, bool hasCustomRepresentation, WebKit::PlatformCertificateInfo certificateInfo, WebKit::InjectedBundleUserMessageEncoder userData)
185     DidFailLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
186     DidFailProvisionalLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
187     DidFinishDocumentLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
188     DidFinishLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
189     DidFirstLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
190     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
191     DidNewFirstVisuallyNonEmptyLayout(WebKit::InjectedBundleUserMessageEncoder userData)
192     DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
193     DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
194     DidStartProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WTF::String unreachableURL, WebKit::InjectedBundleUserMessageEncoder userData)
195     DidReceiveTitleForFrame(uint64_t frameID, WTF::String title, WebKit::InjectedBundleUserMessageEncoder userData)
196     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
197     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
198     DidDetectXSSForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
199     DidSameDocumentNavigationForFrame(uint64_t frameID, uint32_t type, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
200
201     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
202
203     # Resource load messages
204     DidInitiateLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, bool pageIsProvisionallyLoading)
205     DidSendRequestForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, WebCore::ResourceResponse redirectResponse)
206     DidReceiveResponseForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceResponse response)
207     DidReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength)
208     DidFinishLoadForResource(uint64_t frameID, uint64_t resourceIdentifier)
209     DidFailLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceError error)
210 #if PLATFORM(QT)
211     ResolveApplicationSchemeRequest(WebKit::QtNetworkRequestData request)
212 #endif
213
214
215     # Custom representations
216     DidFinishLoadingDataForCustomRepresentation(WTF::String suggestedFilename, CoreIPC::DataReference data)
217
218     # Forms messages
219 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
220     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WebKit::StringPairVector textFieldValues, bool containsPasswordData, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
221 #endif
222 #if !ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
223     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WebKit::StringPairVector textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
224 #endif
225
226     # Callback messages
227     VoidCallback(uint64_t callbackID)
228     DataCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
229     StringCallback(WTF::String resultString, uint64_t callbackID)
230     ScriptValueCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
231     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
232     ValidateCommandCallback(WTF::String command, bool isEnabled, int32_t state, uint64_t callbackID)
233 #if PLATFORM(GTK)
234     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
235 #endif
236
237     PageScaleFactorDidChange(double scaleFactor)
238
239 #if PLATFORM(GTK)
240     # Support for GTK+ platform keybindings
241     GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector<WTF::String> commandsList)
242
243     # Support for connecting the Accessibility worlds of the UI and the Web processes
244     BindAccessibilityTree(WTF::String plugID)
245 #endif
246
247     # BackForward messages
248     BackForwardAddItem(uint64_t itemID)
249     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
250     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
251     BackForwardBackListCount() -> (int32_t count)
252     BackForwardForwardListCount() -> (int32_t count)
253     BackForwardClear()
254     ShouldGoToBackForwardListItem(uint64_t itemID) -> (bool shouldGoToBackForwardListItem)
255     WillGoToBackForwardListItem(uint64_t itemID, WebKit::InjectedBundleUserMessageEncoder userData)
256
257     # Undo/Redo messages
258     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
259     ClearAllEditCommands()
260     CanUndoRedo(uint32_t action) -> (bool result)
261     ExecuteUndoRedo(uint32_t action) -> (bool result)
262
263     # Certification message
264     DecidePolicyForCertificateError(WTF::String url, WTF::String certificate, int error) -> (bool canContinue) Delayed
265
266     # Editor notifications
267     EditorStateChanged(WebKit::EditorState editorState)
268 #if PLATFORM(WIN)
269     DidChangeCompositionSelection(bool hasChanged)
270 #endif
271
272     # Find messages
273     DidCountStringMatches(WTF::String string, uint32_t matchCount)
274     SetFindIndicator(WebCore::FloatRect selectionRect, Vector<WebCore::FloatRect> textRects, float contentImageScaleFactor, WebKit::ShareableBitmap::Handle contentImageHandle, bool fadeOut, bool animate)
275     DidFindString(WTF::String string, uint32_t matchCount)
276     DidFailToFindString(WTF::String string)
277     DidFindStringMatches(WTF::String string, Vector<Vector<WebCore::IntRect> > matches, int32_t firstIndexAfterSelection)
278     DidGetImageForFindMatch(WebKit::ShareableBitmap::Handle contentImageHandle, uint32_t matchIndex)
279 #if PLATFORM(WIN)
280     DidInstallOrUninstallPageOverlay(bool didInstall)
281 #endif
282
283     # PopupMenu messages
284     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, WebKit::PlatformPopupMenuData data)
285     HidePopupMenu()
286 #if PLATFORM(WIN)
287     SetPopupMenuSelectedIndex(int32_t selectedIndex)
288 #endif
289 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
290     UpdatePopupMenu(uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex)
291 #endif
292
293 #if ENABLE(CONTEXT_MENUS)
294     # ContextMenu messages
295     ShowContextMenu(WebCore::IntPoint menuLocation, WebKit::WebHitTestResult::Data hitTestResultData, Vector<WebKit::WebContextMenuItemData> items, WebKit::InjectedBundleUserMessageEncoder userData)
296 #endif
297
298     # Authentication messages
299     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
300     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
301
302     # Database messages
303     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)
304
305     # Geolocation messages
306     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, WTF::String originIdentifier)
307     
308     # Notification messages
309     RequestNotificationPermission(uint64_t requestID, WTF::String originIdentifier)
310     ShowNotification(WTF::String title, WTF::String body, WTF::String iconURL, WTF::String tag, WTF::String originIdentifier, uint64_t notificationID)
311
312 #if ENABLE(TIZEN_MEDIA_STREAM)
313     # UserMedia messages
314     RequestUserMediaPermission(uint64_t requestID)
315 #endif
316
317     # Spelling and grammar messages
318 #if USE(UNIFIED_TEXT_CHECKING)  
319     CheckTextOfParagraph(WTF::String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
320 #endif
321     CheckSpellingOfString(WTF::String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
322     CheckGrammarOfString(WTF::String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
323     SpellingUIIsShowing() -> (bool isShowing)
324     UpdateSpellingUIWithMisspelledWord(WTF::String misspelledWord)
325     UpdateSpellingUIWithGrammarString(WTF::String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)
326     GetGuessesForWord(WTF::String word, WTF::String context) -> (Vector<WTF::String> guesses)
327 #if PLATFORM(EFL) && !ENABLE(TIZEN_ISF_PORT)
328     SetInputMethodState(bool active);
329 #endif
330 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
331     TextChangeInTextField(WTF::String name, WTF::String value)
332 #endif
333 #if ENABLE(TIZEN_ISF_PORT)
334     SetInputMethodState(bool active, WTF::String type, WTF::String value)
335     UpdateCursorOffset(int offset)
336     DidCancelComposition()
337 #endif
338 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
339     SaveSerializedHTMLDataForMainPage(WTF::String name, WTF::String value);
340     SaveSubresourcesData(Vector<WebKit::WebSubresourceTizen> subresources);
341 #endif
342     LearnWord(WTF::String word);
343     IgnoreWord(WTF::String word);
344
345     # Drag and drop messages
346 #if ENABLE(DRAG_SUPPORT)
347     DidPerformDragControllerAction(WebCore::DragSession dragSession)
348 #endif
349 #if PLATFORM(MAC) && ENABLE(DRAG_SUPPORT)
350     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
351     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)
352 #endif
353 #if PLATFORM(WIN) && ENABLE(DRAG_SUPPORT)
354     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)
355 #endif
356 #if (PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)) && ENABLE(DRAG_SUPPORT)
357     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
358 #endif
359
360 #if PLATFORM(MAC)
361     # Dictionary support.
362     DidPerformDictionaryLookup(WTF::String text, WebKit::DictionaryPopupInfo dictionaryPopupInfo)
363
364     # Keyboard input support messages
365     InterpretQueuedKeyEvent(WebKit::EditorState state) -> (bool handled, Vector<WebCore::KeypressCommand> savedCommands)
366     ExecuteSavedCommandBySelector(WTF::String selector) -> (bool handled)
367
368     # Remote accessibility messages
369     RegisterWebProcessAccessibilityToken(CoreIPC::DataReference data)
370
371     # Plug-in complex text input support messages
372     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
373     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
374
375     # Speech messages
376     GetIsSpeaking() -> (bool isSpeaking)
377     Speak(WTF::String string)
378     StopSpeaking()
379
380     MakeFirstResponder()
381
382     # Spotlight
383     SearchWithSpotlight(WTF::String string)
384 #endif
385
386 #if PLATFORM(MAC)
387     SubstitutionsPanelIsShowing() -> (bool isShowing)
388 #endif
389 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
390     # Autocorrection messages
391     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
392     DismissCorrectionPanel(int32_t reason)
393     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
394     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
395 #endif
396
397 #if USE(DICTATION_ALTERNATIVES)
398     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
399     DismissDictationAlternativeUI()
400     RemoveDictationAlternatives(uint64_t dictationContext)
401     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
402 #endif
403
404 #if PLATFORM(WIN)
405     # Windows 7 Gesture Messages
406     SetGestureReachedScrollingLimit(bool limitReached)
407
408     # Miscellaneous Windows messages
409     ScheduleChildWindowGeometryUpdate(WebKit::WindowGeometry geometry)
410 #endif
411
412 #if PLUGIN_ARCHITECTURE(X11)
413     # X11 windowed plugin messages
414     CreatePluginContainer() -> (uint64_t windowID)
415     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
416 #endif
417
418     # Search popup menus
419     SaveRecentSearches(WTF::String name, Vector<String> searchItems)
420     LoadRecentSearches(WTF::String name) -> (Vector<String> result)
421
422 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
423     SetClipboardData(WTF::String data, WTF::String type)
424     ClearClipboardData()
425 #endif
426
427     SetBackgroundColor(double red, double green, double blue, double alpha)
428
429 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
430     DidGetTextStyleStateForSelection(int underlineState, int italicState, int boldState)
431 #endif
432
433 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
434     LockOrientation(int32_t orientation) -> (bool result)
435     UnlockOrientation()
436 #endif
437
438 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
439     SetOverflowResult(bool pressed, uint32_t webLayerID)
440 #endif
441
442 #if ENABLE(TIZEN_LINK_MAGNIFIER)
443     DidGetLinkMagnifierRect(WebCore::IntPoint position, WebCore::IntRect rect)
444 #endif
445
446 #if ENABLE(TIZEN_SCREEN_READER)
447     DidScreenReaderFocusRectChanged(WebCore::IntRect rect)
448     DidScreenReaderTextChanged(WTF::String text)
449 #endif
450 }