Merge "[CherryPick] [EFL][Qt][WK2] Fixed position elements are not always fixed"...
[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 #if ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
305     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID) -> (bool canAuthenticate) Delayed
306 #endif
307 #if !ENABLE(TIZEN_ON_AUTHENTICATION_REQUESTED)
308     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
309 #endif
310
311     # Database messages
312 #if ENABLE(TIZEN_SQL_DATABASE)
313     ExceededDatabaseQuota(uint64_t frameID, WTF::String originIdentifier, WTF::String databaseDisplayName, uint64_t expectedUsage) -> (bool allowExceed) Delayed
314 #endif
315 #if !ENABLE(TIZEN_SQL_DATABASE)
316     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)
317 #endif
318
319 #if ENABLE(TIZEN_APPLICATION_CACHE)
320     RequestApplicationCachePermission(uint64_t frameID, WTF::String originIdentifier) -> (bool allow) Delayed
321 #endif
322
323     # Geolocation messages
324     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, WTF::String originIdentifier)
325     
326     # Notification messages
327     RequestNotificationPermission(uint64_t requestID, WTF::String originIdentifier)
328     ShowNotification(WTF::String title, WTF::String body, WTF::String iconURL, WTF::String tag, WTF::String originIdentifier, uint64_t notificationID)
329
330 #if ENABLE(TIZEN_MEDIA_STREAM)
331     # UserMedia messages
332     RequestUserMediaPermission(uint64_t requestID)
333 #endif
334
335     # Spelling and grammar messages
336 #if USE(UNIFIED_TEXT_CHECKING)  
337     CheckTextOfParagraph(WTF::String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
338 #endif
339     CheckSpellingOfString(WTF::String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
340     CheckGrammarOfString(WTF::String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
341     SpellingUIIsShowing() -> (bool isShowing)
342     UpdateSpellingUIWithMisspelledWord(WTF::String misspelledWord)
343     UpdateSpellingUIWithGrammarString(WTF::String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)
344     GetGuessesForWord(WTF::String word, WTF::String context) -> (Vector<WTF::String> guesses)
345 #if ENABLE(TIZEN_ISF_PORT)
346     SetInputMethodState(bool active);
347 #endif
348 #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
349     TextChangeInTextField(WTF::String name, WTF::String value)
350 #endif
351 #if ENABLE(TIZEN_ISF_PORT)
352     DidCancelComposition()
353 #endif
354 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
355     SaveSerializedHTMLDataForMainPage(WTF::String name, WTF::String value);
356     SaveSubresourcesData(Vector<WebKit::WebSubresourceTizen> subresources);
357 #endif
358     LearnWord(WTF::String word);
359     IgnoreWord(WTF::String word);
360
361     # Drag and drop messages
362 #if ENABLE(DRAG_SUPPORT)
363     DidPerformDragControllerAction(WebCore::DragSession dragSession)
364 #endif
365 #if PLATFORM(MAC) && ENABLE(DRAG_SUPPORT)
366     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
367     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)
368 #endif
369 #if PLATFORM(WIN) && ENABLE(DRAG_SUPPORT)
370     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)
371 #endif
372 #if (PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)) && ENABLE(DRAG_SUPPORT)
373     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
374 #endif
375
376 #if PLATFORM(MAC)
377     # Dictionary support.
378     DidPerformDictionaryLookup(WTF::String text, WebKit::DictionaryPopupInfo dictionaryPopupInfo)
379
380     # Keyboard input support messages
381     InterpretQueuedKeyEvent(WebKit::EditorState state) -> (bool handled, Vector<WebCore::KeypressCommand> savedCommands)
382     ExecuteSavedCommandBySelector(WTF::String selector) -> (bool handled)
383
384     # Remote accessibility messages
385     RegisterWebProcessAccessibilityToken(CoreIPC::DataReference data)
386
387     # Plug-in complex text input support messages
388     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
389     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
390
391     # Speech messages
392     GetIsSpeaking() -> (bool isSpeaking)
393     Speak(WTF::String string)
394     StopSpeaking()
395
396     MakeFirstResponder()
397
398     # Spotlight
399     SearchWithSpotlight(WTF::String string)
400 #endif
401
402 #if PLATFORM(MAC)
403     SubstitutionsPanelIsShowing() -> (bool isShowing)
404 #endif
405 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
406     # Autocorrection messages
407     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
408     DismissCorrectionPanel(int32_t reason)
409     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
410     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
411 #endif
412
413 #if USE(DICTATION_ALTERNATIVES)
414     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
415     DismissDictationAlternativeUI()
416     RemoveDictationAlternatives(uint64_t dictationContext)
417     DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
418 #endif
419
420 #if PLATFORM(WIN)
421     # Windows 7 Gesture Messages
422     SetGestureReachedScrollingLimit(bool limitReached)
423
424     # Miscellaneous Windows messages
425     ScheduleChildWindowGeometryUpdate(WebKit::WindowGeometry geometry)
426 #endif
427
428 #if PLUGIN_ARCHITECTURE(X11)
429     # X11 windowed plugin messages
430     CreatePluginContainer() -> (uint64_t windowID)
431     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
432 #endif
433
434     # Search popup menus
435     SaveRecentSearches(WTF::String name, Vector<String> searchItems)
436     LoadRecentSearches(WTF::String name) -> (Vector<String> result)
437
438 #if USE(SOUP)
439     # Soup custom URI request messages
440     DidReceiveURIRequest(WTF::String uriString, uint64_t requestID);
441 #endif
442
443 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
444     SetClipboardData(WTF::String data, WTF::String type)
445     ClearClipboardData()
446 #endif
447
448     SetBackgroundColor(double red, double green, double blue, double alpha)
449
450 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
451     DidGetTextStyleStateForSelection(int underlineState, int italicState, int boldState)
452 #endif
453
454 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
455     LockOrientation(int32_t orientation) -> (bool result)
456     UnlockOrientation()
457 #endif
458
459 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
460     SetOverflowResult(bool pressed, uint32_t webLayerID)
461 #endif
462
463 #if ENABLE(TIZEN_LINK_MAGNIFIER)
464     DidGetLinkMagnifierRect(WebCore::IntPoint position, WebCore::IntRect rect)
465 #endif
466
467 #if ENABLE(TIZEN_SCREEN_READER)
468     DidScreenReaderFocusRectChanged(WebCore::IntRect rect)
469     DidScreenReaderTextChanged(WTF::String text)
470 #endif
471
472 #if ENABLE(TIZEN_INDEXED_DATABASE)
473     ExceededIndexedDatabaseQuota(uint64_t frameID, WTF::String originIdentifier, int64_t currentUsage) -> (bool returnValue) Delayed
474 #endif
475
476 #if ENABLE(TIZEN_FILE_SYSTEM)
477     ExceededLocalFileSystemQuota(uint64_t frameID, WTF::String originIdentifier, int64_t currentUsage) -> (bool allow) Delayed
478 #endif
479 }