[Tizen] Revert "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in... 47/317347/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 9 Sep 2024 07:33:44 +0000 (16:33 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 9 Sep 2024 07:33:50 +0000 (16:33 +0900)
This reverts commit 6fbf15cf817ea76c19c2024739a112059b148da2.

- chromium web engine update is required
- fix gbs build error : dali-extension/web-engine-chromium/tizen-web-engine-chromium.cpp:867:3: error: 'ewk_view_webauthn_cancel' was not declared in this scope
[  285s]   867 |   ewk_view_webauthn_cancel(mWebView);
[  285s]       |   ^~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Id2c7a8a59a70cc90376f844fe2dd4e4997601410

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 639b1c8..422acfd 100755 (executable)
@@ -444,21 +444,6 @@ void WebView::GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceive
   Dali::Toolkit::GetImpl(*this).GetPlainTextAsynchronously(callback);
 }
 
-void WebView::WebAuthenticationCancel()
-{
-  Dali::Toolkit::GetImpl(*this).WebAuthenticationCancel();
-}
-
-void WebView::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
-{
-  Dali::Toolkit::GetImpl(*this).RegisterWebAuthDisplayQRCallback(callback);
-}
-
-void WebView::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
-{
-  Dali::Toolkit::GetImpl(*this).RegisterWebAuthResponseCallback(callback);
-}
-
 WebView::WebView(Internal::WebView& implementation)
 : Control(implementation)
 {
index e7be860..7585bab 100755 (executable)
@@ -796,25 +796,6 @@ public:
    */
   void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
 
-  /**
-   * @brief Cancel WebAuthentication(cancel in progress passkey operation).
-   */
-  void WebAuthenticationCancel();
-
-  /**
-   * @brief Register WebAuthDisplayQR callback.
-   *
-   * @param[in] callback The callback informs browser app to display QR code popup for passkey scenario.
-   */
-  void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
-
-  /**
-   * @brief Register WebAuthResponse callback.
-   *
-   * @param[in] callback The callback informs browser app that the passkey registration and authentication has been successful and app can close QR popup.
-   */
-  void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
-
 public: // Not intended for application developers
   /// @cond internal
   /**
index 649761c..d2902e7 100755 (executable)
@@ -828,30 +828,6 @@ void WebView::GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceive
   }
 }
 
-void WebView::WebAuthenticationCancel()
-{
-  if(mWebEngine)
-  {
-    mWebEngine.WebAuthenticationCancel();
-  }
-}
-
-void WebView::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
-{
-  if(mWebEngine)
-  {
-    mWebEngine.RegisterWebAuthDisplayQRCallback(std::move(callback));
-  }
-}
-
-void WebView::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
-{
-  if(mWebEngine)
-  {
-    mWebEngine.RegisterWebAuthResponseCallback(std::move(callback));
-  }
-}
-
 void WebView::OnFrameRendered()
 {
   if(mFrameRenderedCallback)
index 3acd431..94e3f37 100755 (executable)
@@ -443,21 +443,6 @@ public:
    */
   void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
 
-  /**
-   * @copydoc Dali::Toolkit::WebView::WebAuthenticationCancel()
-   */
-  void WebAuthenticationCancel();
-
-  /**
-   * @copydoc Dali::Toolkit::WebView::RegisterWebAuthDisplayQRCallback()
-   */
-  void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
-
-  /**
-   * @copydoc Dali::Toolkit::WebView::RegisterWebAuthResponseCallback()
-   */
-  void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
-
 public: // Properties
   /**
    * @brief Called when a property of an object of this type is set.