- 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
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.
*/
enum class ScrollEdge
* @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
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
*/
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
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
*/
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.