d815d43132afcc614c9e2ee94dbf33f3a0964b55
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.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 -> WebPage {
24     SetActive(bool active)
25     SetFocused(bool focused)
26     SetInitialFocus(bool forward, bool isKeyboardEventValid, WebKit::WebKeyboardEvent event)
27     SetIsInWindow(bool isInWindow)
28
29     SetDrawsBackground(bool drawsBackground)
30     SetDrawsTransparentBackground(bool drawsTransparentBackground)
31
32     ViewWillStartLiveResize()
33     ViewWillEndLiveResize()
34
35 #if ENABLE(TIZEN_ISF_PORT)
36     KeyEvent(WebKit::NativeWebKeyboardEvent event)
37 #endif
38
39 #if !ENABLE(TIZEN_ISF_PORT)
40     KeyEvent(WebKit::WebKeyboardEvent event)
41 #endif
42
43     KeyEventSyncForTesting(WebKit::WebKeyboardEvent event) -> (bool handled)
44     MouseEvent(WebKit::WebMouseEvent event)
45     MouseEventSyncForTesting(WebKit::WebMouseEvent event) -> (bool handled)
46     WheelEventSyncForTesting(WebKit::WebWheelEvent event) -> (bool handled)
47 #if ENABLE(TOUCH_EVENTS)
48     TouchEvent(WebKit::WebTouchEvent event)
49     TouchEventSyncForTesting(WebKit::WebTouchEvent event) -> (bool handled)
50 #endif
51 #if ENABLE(TOUCH_EVENTS) && PLATFORM(QT)
52     HighlightPotentialActivation(WebCore::IntPoint point, WebCore::IntSize area)
53 #endif
54
55 #if ENABLE(INPUT_TYPE_COLOR)
56     DidEndColorChooser();
57     DidChooseColor(WebCore::Color color);
58 #endif
59
60 #if ENABLE(CONTEXT_MENUS)
61     ContextMenuHidden()
62 #endif
63
64     ScrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
65     CenterSelectionInVisibleArea()
66
67 #if PLATFORM(EFL) && OS(TIZEN)
68     ScrollMainFrameBy(WebCore::IntSize scrollOffset)
69     ScrollMainFrameTo(WebCore::IntPoint scrollPosition)
70     CreateSnapshot(WebCore::IntRect rects, float scaleFactor) -> (WebKit::ShareableBitmap::Handle snapshotHandle)
71     RequestUpdateFormNavigation()
72     MoveFocus(int newIndex)
73 #if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
74     HitTestResultAtPoint(WebCore::IntPoint point, int hitTestMode) -> (WebKit::WebHitTestResult::Data hitTestResultData)
75 #endif
76     SuspendJavaScriptAndResources()
77     ResumeJavaScriptAndResources()
78
79     SuspendAnimations()
80     ResumeAnimations()
81 #endif
82
83 #if ENABLE(TIZEN_WEB_STORAGE)
84     GetStorageQuotaBytes(uint64_t callbackID)
85     SetStorageQuotaBytes(uint32_t quota)
86 #endif
87 #if ENABLE(TIZEN_ORIENTATION_EVENTS)
88     SendOrientationChangeEvent(int orientation)
89 #endif
90
91     GoBack(uint64_t backForwardItemID)
92     GoForward(uint64_t backForwardItemID)
93     GoToBackForwardItem(uint64_t backForwardItemID)
94     TryRestoreScrollPosition()
95     LoadHTMLString(WTF::String htmlString, WTF::String baseURL)
96     LoadAlternateHTMLString(WTF::String htmlString, WTF::String baseURL, WTF::String unreachableURL); 
97     LoadPlainTextString(WTF::String string)
98     LoadWebArchiveData(CoreIPC::DataReference webArchiveData)
99 #if OS(TIZEN)
100     LoadContentsbyMimeType(CoreIPC::DataReference contents, WTF::String mimeType, WTF::String encoding, WTF::String baseURL)
101 #endif
102     LoadURL(WTF::String url, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
103     LoadURLRequest(WebCore::ResourceRequest request, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
104     LinkClicked(WTF::String url, WebKit::WebMouseEvent event)
105     Reload(bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
106     StopLoading()
107
108 #if PLATFORM(QT)
109     ApplicationSchemeReply(WebKit::QtNetworkReplyData reply)
110     RegisterApplicationScheme(WTF::String scheme)
111     SetUserScripts(WTF::Vector<WTF::String> script)
112 #endif
113
114     StopLoadingFrame(uint64_t frameID)
115     
116     RestoreSession(WebKit::SessionState state)
117     RestoreSessionAndNavigateToCurrentItem(WebKit::SessionState state)
118
119     DidRemoveBackForwardItem(uint64_t backForwardItemID)
120     SetWillGoToBackForwardItemCallbackEnabled(bool willGoToBackForwardItemEnabled)
121
122     DidReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t downloadID)
123
124     ClearSelection()
125
126     # Callbacks.
127     GetContentsAsString(uint64_t callbackID)
128 #if ENABLE(MHTML)
129     GetContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding)
130 #endif
131     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
132     GetResourceDataFromFrame(uint64_t frameID, WTF::String resourceURL, uint64_t callbackID)
133     GetRenderTreeExternalRepresentation(uint64_t callbackID)
134     GetSelectionOrContentsAsString(uint64_t callbackID)
135     GetSourceForFrame(uint64_t frameID, uint64_t callbackID)
136     GetWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
137     RunJavaScriptInMainFrame(WTF::String script, uint64_t callbackID)
138     ForceRepaint(uint64_t callbackID)
139
140 #if PLATFORM(MAC)
141     # Dictionary support.
142     PerformDictionaryLookupAtLocation(WebCore::FloatPoint point)
143 #endif
144
145     PreferencesDidChange(WebKit::WebPreferencesStore store)
146
147     SetUserAgent(WTF::String userAgent)
148     SetCustomTextEncodingName(WTF::String encodingName)
149
150     SuspendActiveDOMObjectsAndAnimations()
151     ResumeActiveDOMObjectsAndAnimations()
152
153 #if USE(TILED_BACKING_STORE)
154     SetFixedVisibleContentRect(WebCore::IntRect rect)
155     SetResizesToContentsUsingLayoutSize(WebCore::IntSize size)
156     SetViewportSize(WebCore::IntSize size)
157 #endif
158
159     Close()
160     TryClose()
161
162     ValidateCommand(WTF::String name, uint64_t callbackID)
163     ExecuteEditCommand(WTF::String name)
164 #if OS(TIZEN)
165     ExecuteEditCommandWithArgument(WTF::String name, WTF::String argument)
166 #endif
167
168     DidRemoveEditCommand(uint64_t commandID)
169     ReapplyEditCommand(uint64_t commandID)
170     UnapplyEditCommand(uint64_t commandID)
171
172     SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
173     SetPageZoomFactor(double zoomFactor)
174     SetTextZoomFactor(double zoomFactor)
175     WindowScreenDidChange(uint64_t displayID)
176
177     ScalePage(double scale, WebCore::IntPoint origin)
178
179     SetUseFixedLayout(bool fixed)
180     SetFixedLayoutSize(WebCore::IntSize size)
181
182     SetPaginationMode(uint32_t mode);
183     SetPaginationBehavesLikeColumns(bool behavesLikeColumns);
184     SetPageLength(double pageLength);
185     SetGapBetweenPages(double gap);
186
187     # Find.
188     FindString(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
189     FindStringMatches(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
190     GetImageForFindMatch(uint32_t matchIndex)
191     SelectFindMatch(uint32_t matchIndex)
192     HideFindUI()
193     CountStringMatches(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
194
195     # Drag and drop.
196 #if PLATFORM(WIN) && ENABLE(DRAG_SUPPORT)
197     PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, HashMap<UINT,Vector<String>> dataMap, uint32_t flags)
198 #endif
199 #if (PLATFORM(QT) || PLATFORM(GTK) || ENABLE(TIZEN_DRAG_SUPPORT)) && ENABLE(DRAG_SUPPORT)
200     PerformDragControllerAction(uint64_t action, WebCore::DragData dragData)
201 #endif
202 #if !PLATFORM(WIN) && !PLATFORM(QT) && !PLATFORM(GTK) && !ENABLE(TIZEN_DRAG_SUPPORT) && ENABLE(DRAG_SUPPORT)
203     PerformDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, WTF::String dragStorageName, uint32_t flags, WebKit::SandboxExtension::Handle sandboxExtensionHandle, WebKit::SandboxExtension::HandleArray sandboxExtensionsForUpload)
204 #endif
205 #if ENABLE(DRAG_SUPPORT)
206     DragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
207 #endif
208
209     # Popup menu.
210     DidChangeSelectedIndexForActivePopupMenu(int32_t newIndex);
211     SetTextForActivePopupMenu(int32_t index);
212 #if PLATFORM(GTK)    
213     FailedToShowPopupMenu();
214 #endif
215 #if PLATFORM(QT)
216     HidePopupMenu();
217     SelectedIndex(int32_t newIndex);
218 #endif
219     
220 #if ENABLE(CONTEXT_MENUS)
221     # Context menu.
222 #if ENABLE(CONTEXT_MENUS)
223     DidSelectItemFromActiveContextMenu(WebKit::WebContextMenuItemData menuItem);
224 #endif
225
226     # Open panel.
227     DidChooseFilesForOpenPanel(Vector<WTF::String> fileURLs)
228     DidCancelForOpenPanel()
229 #if ENABLE(WEB_PROCESS_SANDBOX)
230     ExtendSandboxForFileFromOpenPanel(WebKit::SandboxExtension::Handle sandboxExtensionHandle)
231 #endif
232
233     # Spelling and grammar.
234     AdvanceToNextMisspelling(bool startBeforeSelection)
235     ChangeSpellingToWord(WTF::String word)
236 #if USE(APPKIT)
237     UppercaseWord();
238     LowercaseWord();
239     CapitalizeWord();
240
241     SetSmartInsertDeleteEnabled(bool isSmartInsertDeleteEnabled);
242 #endif
243
244 #if ENABLE(GEOLOCATION)
245     # Geolocation
246     DidReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
247 #endif
248
249     # Notification
250     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
251
252 #if ENABLE(TIZEN_MEDIA_STREAM)
253     # UserMedia messages
254     DidReceiveUserMediaPermissionDecision(uint64_t userMediaID, bool allowed)
255 #endif
256
257     SetWindowResizerSize(WebCore::IntSize intersectsView)
258
259     # Printing.
260     BeginPrinting(uint64_t frameID, WebKit::PrintInfo printInfo)
261     EndPrinting();
262     ComputePagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID)
263 #if PLATFORM(MAC) || PLATFORM(WIN)
264     DrawRectToPDF(uint64_t frameID, WebKit::PrintInfo printInfo, WebCore::IntRect rect, uint64_t callbackID)
265     DrawPagesToPDF(uint64_t frameID, WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
266 #endif
267 #if PLATFORM(GTK)
268     DrawPagesForPrinting(uint64_t frameID, WebKit::PrintInfo printInfo, uint64_t callbackID)
269 #endif
270
271 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
272     GetWebAppCapable(uint64_t callbackID)
273     GetWebAppIconURL(uint64_t callbackID)
274     GetWebAppIconURLs(uint64_t callbackID)
275 #endif
276
277     # Media
278     SetMediaVolume(float volume)
279
280     SetMemoryCacheMessagesEnabled(bool memoryCacheMessagesEnabled)
281
282     // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require
283     // any synchronous messages, and should be removed when <rdar://problem/8775115> is fixed.
284     Dummy() -> (bool dummyReturn)
285
286     SetCanRunBeforeUnloadConfirmPanel(bool canRunBeforeUnloadConfirmPanel)
287     SetCanRunModal(bool canRunModal)
288
289     # Web Intents
290 #if ENABLE(WEB_INTENTS)
291     DeliverIntentToFrame(uint64_t frameID, WebKit::IntentData intentData);
292 #endif
293
294 #if PLATFORM(EFL)
295     SetThemePath(WTF::String themePath)
296 #endif
297
298 #if PLATFORM(QT)
299     SetComposition(WTF::String text, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
300     ConfirmComposition(WTF::String text, int64_t selectionStart, int64_t selectionLength)
301     CancelComposition()
302 #endif
303
304 #if PLATFORM(MAC)
305     # Complex text input support for plug-ins.
306     SendComplexTextInputToPlugin(uint64_t pluginComplexTextInputIdentifier, String textInput)
307
308     SetWindowIsVisible(bool windowIsVisible)
309     WindowAndViewFramesChanged(WebCore::IntRect windowFrameInScreenCoordinates, WebCore::IntRect viewFrameInWindowCoordinates, WebCore::IntPoint accessibilityViewCoordinates)
310     RegisterUIProcessAccessibilityTokens(CoreIPC::DataReference elemenToken, CoreIPC::DataReference windowToken)
311     GetStringSelectionForPasteboard() -> (WTF::String stringValue)
312     GetDataSelectionForPasteboard(WTF::String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
313     ReadSelectionFromPasteboard(WTF::String pasteboardName) -> (bool result)
314
315     # Text input.
316     SetComposition(WTF::String text, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (WebKit::EditorState newState)
317     ConfirmComposition() -> (WebKit::EditorState newState)
318     CancelComposition() -> (WebKit::EditorState newState)
319     InsertText(WTF::String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd) -> (bool handled, WebKit::EditorState newState)
320     GetMarkedRange() -> (uint64_t location, uint64_t length)
321     GetSelectedRange() -> (uint64_t location, uint64_t length)
322     GetAttributedSubstringFromRange(uint64_t location, uint64_t length) -> (WebKit::AttributedString result)
323     CharacterIndexForPoint(WebCore::IntPoint point) -> (uint64_t result)
324     FirstRectForCharacterRange(uint64_t location, uint64_t length) -> (WebCore::IntRect resultRect)
325     ExecuteKeypressCommands(Vector<WebCore::KeypressCommand> savedCommands) -> (bool handled, WebKit::EditorState newState)
326     ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
327     AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
328     InsertDictatedText(WTF::String text, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, WTF::Vector<WebCore::DictationAlternative> dictationAlternatives) -> (bool handled, WebKit::EditorState newState)
329 #endif
330 #if PLATFORM(WIN)
331     // FIXME: Unify with Mac counterparts.
332     ConfirmComposition(WTF::String compositionString)
333     SetComposition(WTF::String compositionString, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
334     FirstRectForCharacterInSelectedRange(uint64_t characterPosition) -> (WebCore::IntRect resultRect)
335     GetSelectedText() -> (WTF::String text)
336
337     GestureWillBegin(WebCore::IntPoint point) -> (bool canBeginPanning)
338     GestureDidScroll(WebCore::IntSize size)
339     GestureDidEnd()
340 #endif
341 #if PLATFORM(EFL) && OS(TIZEN)
342 #if ENABLE(TIZEN_TEXT_CARET_HANDLING_WK2)
343     SetCaretPosition(WebCore::IntPoint pos)
344     GetCaretPosition() -> (WebCore::IntRect rect)
345 #endif
346 #if ENABLE(TIZEN_ISF_PORT)
347     PrepareKeyDownEvent()
348     GetCursorOffset() -> (int offset)
349     GetSurroundingTextAndCursorOffset() -> (String text, int offset)
350     GetSelectionRect(bool isOnlyEditable) -> (WebCore::IntRect rect)
351     DeleteSurroundingText(int offset, int count)
352 #endif
353 #endif
354 #if PLATFORM(EFL)
355     ConfirmComposition(WTF::String compositionString)
356     SetComposition(WTF::String compositionString, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
357     CancelComposition()
358 #endif
359 #if PLATFORM(QT) || OS(TIZEN)
360     FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area)
361 #endif
362
363 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
364     HandleAlternativeTextUIResult(String result)
365 #endif
366
367 #if ENABLE(PAGE_VISIBILITY_API)
368     SetVisibilityState(int visibilityState, bool isInitialState);
369 #endif
370
371 #if ENABLE(TIZEN_INPUT_TAG_EXTENSION) || ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
372     SetFocusedInputElementValue(WTF::String inputValue)
373     GetFocusedInputElementValue() -> (String inputValue)
374 #endif
375
376 #if ENABLE(TIZEN_DATALIST_ELEMENT)
377     GetFocusedInputElementDataList() -> (Vector<WTF::String> options)
378 #endif
379
380 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
381     SelectClosestWord(WebCore::IntPoint point) -> (bool result)
382     SetLeftSelection(WebCore::IntPoint point) -> (bool result)
383     SetRightSelection(WebCore::IntPoint point) -> (bool result)
384     GetSelectionHandlers() -> (WebCore::IntRect leftRect, WebCore::IntRect rightRect)
385     GetSelectionText() -> (String result)
386     SelectionRangeClear() -> (bool result)
387     ScrollContentByCharacter(WebCore::IntPoint point, int direction) -> (bool result)
388     ScrollContentByLine(WebCore::IntPoint point, int direction) -> (bool result)
389 #endif
390
391 #if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
392     StartOfflinePageSave(WTF::String subresourceFolderName)
393 #endif
394
395 #if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_TEXT_SELECTION_MODE)
396     SelectLink(WebCore::IntPoint positionForSelection) -> (bool result)
397 #endif
398
399 #if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
400     SetClipboardDataForPaste(WTF::String data, WTF::String type)
401 #endif
402 #if ENABLE(TIZEN_PLUGIN_SUSPEND_RESUME)
403     SuspendPlugin()
404     ResumePlugin()
405 #endif
406 #if ENABLE(TIZEN_REMOTE_WEB_INSPECTOR)
407     StartInspectorServer(uint32_t port) -> (uint32_t assignedPort)
408     StopInspectorServer() -> (bool result)
409 #endif
410
411 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
412     ScrollOverflow(WebCore::FloatPoint point) -> (bool scrolled)
413     SetPressedNodeAtPoint(WebCore::IntPoint point, bool checkOverflowLayer) -> (bool pressed, uint32_t id)
414 #endif
415
416 #if ENABLE(TIZEN_CUSTOM_HEADERS)
417     AddCustomHeader(WTF::String name, WTF::String value)
418     RemoveCustomHeader(WTF::String name)
419     ClearCustomHeaders()
420 #endif
421 #if ENABLE(TIZEN_MOBILE_WEB_PRINT)
422     CreatePagesToPDF(WebCore::IntSize surfaceSize, WebCore::IntSize contentsSize, WTF::String fileName)
423 #endif
424
425 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
426     WidgetMapped(int64_t id)
427 #endif
428
429 #if ENABLE(TIZEN_NATIVE_MEMORY_SNAPSHOT)
430     DumpMemorySnapshot()
431 #endif
432 #if ENABLE(TIZEN_MULTIPLE_SELECT)
433     DidChangeSelectedIndexForActivePopupMenuMultiple(Vector<int32_t> newIndex);
434 #endif
435
436 #if ENABLE(TIZEN_LINK_MAGNIFIER)
437     GetLinkMagnifierRect(WebCore::IntPoint position, WebCore::IntSize size)
438 #endif
439
440 #if ENABLE(TIZEN_SCREEN_READER)
441     MoveScreenReaderFocus(bool forward) -> (bool result)
442     MoveScreenReaderFocusByPoint(WebCore::IntPoint point)
443     ClearScreenReaderFocus()
444     RaiseTapEvent(WebCore::IntPoint position, WebCore::IntPoint globalPosition) -> (bool result)
445     AdjustScreenReaderFocusedObjectValue(bool up)
446     RecalcScreenReaderFocusRect()
447     ClearScreenReader()
448 #endif
449
450 #if ENABLE(TIZEN_CSP)
451     SetContentSecurityPolicy(WTF::String policy, uint32_t headerType)
452 #endif
453
454 #if ENABLE(TIZEN_USE_SETTINGS_FONT)
455     UseSettingsFont()
456 #endif
457 }