Implement Focus UI
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.messages.in
index 4b376c3..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)
@@ -341,6 +349,7 @@ messages -> WebPage {
     GetCaretPosition() -> (WebCore::IntRect rect)
 #endif
 #if ENABLE(TIZEN_ISF_PORT)
+    PrepareKeyDownEvent()
     GetCursorOffset() -> (int offset)
     GetSurroundingTextAndCursorOffset() -> (String text, int offset)
     GetSelectionRect(bool isOnlyEditable) -> (WebCore::IntRect rect)
@@ -374,13 +383,14 @@ messages -> WebPage {
 #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)
@@ -398,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
@@ -417,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
@@ -437,9 +443,11 @@ messages -> WebPage {
 #endif
 
 #if ENABLE(TIZEN_SCREEN_READER)
-    RaiseTapEvent(WebCore::IntPoint position, WebCore::IntPoint globalPosition)
     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
@@ -447,4 +455,12 @@ messages -> WebPage {
 #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
 }