From: Jaehyun Cho Date: Tue, 27 Aug 2024 06:33:14 +0000 (+0900) Subject: Revert "[Tizen] Add a WebView API for notifying orientation change" X-Git-Tag: accepted/tizen/unified/20240912.084754~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a526148e487f5dc03ce9f296fbd27ab2af40039;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[Tizen] Add a WebView API for notifying orientation change" This reverts commit f9e0e1e5ae421ce7f456c06ab992ff8c9004642a. --- diff --git a/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h b/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h index 7b34419..6d900cb 100755 --- a/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h +++ b/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h @@ -2,7 +2,7 @@ #define DALI_WEB_ENGINE_PLUGIN_H /* - * Copyright (c) 2024 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -299,11 +299,6 @@ public: virtual NativeImageSourcePtr GetNativeImageSource() = 0; /** - * @brief Change orientation. - */ - virtual void ChangeOrientation(int orientation) = 0; - - /** * @brief Return the URL of the Web. * * @return Url of string type 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 4d8fb89..7f07ca0 100755 --- a/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp +++ b/dali/devel-api/adaptor-framework/web-engine/web-engine.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -105,11 +105,6 @@ NativeImageSourcePtr WebEngine::GetNativeImageSource() return GetImplementation(*this).GetNativeImageSource(); } -void WebEngine::ChangeOrientation(int orientation) -{ - return GetImplementation(*this).ChangeOrientation(orientation); -} - Dali::WebEngineSettings& WebEngine::GetSettings() const { return GetImplementation(*this).GetSettings(); diff --git a/dali/devel-api/adaptor-framework/web-engine/web-engine.h b/dali/devel-api/adaptor-framework/web-engine/web-engine.h index bb62795..f8e3298 100755 --- a/dali/devel-api/adaptor-framework/web-engine/web-engine.h +++ b/dali/devel-api/adaptor-framework/web-engine/web-engine.h @@ -2,7 +2,7 @@ #define DALI_WEB_ENGINE_H /* - * Copyright (c) 2024 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -151,11 +151,6 @@ public: NativeImageSourcePtr GetNativeImageSource(); /** - * @brief Change orientation. - */ - void ChangeOrientation(int orientation); - - /** * @brief Get settings of WebEngine. */ Dali::WebEngineSettings& GetSettings() const; diff --git a/dali/internal/web-engine/common/web-engine-impl.cpp b/dali/internal/web-engine/common/web-engine-impl.cpp index 2b557f1..71b69ea 100644 --- 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) 2024 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -315,11 +315,6 @@ Dali::NativeImageSourcePtr WebEngine::GetNativeImageSource() return mPlugin->GetNativeImageSource(); } -void WebEngine::ChangeOrientation(int orientation) -{ - return mPlugin->ChangeOrientation(orientation); -} - Dali::WebEngineSettings& WebEngine::GetSettings() const { return mPlugin->GetSettings(); diff --git a/dali/internal/web-engine/common/web-engine-impl.h b/dali/internal/web-engine/common/web-engine-impl.h index e356133..b3ef060 100755 --- a/dali/internal/web-engine/common/web-engine-impl.h +++ b/dali/internal/web-engine/common/web-engine-impl.h @@ -2,7 +2,7 @@ #define DALI_WEB_ENGINE_IMPL_H /* - * Copyright (c) 2024 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -93,11 +93,6 @@ public: Dali::NativeImageSourcePtr GetNativeImageSource(); /** - * @copydoc Dali::WebEngine::ChangeOrientation() - */ - void ChangeOrientation(int orientation); - - /** * @copydoc Dali::WebEngine::GetSettings() */ Dali::WebEngineSettings& GetSettings() const;