Revert "[Tizen] Add a WebView API for notifying orientation change"
authoreverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Wed, 4 Sep 2024 05:20:11 +0000 (14:20 +0900)
committereverLEEst(SangHyeon Lee) <sh10233.lee@samsung.com>
Wed, 4 Sep 2024 05:21:06 +0000 (14:21 +0900)
This reverts commit 5f48220e9c334f8f27bfbe86b8dcb7d29902a232.

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 422acfd1d016ced2d26bffae543a7092e4d9bbd9..3b0f3b60653c9f435cefe3c48ae8fbfdaeb13918 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 7585bab85f65ed465518456665c165b717fc715a..42b78bce420fa3c74b22ff1d213d440572a47630 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.
@@ -269,11 +269,6 @@ public:
    */
   static WebView DownCast(BaseHandle handle);
 
-  /**
-   * @brief Change orientation.
-   */
-  void ChangeOrientation(int orientation);
-
   /**
    * @brief Get WebSettings of WebEngine.
    */
index 4c385e75e322cb532c4a955411957510f85baf93..13d70f73cad8d4531d61e9870080331ddf924bb5 100644 (file)
@@ -338,14 +338,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 0488471d4b08f8774fafc32b841043b8d992ef3c..25285f9d308d8e7a5f1823025960a115bcaac919 100644 (file)
@@ -87,11 +87,6 @@ public:
    */
   static Dali::WebEngineCookieManager* GetCookieManager();
 
-  /**
-   * @copydoc Dali::Toolkit::WebView::ChangeOrientation()
-   */
-  void ChangeOrientation(int orientation);
-
   /**
    * @copydoc Dali::Toolkit::WebView::GetSettings()
    */