[Tizen] Revert "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey" 46/317346/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 9 Sep 2024 07:29:33 +0000 (16:29 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 9 Sep 2024 07:32:28 +0000 (16:32 +0900)
- 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]       |   ^~~~~~~~~~~~~~~~~~~~~~~~

This reverts commit 802bbd0ac9d219f3c2a21a9979f1e90808457447.

Change-Id: I0a769cbd90a29922c5847eae0cddfeb26f793f2b

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 5c8094891034df69b7f95de1492dace429f41cf6..7b344199632cab46ef2888018f1309506a1b44b6 100755 (executable)
@@ -200,16 +200,6 @@ public:
    */
   using PlainTextReceivedCallback = std::function<void(const std::string&)>;
 
-  /**
-   * @brief WebView callback informs browser app to display QB code popup for passkey scenario.
-   */
-  using WebEngineWebAuthDisplayQRCallback = std::function<void(const std::string&)>;
-
-  /**
-   * @brief WebView callback informs browser app that the passkey registration and authentication has been successful and app can close QR popup.
-   */
-  using WebEngineWebAuthResponseCallback = std::function<void(void)>;
-
   /**
    * @brief Enumeration for the scroll edge.
    */
@@ -949,26 +939,6 @@ public:
    * @param[in] callback The callback function called asynchronously.
    */
   virtual void GetPlainTextAsynchronously(PlainTextReceivedCallback callback) = 0;
-
-  /**
-   * @brief Cancel WebAuthentication(cancel in progress passkey operation).
-   */
-  virtual void WebAuthenticationCancel() = 0;
-
-  /**
-   * @brief Register WebAuthDisplayQR callback.
-   *
-   * @param[in] callback The callback informs browser app to display QR code popup for passkey scenario.
-   */
-  virtual void RegisterWebAuthDisplayQRCallback(WebEngineWebAuthDisplayQRCallback callback) = 0;
-
-  /**
-   * @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.
-   */
-  virtual void RegisterWebAuthResponseCallback(WebEngineWebAuthResponseCallback callback) = 0;
-
 };
 
 // specialization has to be done in the same namespace
index 6a7e5c350a2b34943157403acc73025f2bc50709..4d8fb89299165588452c18f7f7c5f42508d26b76 100755 (executable)
@@ -600,19 +600,4 @@ void WebEngine::GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextRecei
   GetImplementation(*this).GetPlainTextAsynchronously(callback);
 }
 
-void WebEngine::WebAuthenticationCancel()
-{
-  GetImplementation(*this).WebAuthenticationCancel();
-}
-
-void WebEngine::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
-{
-  GetImplementation(*this).RegisterWebAuthDisplayQRCallback(callback);
-}
-
-void WebEngine::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
-{
-  GetImplementation(*this).RegisterWebAuthResponseCallback(callback);
-}
-
 } // namespace Dali
index aa96f3c21c195f1c66a8df58841a7ccaeedbe0df..bb62795db8142a3b8217ae0db6e013595aa2f6fd 100755 (executable)
@@ -825,27 +825,6 @@ public:
    */
   void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
 
-  /**
-   * @brief Cancel WebAuthentication(cancel in progress passkey operation).
-   */
-  void WebAuthenticationCancel();
-
-  /**
-   * @brief Get a plain text of current web page asynchronously.
-   *
-   * @param[in] callback The callback function called asynchronously.
-
-   */
-  void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
-
-  /**
-   * @brief Get a plain text of current web page asynchronously.
-   *
-   * @param[in] callback The callback function called asynchronously.
-
-   */
-  void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
-
 private: // Not intended for application developers
   /**
    * @brief Internal constructor
index 033aa7642d1ccd008f976d17022e83b6202772b4..2b557f1fae541561c6410c223665f4efa091e835 100644 (file)
@@ -810,21 +810,6 @@ void WebEngine::GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextRecei
   mPlugin->GetPlainTextAsynchronously(callback);
 }
 
-void WebEngine::WebAuthenticationCancel()
-{
-  mPlugin->WebAuthenticationCancel();
-}
-
-void WebEngine::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
-{
-  mPlugin->RegisterWebAuthDisplayQRCallback(callback);
-}
-
-void WebEngine::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
-{
-  mPlugin->RegisterWebAuthResponseCallback(callback);
-}
-
 } // namespace Adaptor
 } // namespace Internal
 } // namespace Dali
index d8afbceb1f5909b88cf83400ddde4003b0d1aebd..e356133174d2f093985c69c4d4451ffbbfb53e8d 100755 (executable)
@@ -587,21 +587,6 @@ public:
    */
   void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
 
-  /**
-   * @copydoc Dali::WebEngine::WebAuthenticationCancel()
-   */
-  void WebAuthenticationCancel();
-
-  /**
-   * @copydoc Dali::WebEngine::RegisterWebAuthDisplayQRCallback()
-   */
-  void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
-
-  /**
-   * @copydoc Dali::WebEngine::RegisterWebAuthResponseCallback()
-   */
-  void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
-
 private:
   /**
    * @brief Constructor.