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