Implement Focus UI
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.messages.in
index a93611f..11b2b47 100755 (executable)
@@ -71,10 +71,18 @@ messages -> WebPage {
     RequestUpdateFormNavigation()
     MoveFocus(int newIndex)
 #if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
+#if ENABLE(TOUCH_ADJUSTMENT)
+    HitTestResultAtPoint(WebCore::IntPoint point, int hitTestMode, WebCore::IntSize area) -> (WebKit::WebHitTestResult::Data hitTestResultData)
+#endif
+#if !ENABLE(TOUCH_ADJUSTMENT)
     HitTestResultAtPoint(WebCore::IntPoint point, int hitTestMode) -> (WebKit::WebHitTestResult::Data hitTestResultData)
 #endif
+#endif
     SuspendJavaScriptAndResources()
     ResumeJavaScriptAndResources()
+
+    SuspendAnimations()
+    ResumeAnimations()
 #endif
 
 #if ENABLE(TIZEN_WEB_STORAGE)
@@ -122,6 +130,9 @@ messages -> WebPage {
 
     # Callbacks.
     GetContentsAsString(uint64_t callbackID)
+#if ENABLE(MHTML)
+    GetContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding)
+#endif
     GetMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
     GetResourceDataFromFrame(uint64_t frameID, WTF::String resourceURL, uint64_t callbackID)
     GetRenderTreeExternalRepresentation(uint64_t callbackID)
@@ -180,6 +191,9 @@ messages -> WebPage {
 
     # Find.
     FindString(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
+    FindStringMatches(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
+    GetImageForFindMatch(uint32_t matchIndex)
+    SelectFindMatch(uint32_t matchIndex)
     HideFindUI()
     CountStringMatches(WTF::String string, uint32_t findOptions, unsigned maxMatchCount)
 
@@ -262,6 +276,7 @@ messages -> WebPage {
 #if ENABLE(TIZEN_SUPPORT_WEBAPP_META_TAG)
     GetWebAppCapable(uint64_t callbackID)
     GetWebAppIconURL(uint64_t callbackID)
+    GetWebAppIconURLs(uint64_t callbackID)
 #endif
 
     # Media
@@ -329,18 +344,22 @@ messages -> WebPage {
     GestureDidEnd()
 #endif
 #if PLATFORM(EFL) && OS(TIZEN)
-    ConfirmComposition(WTF::String compositionString)
-    SetComposition(WTF::String compositionString, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
 #if ENABLE(TIZEN_TEXT_CARET_HANDLING_WK2)
     SetCaretPosition(WebCore::IntPoint pos)
     GetCaretPosition() -> (WebCore::IntRect rect)
 #endif
 #if ENABLE(TIZEN_ISF_PORT)
-    GetCursorOffsetPosition() -> (int offset)
-    GetContentOfPosition() -> (String offset)
-    DeleteSurroundingPosition() -> (bool result);
+    PrepareKeyDownEvent()
+    GetCursorOffset() -> (int offset)
+    GetSurroundingTextAndCursorOffset() -> (String text, int offset)
     GetSelectionRect(bool isOnlyEditable) -> (WebCore::IntRect rect)
+    DeleteSurroundingText(int offset, int count)
+#endif
 #endif
+#if PLATFORM(EFL)
+    ConfirmComposition(WTF::String compositionString)
+    SetComposition(WTF::String compositionString, WTF::Vector<WebCore::CompositionUnderline> underlines, uint64_t cursorPosition)
+    CancelComposition()
 #endif
 #if PLATFORM(QT) || OS(TIZEN)
     FindZoomableAreaForPoint(WebCore::IntPoint point, WebCore::IntSize area)
@@ -354,7 +373,7 @@ messages -> WebPage {
     SetVisibilityState(int visibilityState, bool isInitialState);
 #endif
 
-#if ENABLE(TIZEN_INPUT_TAG_EXTENSION)
+#if ENABLE(TIZEN_INPUT_TAG_EXTENSION) || ENABLE(TIZEN_WEBKIT2_FORM_DATABASE)
     SetFocusedInputElementValue(WTF::String inputValue)
     GetFocusedInputElementValue() -> (String inputValue)
 #endif
@@ -363,18 +382,21 @@ messages -> WebPage {
     GetFocusedInputElementDataList() -> (Vector<WTF::String> options)
 #endif
 
-#if ENABLE(TIZEN_RECORDING_SURFACE_SET)
-    RecordingSurfaceSetEnableSet(bool enable)
-#endif
-
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
-    SelectClosestWord(WebCore::IntPoint point, bool isStartedTextSelectionFromOutside) -> (bool result)
-    SetLeftSelection(WebCore::IntPoint point) -> (bool result)
-    SetRightSelection(WebCore::IntPoint point) -> (bool result)
+    SelectClosestWord(WebCore::IntPoint point) -> (bool result)
+    SetLeftSelection(WebCore::IntPoint point, int direction) -> (int result)
+    SetRightSelection(WebCore::IntPoint point, int direction) -> (int result)
     GetSelectionHandlers() -> (WebCore::IntRect leftRect, WebCore::IntRect rightRect)
     GetSelectionText() -> (String result)
     SelectionRangeClear() -> (bool result)
+    ScrollContentByCharacter(WebCore::IntPoint point, int direction) -> (bool result)
+    ScrollContentByLine(WebCore::IntPoint point, int direction) -> (bool result)
 #endif
+
+#if ENABLE(TIZEN_OFFLINE_PAGE_SAVE)
+    StartOfflinePageSave(WTF::String subresourceFolderName)
+#endif
+
 #if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_TEXT_SELECTION_MODE)
     SelectLink(WebCore::IntPoint positionForSelection) -> (bool result)
 #endif
@@ -386,7 +408,7 @@ messages -> WebPage {
     SuspendPlugin()
     ResumePlugin()
 #endif
-#if ENABLE(TIZEN_WEBKIT2_REMOTE_WEB_INSPECTOR)
+#if ENABLE(TIZEN_REMOTE_WEB_INSPECTOR)
     StartInspectorServer(uint32_t port) -> (uint32_t assignedPort)
     StopInspectorServer() -> (bool result)
 #endif
@@ -405,10 +427,6 @@ messages -> WebPage {
     CreatePagesToPDF(WebCore::IntSize surfaceSize, WebCore::IntSize contentsSize, WTF::String fileName)
 #endif
 
-#if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
-    GetTextStyleStateForSelection()
-#endif
-
 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
     WidgetMapped(int64_t id)
 #endif
@@ -420,4 +438,29 @@ messages -> WebPage {
     DidChangeSelectedIndexForActivePopupMenuMultiple(Vector<int32_t> newIndex);
 #endif
 
+#if ENABLE(TIZEN_LINK_MAGNIFIER)
+    GetLinkMagnifierRect(WebCore::IntPoint position, WebCore::IntSize size)
+#endif
+
+#if ENABLE(TIZEN_SCREEN_READER)
+    MoveScreenReaderFocus(bool forward) -> (bool result)
+    MoveScreenReaderFocusByPoint(WebCore::IntPoint point)
+    ClearScreenReaderFocus()
+    RaiseTapEvent(WebCore::IntPoint position, WebCore::IntPoint globalPosition) -> (bool result)
+    AdjustScreenReaderFocusedObjectValue(bool up)
+    RecalcScreenReaderFocusRect()
+    ClearScreenReader()
+#endif
+
+#if ENABLE(TIZEN_CSP)
+    SetContentSecurityPolicy(WTF::String policy, uint32_t headerType)
+#endif
+
+#if ENABLE(TIZEN_USE_SETTINGS_FONT)
+    UseSettingsFont()
+#endif
+
+#if ENABLE(TIZEN_FOCUS_UI)
+    SetSpatialNavigationEnabled(bool enabled)
+#endif
 }