X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fweb-engine%2Fweb-engine.cpp;h=9cb82e21430b692441909f344a261cc2777d932e;hb=4387b0de650b6f0fd8b1b7c44b71841ca628d977;hp=4176021a36e7c97cce8377d39a2dd16ba0acb5df;hpb=2deacbb07e611ae66d79424d45962098661dd901;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp b/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp index 4176021..9cb82e2 100755 --- a/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp +++ b/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp @@ -57,20 +57,24 @@ WebEngine WebEngine::New() return WebEngine(engine.Get()); } -WebEngine::WebEngine(const WebEngine& webEngine) -: BaseHandle(webEngine) +Dali::WebEngineContext* WebEngine::GetContext() { + return Internal::Adaptor::WebEngine::GetContext(); } -WebEngine& WebEngine::operator=(const WebEngine& webEngine) +Dali::WebEngineCookieManager* WebEngine::GetCookieManager() { - if(*this != webEngine) - { - BaseHandle::operator=(webEngine); - } - return *this; + return Internal::Adaptor::WebEngine::GetCookieManager(); } +WebEngine::WebEngine(const WebEngine& webEngine) = default; + +WebEngine& WebEngine::operator=(const WebEngine& webEngine) = default; + +WebEngine::WebEngine(WebEngine&& webEngine) = default; + +WebEngine& WebEngine::operator=(WebEngine&& webEngine) = default; + WebEngine WebEngine::DownCast(BaseHandle handle) { return WebEngine(dynamic_cast(handle.GetObjectPtr())); @@ -91,6 +95,11 @@ void WebEngine::Destroy() GetImplementation(*this).Destroy(); } +Dali::WebEnginePlugin* WebEngine::GetPlugin() const +{ + return GetImplementation(*this).GetPlugin(); +} + NativeImageSourcePtr WebEngine::GetNativeImageSource() { return GetImplementation(*this).GetNativeImageSource(); @@ -101,16 +110,6 @@ Dali::WebEngineSettings& WebEngine::GetSettings() const return GetImplementation(*this).GetSettings(); } -Dali::WebEngineContext& WebEngine::GetContext() const -{ - return GetImplementation(*this).GetContext(); -} - -Dali::WebEngineCookieManager& WebEngine::GetCookieManager() const -{ - return GetImplementation(*this).GetCookieManager(); -} - Dali::WebEngineBackForwardList& WebEngine::GetBackForwardList() const { return GetImplementation(*this).GetBackForwardList();