Dali::Toolkit::GetImpl(*this).RegisterUserMediaPermissionRequestCallback(callback);
}
+void WebView::FeedMouseWheel(bool yDirection, int step, int x, int y)
+{
+ Dali::Toolkit::GetImpl(*this).FeedMouseWheel(yDirection, step, x, y);
+}
+
WebView::WebView(Internal::WebView& implementation)
: Control(implementation)
*/
void RegisterUserMediaPermissionRequestCallback(Dali::WebEnginePlugin::WebEngineUserMediaPermissionRequestCallback callback);
+ /**
+ * @brief Feed mouse wheel event forcefully.
+ *
+ * @param[in] yDirection wheel event's y direction.
+ * @param[in] step step of wheel event.
+ * @param[in] x x value of wheel event.
+ * @param[in] y y value of wheel event.
+ */
+ void FeedMouseWheel(bool yDirection, int step, int x, int y);
+
+
public: // Not intended for application developers
/// @cond internal
/**
}
}
+void WebView::FeedMouseWheel(bool yDirection, int step, int x, int y)
+{
+ if(mWebEngine)
+ {
+ mWebEngine.FeedMouseWheel(yDirection, step, x, y);
+ }
+}
+
void WebView::OnFrameRendered()
{
if(mFrameRenderedCallback)
*/
void RegisterUserMediaPermissionRequestCallback(Dali::WebEnginePlugin::WebEngineUserMediaPermissionRequestCallback callback);
+ /**
+ * @copydoc Dali::Toolkit::WebView::FeedMouseWheel()
+ */
+ void FeedMouseWheel(bool yDirection, int step, int x, int y);
+
public: // Properties
/**
* @brief Called when a property of an object of this type is set.