Revert "[Tizen] Add a WebView API for notifying orientation change."
authordongsug.song <dongsug.song@samsung.com>
Wed, 31 Jul 2024 00:25:21 +0000 (09:25 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 31 Jul 2024 00:25:21 +0000 (09:25 +0900)
This reverts commit 99bb87d409266cc0d08b1b224d1efb7f57dd1499.

dali-toolkit/devel-api/controls/web-view/web-view.cpp
dali-toolkit/devel-api/controls/web-view/web-view.h
dali-toolkit/internal/controls/web-view/web-view-impl.cpp
dali-toolkit/internal/controls/web-view/web-view-impl.h

index 422acfd..3b0f3b6 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.
@@ -84,11 +84,6 @@ WebView WebView::DownCast(BaseHandle handle)
   return Control::DownCast<WebView, Internal::WebView>(handle);
 }
 
-void WebView::ChangeOrientation(int orientation)
-{
-  return Dali::Toolkit::GetImpl(*this).ChangeOrientation(orientation);
-}
-
 Dali::Toolkit::WebSettings* WebView::GetSettings() const
 {
   return Dali::Toolkit::GetImpl(*this).GetSettings();
index 7585bab..42b78bc 100755 (executable)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_WEB_VIEW_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.
@@ -270,11 +270,6 @@ public:
   static WebView DownCast(BaseHandle handle);
 
   /**
-   * @brief Change orientation.
-   */
-  void ChangeOrientation(int orientation);
-
-  /**
    * @brief Get WebSettings of WebEngine.
    */
   Dali::Toolkit::WebSettings* GetSettings() const;
index 03d852b..a202de3 100644 (file)
@@ -340,14 +340,6 @@ void WebView::OnRelayout(const Vector2& size, RelayoutContainer& container)
   SetDisplayArea(displayArea);
 }
 
-void WebView::ChangeOrientation(int orientation)
-{
-  if(mWebEngine)
-  {
-    mWebEngine.ChangeOrientation(orientation);
-  }
-}
-
 Dali::Toolkit::WebSettings* WebView::GetSettings() const
 {
   return mWebSettings.get();
index 156c723..aded781 100644 (file)
@@ -88,11 +88,6 @@ public:
   static Dali::WebEngineCookieManager* GetCookieManager();
 
   /**
-   * @copydoc Dali::Toolkit::WebView::ChangeOrientation()
-   */
-  void ChangeOrientation(int orientation);
-
-  /**
    * @copydoc Dali::Toolkit::WebView::GetSettings()
    */
   Dali::Toolkit::WebSettings* GetSettings() const;