X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fweb-engine%2Fcommon%2Fweb-engine-impl.cpp;h=d3718efaf8740bdef82a9fb7d73dc648e6022609;hb=dccb5d402b072bcd9d76fc2c073b53abe72275a6;hp=e467bb4081db3cf99ac6103f4e4761fe40414822;hpb=aae7fc2e82002f618e53db160e467b42a7994b2e;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/web-engine/common/web-engine-impl.cpp b/dali/internal/web-engine/common/web-engine-impl.cpp old mode 100644 new mode 100755 index e467bb4..d3718ef --- a/dali/internal/web-engine/common/web-engine-impl.cpp +++ b/dali/internal/web-engine/common/web-engine-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -213,6 +213,31 @@ void WebEngine::Resume() mPlugin->Resume(); } +void WebEngine::ScrollBy( int deltaX, int deltaY ) +{ + mPlugin->ScrollBy( deltaX, deltaY ); +} + +void WebEngine::SetScrollPosition( int x, int y ) +{ + mPlugin->SetScrollPosition( x, y ); +} + +void WebEngine::GetScrollPosition( int& x, int& y ) const +{ + mPlugin->GetScrollPosition( x, y ); +} + +void WebEngine::GetScrollSize( int& width, int& height ) const +{ + mPlugin->GetScrollSize( width, height ); +} + +void WebEngine::GetContentSize( int& width, int& height ) const +{ + mPlugin->GetContentSize( width, height ); +} + bool WebEngine::CanGoForward() { return mPlugin->CanGoForward(); @@ -333,7 +358,7 @@ void WebEngine::SetSize( int width, int height ) mPlugin->SetSize( width, height ); } -bool WebEngine::SendTouchEvent( const Dali::TouchData& touch ) +bool WebEngine::SendTouchEvent( const Dali::TouchEvent& touch ) { return mPlugin->SendTouchEvent( touch ); } @@ -343,6 +368,11 @@ bool WebEngine::SendKeyEvent( const Dali::KeyEvent& event ) return mPlugin->SendKeyEvent( event ); } +void WebEngine::SetFocus( bool focused ) +{ + mPlugin->SetFocus( focused ); +} + Dali::WebEnginePlugin::WebEnginePageLoadSignalType& WebEngine::PageLoadStartedSignal() { return mPlugin->PageLoadStartedSignal(); @@ -358,7 +388,13 @@ Dali::WebEnginePlugin::WebEnginePageLoadErrorSignalType& WebEngine::PageLoadErro return mPlugin->PageLoadErrorSignal(); } +Dali::WebEnginePlugin::WebEngineScrollEdgeReachedSignalType& WebEngine::ScrollEdgeReachedSignal() +{ + return mPlugin->ScrollEdgeReachedSignal(); +} + } // namespace Adaptor; } // namespace Internal; } // namespace Dali; +