*/
virtual void RegisterUserMediaPermissionRequestCallback(WebEngineUserMediaPermissionRequestCallback callback) = 0;
+ /**
+ * @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.
+ */
+ virtual void FeedMouseWheel(bool yDirection, int step, int x, int y) = 0;
+
};
// specialization has to be done in the same namespace
GetImplementation(*this).RegisterUserMediaPermissionRequestCallback(callback);
}
+void WebEngine::FeedMouseWheel(bool yDirection, int step, int x, int y)
+{
+ GetImplementation(*this).FeedMouseWheel(yDirection, step, x, y);
+}
+
} // namespace Dali
*/
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);
private: // Not intended for application developers
/**
mPlugin->RegisterUserMediaPermissionRequestCallback(callback);
}
+void WebEngine::FeedMouseWheel(bool yDirection, int step, int x, int y)
+{
+ mPlugin->FeedMouseWheel(yDirection, step, x, y);
+}
} // namespace Adaptor
} // namespace Internal
*/
void RegisterUserMediaPermissionRequestCallback(Dali::WebEnginePlugin::WebEngineUserMediaPermissionRequestCallback callback);
+ /**
+ * @copydoc Dali::WebEngine::FeedMouseWheel()
+ */
+ void FeedMouseWheel(bool yDirection, int step, int x, int y);
+
private:
/**
* @brief Constructor with WebEngine type (0: Chromium, 1: LWE, otherwise: depend on system environment).