Revert "[Tizen] Add a WebView API for notifying orientation change."
authorWoochan Lee <wc0917.lee@samsung.com>
Wed, 7 Aug 2024 05:08:36 +0000 (14:08 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Wed, 7 Aug 2024 05:08:36 +0000 (14:08 +0900)
This reverts commit 8b320f3cfe0dc8cf34ae553dd09a8b8bfb06f6df.

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 7b34419..6d900cb 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.
@@ -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
index 4d8fb89..7f07ca0 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 bb62795..f8e3298 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.
@@ -151,11 +151,6 @@ public:
   NativeImageSourcePtr GetNativeImageSource();
 
   /**
-   * @brief Change orientation.
-   */
-  void ChangeOrientation(int orientation);
-
-  /**
    * @brief Get settings of WebEngine.
    */
   Dali::WebEngineSettings& GetSettings() const;
index 2b557f1..71b69ea 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 e356133..b3ef060 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.
@@ -93,11 +93,6 @@ public:
   Dali::NativeImageSourcePtr GetNativeImageSource();
 
   /**
-   * @copydoc Dali::WebEngine::ChangeOrientation()
-   */
-  void ChangeOrientation(int orientation);
-
-  /**
    * @copydoc Dali::WebEngine::GetSettings()
    */
   Dali::WebEngineSettings& GetSettings() const;