Ewk_Mouse_Button_Type button,
int x,
int y) {
- LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+ EWK_VIEW_IMPL_GET_OR_RETURN(view, impl);
+ LOG(INFO) << "ewk_view_feed_mouse_down";
+ impl->SendMouseDown(button, x, y);
}
void ewk_view_feed_mouse_up(Evas_Object* view,
Ewk_Mouse_Button_Type button,
int x,
int y) {
- LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+ EWK_VIEW_IMPL_GET_OR_RETURN(view, impl);
+ impl->SendMouseUp(button, x, y);
}
void ewk_view_feed_mouse_move(Evas_Object* view, int x, int y) {
- LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+ EWK_VIEW_IMPL_GET_OR_RETURN(view, impl);
+ impl->SendMouseMove(x, y);
}
void ewk_view_feed_mouse_wheel(Evas_Object* view,
int step,
int x,
int y) {
- LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+ EWK_VIEW_IMPL_GET_OR_RETURN(view, impl);
+ impl->SendMouseWheel(!!y_direction, step, x, y);
}
+void ewk_view_feed_mouse_out(Evas_Object* view) {
+ EWK_VIEW_IMPL_GET_OR_RETURN(view, impl);
+ impl->SendMouseOut();
+}
void ewk_view_auto_login(Evas_Object *view, const char* user_name, const char* password)
{
LOG_EWK_API_MOCKUP("This API is not supported.");