Revert "[Tizen] Add a WebView API for notifying orientation change"
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 27 Aug 2024 06:33:14 +0000 (15:33 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 27 Aug 2024 06:33:14 +0000 (15:33 +0900)
This reverts commit f9e0e1e5ae421ce7f456c06ab992ff8c9004642a.

dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h
dali/devel-api/adaptor-framework/web-engine/web-engine.cpp
dali/devel-api/adaptor-framework/web-engine/web-engine.h
dali/internal/web-engine/common/web-engine-impl.cpp
dali/internal/web-engine/common/web-engine-impl.h

index 7b344199632cab46ef2888018f1309506a1b44b6..6d900cb599c72b79bb48eb9ceeaad074028bdbae 100755 (executable)
@@ -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.
@@ -298,11 +298,6 @@ public:
    */
   virtual NativeImageSourcePtr GetNativeImageSource() = 0;
 
-  /**
-   * @brief Change orientation.
-   */
-  virtual void ChangeOrientation(int orientation) = 0;
-
   /**
    * @brief Return the URL of the Web.
    *
index 4d8fb89299165588452c18f7f7c5f42508d26b76..7f07ca0a96623789f9c932dc8ecf8ba3c895fcaa 100755 (executable)
@@ -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();
index bb62795db8142a3b8217ae0db6e013595aa2f6fd..f8e3298c099fcac66fd6df10773954a059b40cc1 100755 (executable)
@@ -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.
@@ -150,11 +150,6 @@ public:
    */
   NativeImageSourcePtr GetNativeImageSource();
 
-  /**
-   * @brief Change orientation.
-   */
-  void ChangeOrientation(int orientation);
-
   /**
    * @brief Get settings of WebEngine.
    */
index 2b557f1fae541561c6410c223665f4efa091e835..71b69ea0f42cf0dcef0ae9e15b5702ac5d3c977a 100644 (file)
@@ -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();
index e356133174d2f093985c69c4d4451ffbbfb53e8d..b3ef0608bbb753c35e9b4317b5432cbf4cc28972 100755 (executable)
@@ -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.
@@ -92,11 +92,6 @@ public:
    */
   Dali::NativeImageSourcePtr GetNativeImageSource();
 
-  /**
-   * @copydoc Dali::WebEngine::ChangeOrientation()
-   */
-  void ChangeOrientation(int orientation);
-
   /**
    * @copydoc Dali::WebEngine::GetSettings()
    */