X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FWebKit2%2FUIProcess%2Fefl%2FWebPageProxyEfl.cpp;h=d3d538a4303b2b9a8ea9d744feca1f27f77a3315;hb=b8bed2469cb69146c1b048442418e82b9214f8bc;hp=32bd9f14d30b7989f057cb5935965fea114a399b;hpb=d8803adf21c9f41f0388e6ecadae10472a012395;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp index 32bd9f1..d3d538a 100755 --- a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp +++ b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp @@ -885,23 +885,23 @@ bool WebPageProxy::selectClosestWord(const IntPoint& point) return result; } -bool WebPageProxy::setLeftSelection(const IntPoint& point) +int WebPageProxy::setLeftSelection(const IntPoint& point, const int direction) { if (!isValid()) - return false; + return 0; - bool result = false; - process()->sendSync(Messages::WebPage::SetLeftSelection(point), Messages::WebPage::SetLeftSelection::Reply(result), m_pageID); + int result = 0; + process()->sendSync(Messages::WebPage::SetLeftSelection(point, direction), Messages::WebPage::SetLeftSelection::Reply(result), m_pageID); return result; } -bool WebPageProxy::setRightSelection(const IntPoint& point) +int WebPageProxy::setRightSelection(const IntPoint& point, const int direction) { if (!isValid()) - return false; + return 0; - bool result; - process()->sendSync(Messages::WebPage::SetRightSelection(point), Messages::WebPage::SetRightSelection::Reply(result), m_pageID); + int result = 0; + process()->sendSync(Messages::WebPage::SetRightSelection(point, direction), Messages::WebPage::SetRightSelection::Reply(result), m_pageID); return result; }