d8466ad1c87d02b303da0e93f78e69420c5ec576
[profile/ivi/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     RunBeforeUnloadConfirmPanel(WTF::String message, uint64_t frameID) -> (bool shouldClose)
66     PageDidScroll()
67     RunOpenPanel(uint64_t frameID, WebCore::FileChooserSettings parameters)
68     PrintFrame(uint64_t frameID) -> ()
69     RunModal()
70     NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb)
71     RecommendedScrollbarStyleDidChange(int32_t newStyle)
72     DidChangeScrollbarsForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar)
73     DidChangeScrollOffsetPinningForMainFrame(bool hasHorizontalScrollbar, bool hasVerticalScrollbar)
74     DidChangePageCount(unsigned pageCount);
75     DidFailToInitializePlugin(WTF::String mimeType)
76     DidBlockInsecurePluginVersion(WTF::String mimeType, WTF::String urlString)
77     SetCanShortCircuitHorizontalWheelEvents(bool canShortCircuitHorizontalWheelEvents)
78
79 #if PLATFORM(EFL) && OS(TIZEN)
80     DidChangeScrollPositionForMainFrame(WebCore::IntPoint scrollPosition)
81     DidChangeContentsSize(WebCore::IntSize newSize)
82     HandleInputMethodKeydown() -> (bool handled)
83     UpdateFormNavigation(int length, int position)
84     FocusedNodeChanged(WebCore::IntRect focusedNodeRect)
85 #endif
86 #if ENABLE(TIZEN_SUPPORT_RSS_LINK_PARSING)
87     GetRssItemsCallback(Vector<WebKit::RssItemEfl> rssItems, uint64_t callbackID)
88 #endif
89
90 #if ENABLE(TIZEN_WEB_STORAGE)
91     DidGetWebStorageQuotaBytes(uint32_t quota, uint64_t callbackID)
92 #endif
93
94 #if USE(TILED_BACKING_STORE)
95     PageDidRequestScroll(WebCore::IntPoint point)
96 #endif
97 #if PLATFORM(QT)
98     DidChangeContentsSize(WebCore::IntSize newSize)
99     DidFindZoomableArea(WebCore::IntPoint target, WebCore::IntRect area)
100     AuthenticationRequiredRequest(WTF::String hostname, WTF::String realm, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
101     CertificateVerificationRequest(WTF::String hostname) -> (bool ignoreErrors)
102     ProxyAuthenticationRequiredRequest(WTF::String hostname, uint16_t port, WTF::String prefilledUsername) -> (WTF::String username, WTF::String password)
103 #endif
104
105 #if ENABLE(TIZEN_REGISTER_PROTOCOL_HANDLER)
106     RegisterProtocolHandler(WTF::String scheme, WTF::String baseURL, WTF::String url, WTF::String title)
107 #endif
108 #if ENABLE(TIZEN_REGISTER_CONTENT_HANDLER)
109     RegisterContentHandler(WTF::String mimeType, WTF::String baseURL, WTF::String url, WTF::String title)
110 #endif
111
112 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
113     GetStandaloneStatus() -> (bool standalone)
114     DidGetWebAppCapable(bool capable, uint64_t callbackID)
115     DidGetWebAppIconURL(WTF::String iconURL, uint64_t callbackID)
116 #endif
117
118 #if ENABLE(TOUCH_EVENTS)
119     NeedTouchEvents(bool needTouchEvents)
120 #endif
121
122 #if ENABLE(INPUT_TYPE_COLOR)
123     ShowColorChooser(WebCore::Color initialColor);
124     SetColorChooserColor(WebCore::Color color);
125     EndColorChooser();
126 #endif
127
128     # Policy messages
129     DecidePolicyForResponse(uint64_t frameID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) -> (bool receivedPolicyAction, uint64_t policyAction, uint64_t downloadID)
130     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)
131     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)
132     UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
133
134     # Progress messages
135     DidChangeProgress(double value)
136     DidFinishProgress()
137     DidStartProgress()
138
139 #if ENABLE(TIZEN_MM_PLAYER)
140     ProcessHTML5Video(WTF::String url, WTF::String cookie)
141 #endif
142
143 #if ENABLE(TIZEN_PLUGIN_CUSTOM_REQUEST)
144     ProcessPluginCustomRequest(WTF::String request, WTF::String msg)
145 #endif
146
147     # Frame lifetime messages
148     DidCreateMainFrame(uint64_t frameID)
149     DidCreateSubframe(uint64_t frameID, uint64_t parentFrameID)
150     DidSaveFrameToPageCache(uint64_t frameID);
151     DidRestoreFrameFromPageCache(uint64_t frameID, uint64_t parentFrameID);
152
153     # Frame load messages
154     DidCommitLoadForFrame(uint64_t frameID, WTF::String mimeType, bool hasCustomRepresentation, WebKit::PlatformCertificateInfo certificateInfo, WebKit::InjectedBundleUserMessageEncoder userData)
155     DidFailLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
156     DidFailProvisionalLoadForFrame(uint64_t frameID, WebCore::ResourceError error, WebKit::InjectedBundleUserMessageEncoder userData)
157     DidFinishDocumentLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
158     DidFinishLoadForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
159     DidFirstLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
160     DidFirstVisuallyNonEmptyLayoutForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
161     DidNewFirstVisuallyNonEmptyLayout(WebKit::InjectedBundleUserMessageEncoder userData)
162     DidReceiveServerRedirectForProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
163     DidRemoveFrameFromHierarchy(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
164     DidStartProvisionalLoadForFrame(uint64_t frameID, WTF::String url, WTF::String unreachableURL, WebKit::InjectedBundleUserMessageEncoder userData)
165     DidReceiveTitleForFrame(uint64_t frameID, WTF::String title, WebKit::InjectedBundleUserMessageEncoder userData)
166     DidDisplayInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
167     DidRunInsecureContentForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
168     DidDetectXSSForFrame(uint64_t frameID, WebKit::InjectedBundleUserMessageEncoder userData)
169     DidSameDocumentNavigationForFrame(uint64_t frameID, uint32_t type, WTF::String url, WebKit::InjectedBundleUserMessageEncoder userData)
170
171     FrameDidBecomeFrameSet(uint64_t frameID, bool value)
172
173     # Resource load messages
174     DidInitiateLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, bool pageIsProvisionallyLoading)
175     DidSendRequestForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceRequest request, WebCore::ResourceResponse redirectResponse)
176     DidReceiveResponseForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceResponse response)
177     DidReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength)
178     DidFinishLoadForResource(uint64_t frameID, uint64_t resourceIdentifier)
179     DidFailLoadForResource(uint64_t frameID, uint64_t resourceIdentifier, WebCore::ResourceError error)
180 #if PLATFORM(QT)
181     ResolveApplicationSchemeRequest(WebKit::QtNetworkRequestData request)
182 #endif
183
184
185     # Custom representations
186     DidFinishLoadingDataForCustomRepresentation(WTF::String suggestedFilename, CoreIPC::DataReference data)
187
188     # Forms messages
189     WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WebKit::StringPairVector textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData)
190
191     # Callback messages
192     VoidCallback(uint64_t callbackID)
193     DataCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
194     StringCallback(WTF::String resultString, uint64_t callbackID)
195     ScriptValueCallback(CoreIPC::DataReference resultData, uint64_t callbackID)
196     ComputedPagesCallback(Vector<WebCore::IntRect> pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
197     ValidateCommandCallback(WTF::String command, bool isEnabled, int32_t state, uint64_t callbackID)
198 #if PLATFORM(GTK)
199     PrintFinishedCallback(WebCore::ResourceError error, uint64_t callbackID)
200 #endif
201
202     PageScaleFactorDidChange(double scaleFactor)
203
204 #if PLATFORM(GTK)
205     # Support for GTK+ platform keybindings
206     GetEditorCommandsForKeyEvent(AtomicString eventType) -> (Vector<WTF::String> commandsList)
207
208     # Support for connecting the Accessibility worlds of the UI and the Web processes
209     BindAccessibilityTree(WTF::String plugID)
210 #endif
211
212     # BackForward messages
213     BackForwardAddItem(uint64_t itemID)
214     BackForwardGoToItem(uint64_t itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
215     BackForwardItemAtIndex(int32_t itemIndex) -> (uint64_t itemID)
216     BackForwardBackListCount() -> (int32_t count)
217     BackForwardForwardListCount() -> (int32_t count)
218     BackForwardClear()
219     ShouldGoToBackForwardListItem(uint64_t itemID) -> (bool shouldGoToBackForwardListItem)
220     WillGoToBackForwardListItem(uint64_t itemID, WebKit::InjectedBundleUserMessageEncoder userData)
221
222     # Undo/Redo messages
223     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
224     ClearAllEditCommands()
225     CanUndoRedo(uint32_t action) -> (bool result)
226     ExecuteUndoRedo(uint32_t action) -> (bool result)
227
228     # Certification message
229     DecidePolicyForCertificateError(bool isTrusted, WTF::String url, WTF::String certificate, int error) -> (bool canContinue)
230
231     # Editor notifications
232     EditorStateChanged(WebKit::EditorState editorState)
233 #if PLATFORM(WIN)
234     DidChangeCompositionSelection(bool hasChanged)
235 #endif
236
237     # Find messages
238     DidCountStringMatches(WTF::String string, uint32_t matchCount)
239     SetFindIndicator(WebCore::FloatRect selectionRect, Vector<WebCore::FloatRect> textRects, float contentImageScaleFactor, WebKit::ShareableBitmap::Handle contentImageHandle, bool fadeOut, bool animate)
240     DidFindString(WTF::String string, uint32_t matchCount)
241     DidFailToFindString(WTF::String string)
242 #if PLATFORM(WIN)
243     DidInstallOrUninstallPageOverlay(bool didInstall)
244 #endif
245
246     # PopupMenu messages
247     ShowPopupMenu(WebCore::IntRect rect, uint64_t textDirection, Vector<WebKit::WebPopupItem> items, int32_t selectedIndex, WebKit::PlatformPopupMenuData data)
248     HidePopupMenu()
249 #if PLATFORM(WIN)
250     SetPopupMenuSelectedIndex(int32_t selectedIndex)
251 #endif
252
253 #if ENABLE(CONTEXT_MENUS)
254     # ContextMenu messages
255     ShowContextMenu(WebCore::IntPoint menuLocation, WebKit::WebHitTestResult::Data hitTestResultData, Vector<WebKit::WebContextMenuItemData> items, WebKit::InjectedBundleUserMessageEncoder userData)
256 #endif
257
258     # Authentication messages
259     CanAuthenticateAgainstProtectionSpaceInFrame(uint64_t frameID, WebCore::ProtectionSpace protectionSpace) -> (bool canAuthenticate)
260     DidReceiveAuthenticationChallenge(uint64_t frameID, WebCore::AuthenticationChallenge challenge, uint64_t challengeID)
261
262     # Database messages
263     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)
264
265     # Geolocation messages
266     RequestGeolocationPermissionForFrame(uint64_t geolocationID, uint64_t frameID, WTF::String originIdentifier)
267     
268     # Notification messages
269     RequestNotificationPermission(uint64_t requestID, WTF::String originIdentifier)
270     ShowNotification(WTF::String title, WTF::String body, WTF::String iconURL, WTF::String tag, WTF::String originIdentifier, uint64_t notificationID)
271
272 #if ENABLE(TIZEN_MEDIA_STREAM)
273     # UserMedia messages
274     RequestUserMediaPermission(uint64_t requestID)
275 #endif
276
277     # Spelling and grammar messages
278 #if USE(UNIFIED_TEXT_CHECKING)  
279     CheckTextOfParagraph(WTF::String text, uint64_t checkingTypes) -> (Vector<WebCore::TextCheckingResult> results)
280 #endif
281     CheckSpellingOfString(WTF::String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
282     CheckGrammarOfString(WTF::String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
283     SpellingUIIsShowing() -> (bool isShowing)
284     UpdateSpellingUIWithMisspelledWord(WTF::String misspelledWord)
285     UpdateSpellingUIWithGrammarString(WTF::String badGrammarPhrase, WebCore::GrammarDetail grammarDetail)
286     GetGuessesForWord(WTF::String word, WTF::String context) -> (Vector<WTF::String> guesses)
287 #if PLATFORM(EFL) && !ENABLE(TIZEN_INPUT_TAG_EXTENSION)
288     SetInputMethodState(bool active);
289 #endif
290 #if ENABLE(TIZEN_INPUT_TAG_EXTENSION)
291     SetInputMethodState(bool active, AtomicString inputType, WTF::String inputValue);
292 #endif
293 #if ENABLE(TIZEN_ISF_PORT)
294     HandleInputMethodMouseRelease()
295     UpdateCursorPosition()
296     GetInputMethodState() -> (bool state)
297 #endif
298     LearnWord(WTF::String word);
299     IgnoreWord(WTF::String word);
300
301 #if ENABLE(TIZEN_VIBRATION)
302      Vibrate(uint64_t time);
303      CancelVibration();
304 #endif
305
306     # Drag and drop messages
307 #if ENABLE(DRAG_SUPPORT)
308     DidPerformDragControllerAction(WebCore::DragSession dragSession)
309 #if ENABLE(DRAG_SUPPORT) && PLATFORM(MAC)
310     SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)
311     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)
312 #endif
313 #if ENABLE(DRAG_SUPPORT) && PLATFORM(WIN)
314     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)
315 #endif
316 #if ENABLE(DRAG_SUPPORT) && (PLATFORM(QT) || PLATFORM(GTK))
317     StartDrag(WebCore::DragData dragData, WebKit::ShareableBitmap::Handle dragImage)
318 #endif
319 #endif
320
321 #if PLATFORM(MAC)
322     # Dictionary support.
323     DidPerformDictionaryLookup(WTF::String text, WebKit::DictionaryPopupInfo dictionaryPopupInfo)
324
325     # Keyboard input support messages
326     InterpretQueuedKeyEvent(WebKit::EditorState state) -> (bool handled, Vector<WebCore::KeypressCommand> savedCommands)
327     ExecuteSavedCommandBySelector(WTF::String selector) -> (bool handled)
328
329     # Remote accessibility messages
330     RegisterWebProcessAccessibilityToken(CoreIPC::DataReference data)
331
332     # Plug-in complex text input support messages
333     PluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
334     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
335
336     # Speech messages
337     GetIsSpeaking() -> (bool isSpeaking)
338     Speak(WTF::String string)
339     StopSpeaking()
340
341     MakeFirstResponder()
342
343     # Spotlight
344     SearchWithSpotlight(WTF::String string)
345 #endif
346
347 #if PLATFORM(MAC)
348     SubstitutionsPanelIsShowing() -> (bool isShowing)
349 #endif
350 #if PLATFORM(MAC) && !defined(BUILDING_ON_SNOW_LEOPARD)
351     # Autocorrection messages
352     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
353     DismissCorrectionPanel(int32_t reason)
354     DismissCorrectionPanelSoon(int32_t reason) -> (String result)
355     RecordAutocorrectionResponse(int32_t responseType, String replacedString, String replacementString);
356 #endif
357
358 #if PLATFORM(WIN)
359     # Windows 7 Gesture Messages
360     SetGestureReachedScrollingLimit(bool limitReached)
361
362     # Miscellaneous Windows messages
363     ScheduleChildWindowGeometryUpdate(WebKit::WindowGeometry geometry)
364 #endif
365
366 #if PLUGIN_ARCHITECTURE(X11)
367     # X11 windowed plugin messages
368     CreatePluginContainer() -> (uint64_t windowID)
369     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
370 #endif
371
372     # Search popup menus
373     SaveRecentSearches(WTF::String name, Vector<String> searchItems)
374     LoadRecentSearches(WTF::String name) -> (Vector<String> result)
375
376 #if ENABLE(TIZEN_READER)
377     ShowReaderForArticle(WTF::String readerUrl, WTF::String readerHtml, uint64_t callbackID)
378 #endif
379 #if ENABLE(TIZEN_WEBKIT_PASTEBOARD)
380     WriteDataToClipboardWithType(WTF::String data, uint64_t type)
381 #endif
382
383 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
384     SetBackgroundColor(double red, double green, double blue, double alpha)
385 #endif
386
387 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
388     DidGetTextStyleStateForSelection(int underlineState, int italicState, int boldState)
389 #endif
390
391 #if ENABLE(SCREEN_ORIENTATION_SUPPORT) && ENABLE(TIZEN_SCREEN_ORIENTATION_SUPPORT)
392     LockOrientation(int32_t orientation) -> (bool result)
393     UnlockOrientation()
394 #endif
395 }