Adjusted magnifier position properly in case that touched position is outside of...
authorYuni Jeong <yhnet.jung@samsung.com>
Wed, 5 Jun 2013 08:04:43 +0000 (17:04 +0900)
committerYuni Jeong <yhnet.jung@samsung.com>
Wed, 5 Jun 2013 08:25:49 +0000 (17:25 +0900)
commit5e6c1259107d7c87968f114ac33a41abc49595ea
tree4dd8ac58174f138012e9218412ed9092a8df7f88
parent5bab5b82a2bec3f4ac2c29cd72d2002eefbbf3e8
Adjusted magnifier position properly in case that touched position is outside of the editor box.

[Title] Adjusted magnifier position properly in case that touched position is outside of the editor box.
[Issue#] N_SE-40154, N_SE-38039
[Problem] When touched position is outside of the editor box,
          magnifier is displayed in the center of the editor box.
[Cause] Magnifier position is set to the center of the editor box
        in case that touched position is outside of the editor box.
[Solution] Adjusted magnifier position properly like below:
            - If Y of the touched position < Y of the editor box, set to Y of the editor box.
            - If Y of the touched position > maxY of the editor box, set to maxY of the editor box.

Change-Id: I33059e7971915f56192bc00727ec10dfe8e2a0c6
Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.h
Source/WebKit2/WebProcess/WebPage/WebPage.messages.in
Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp