Fixed when user tap on linkable contents, somtimes focus ring is not shown.
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / WebPageProxy.h
index 1a85048..28e8fed 100755 (executable)
@@ -312,6 +312,10 @@ public:
 
     WebBackForwardList* backForwardList() const { return m_backForwardList.get(); }
 
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+    bool isContentSuspendedByInspector() { return m_contentSuspendedByInspector; }
+#endif
+
 #if ENABLE(INSPECTOR)
     WebInspectorProxy* inspector();
 #endif
@@ -515,8 +519,12 @@ public:
 #endif
 
 #if ENABLE(TIZEN_WEBKIT2_HIT_TEST)
+#if ENABLE(TOUCH_ADJUSTMENT)
+    WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault, const WebCore::IntSize& area = WebCore::IntSize());
+#else
     WebHitTestResult::Data hitTestResultAtPoint(const WebCore::IntPoint&, int hitTestMode = WebHitTestResult::HitTestModeDefault);
 #endif
+#endif
 #if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
     void hideContextMenu();
     String contextMenuAbsoluteLinkURLString();
@@ -551,19 +559,23 @@ public:
 #endif
 
     void suspendPainting();
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
-    void suspendPaintingOfInactiveView();
-#endif
     void resumePainting();
 
     void suspendJavaScriptAndResource();
     void resumeJavaScriptAndResource();
 
+    void suspendAnimations();
+    void resumeAnimations();
+
 #if ENABLE(TIZEN_PLUGIN_SUSPEND_RESUME)
     void suspendPlugin();
     void resumePlugin();
 #endif
 
+#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
+    void purgeBackingStoresOfInactiveView();
+#endif
+
 #endif // #if OS(TIZEN)
 
 #if USE(TILED_BACKING_STORE)
@@ -946,7 +958,7 @@ public:
 #endif
 
 #if ENABLE(TIZEN_ISF_PORT)
-    void setInputMethodState(bool active);
+    void prepareKeyDownEvent();
     int getCursorOffset();
     void getSurroundingTextAndCursorOffset(String&, int&);
     WebCore::IntRect getSelectionRect(bool);
@@ -965,11 +977,6 @@ public:
     void didRenderFrame();
 #endif
 
-#if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
-    void getTextStyleStateForSelection();
-    void didGetTextStyleStateForSelection(int underlineState, int italicState, int boldState);
-#endif
-
 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
     void widgetMapped(uint64_t nativeWindowId);
 #endif
@@ -999,13 +1006,14 @@ public:
 #endif
 
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
-    bool selectClosestWord(const WebCore::IntPoint&, bool isStartedTextSelectionFromOutside);
-    bool setLeftSelection(const WebCore::IntPoint&);
-    bool setRightSelection(const WebCore::IntPoint&);
+    bool selectClosestWord(const WebCore::IntPoint&);
+    int setLeftSelection(const WebCore::IntPoint&, const int direction);
+    int setRightSelection(const WebCore::IntPoint&, const int direction);
     bool getSelectionHandlers(WebCore::IntRect& leftRect, WebCore::IntRect& rightRect);
     String getSelectionText();
     bool selectionRangeClear();
     bool scrollContentByCharacter(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
+    bool scrollContentByLine(const WebCore::IntPoint&, WebCore::SelectionDirection direction);
 #endif
 
 #if ENABLE(TIZEN_LINK_MAGNIFIER)
@@ -1014,9 +1022,11 @@ public:
 #endif
 
 #if ENABLE(TIZEN_SCREEN_READER)
-    void raiseTapEvent(const WebCore::IntPoint&);
     bool moveScreenReaderFocus(bool);
     void moveScreenReaderFocusByPoint(const WebCore::IntPoint&);
+    void clearScreenReaderFocus();
+    bool raiseTapEvent(const WebCore::IntPoint&);
+    void adjustScreenReaderFocusedObjectValue(bool);
     void recalcScreenReaderFocusRect();
     void clearScreenReader();
 
@@ -1419,6 +1429,10 @@ private:
     void exceededLocalFileSystemQuota(uint64_t frameID, const String& originIdentifier, int64_t currentUsage, PassRefPtr<Messages::WebPageProxy::ExceededLocalFileSystemQuota::DelayedReply> reply);
 #endif
 
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+    void setContentSuspendedByInspector(bool);
+#endif
+
     PageClient* m_pageClient;
     WebLoaderClient m_loaderClient;
     WebPolicyClient m_policyClient;
@@ -1610,6 +1624,10 @@ private:
     WebCore::DragSession m_currentDragSession;
 #endif
 
+#if ENABLE(TIZEN_WEBKIT2_NOTIFY_SUSPEND_BY_REMOTE_WEB_INSPECTOR)
+    bool m_contentSuspendedByInspector;
+#endif
+
     String m_pendingAPIRequestURL;
 
     bool m_mainFrameHasHorizontalScrollbar;