Revert "[Tizen] Add APIs for setting IME position, cursor theme name."
authorSeungho Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2025 11:33:30 +0000 (20:33 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2025 11:33:30 +0000 (20:33 +0900)
This reverts commit 64bf216c020052b1d08eb773ec47b8ae7f65dfbd.

dali-toolkit/devel-api/controls/web-view/web-settings.cpp
dali-toolkit/devel-api/controls/web-view/web-settings.h
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 a4178e72fa56f60211f5bc3a9e53855936e6cc9d..385ecc6210d7f2464553edc3d6792f05554f9618 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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,15 +269,6 @@ bool WebSettings::IsExtraFeatureEnabled(const std::string& feature) const
   return mWebEngineSettings.IsExtraFeatureEnabled(feature);
 }
 
-void WebSettings::SetImeStyle(int style)
-{
-  mWebEngineSettings.SetImeStyle(style);
-}
-
-int WebSettings::GetImeStyle() const
-{
-  return mWebEngineSettings.GetImeStyle();
-}
 
 } // namespace Toolkit
 
index 1708a8ad0acbdb6ca41a07a16568d83ffc8155e8..de428338c6f7212148aab45bd7f06226e1e07665 100755 (executable)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_WEB_SETTINGS_H
 
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
@@ -407,25 +407,6 @@ public:
    */
   bool IsExtraFeatureEnabled(const std::string& feature) const;
 
-  /**
-   * @brief Sets the style of IME.
-   *
-   * @param[in] style @c IME_STYLE_FULL       full IME style
-   *                  @c IME_STYLE_FLOATING   floating IME style
-   *                  @c IME_STYLE_DYNAMIC    dynamic IME style
-   *
-   */
-  void SetImeStyle(int style);
-
-  /**
-   * @brief Gets the style of IME.
-   *
-   * @return @c IME_STYLE_FULL       full IME style
-   *         @c IME_STYLE_FLOATING   floating IME style
-   *         @c IME_STYLE_DYNAMIC    dynamic IME style
-   */
-  int GetImeStyle() const;
-
 private:
   Dali::WebEngineSettings& mWebEngineSettings;
 };
index 9446d65de52a395bfde302d96423954fc13ba2d3..05d5a7be7e3f511bb3881456ab6fb347ff37df33 100755 (executable)
@@ -189,16 +189,6 @@ bool WebView::StopInspectorServer()
   return Dali::Toolkit::GetImpl(*this).StopInspectorServer();
 }
 
-bool WebView::SetImePositionAndAlignment(Dali::Vector2 position, int alignment)
-{
-  return Dali::Toolkit::GetImpl(*this).SetImePositionAndAlignment(position, alignment);
-}
-
-void WebView::SetCursorThemeName(const std::string themeName)
-{
-  Dali::Toolkit::GetImpl(*this).SetCursorThemeName(themeName);
-}
-
 void WebView::ScrollBy(int32_t deltaX, int32_t deltaY)
 {
   Dali::Toolkit::GetImpl(*this).ScrollBy(deltaX, deltaY);
index d216539aad214f8799ed7d441ebb208ab8beea51..cacec2467177a10ff001e7c19050d59076c0a740 100755 (executable)
@@ -413,21 +413,6 @@ public:
    */
   bool StopInspectorServer();
 
-  /**
-   * @brief Set the style of IME.
-   * @param[in] position Position of IME.
-   * @param[in] alignment Alignment of IME.
-   *
-   * @return true if succeeded, false otherwise
-   */
-  bool SetImePositionAndAlignment(Dali::Vector2 position, int alignment);
-
-  /**
-   * @brief Set the theme name of cursor.
-   * @param[in] themeName The name of theme of cursor.
-   */
-  void SetCursorThemeName(const std::string themeName);
-
   /**
    * @brief Scroll web page of view by deltaX and deltaY.
    * @param[in] deltaX The delta x of scroll
index 9bef72c5acf8114aeb15a0adb7770c66fecb2466..a4f99a9c99d47731662afc2631304244df99c064 100644 (file)
@@ -503,19 +503,6 @@ bool WebView::StopInspectorServer()
   return mWebEngine ? mWebEngine.StopInspectorServer() : false;
 }
 
-bool WebView::SetImePositionAndAlignment(Dali::Vector2 position, int alignment)
-{
-  return mWebEngine ? mWebEngine.SetImePositionAndAlignment(position, alignment) : false;
-}
-
-void WebView::SetCursorThemeName(const std::string themeName)
-{
-  if(mWebEngine)
-  {
-    mWebEngine.SetCursorThemeName(themeName);
-  }
-}
-
 void WebView::ScrollBy(int32_t deltaX, int32_t deltaY)
 {
   if(mWebEngine)
index fce9dd2d44ae7fb2cd6e89c7f50f6d9ed4f996b0..21a4c766605ef02467430f2d7849b5fe68dcda9a 100644 (file)
@@ -187,21 +187,6 @@ public:
    */
   bool StopInspectorServer();
 
-  /**
-   * @brief Set the style of IME.
-   * @param[in] position Position of IME.
-   * @param[in] alignment Alignment of IME.
-   *
-   * @return true if succeeded, false otherwise
-   */
-  bool SetImePositionAndAlignment(Dali::Vector2 position, int alignment);
-
-  /**
-   * @brief Set the theme name of cursor.
-   * @param[in] themeName The name of theme of cursor.
-   */
-  void SetCursorThemeName(const std::string themeName);
-
   /**
    * @copydoc Dali::Toolkit::WebView::ScrollBy()
    */