LOG_EWK_API_MOCKUP();
}
-Eina_Bool ewk_view_set_support_video_hole(Evas_Object* ewkView, Evas_Object* window, Eina_Bool enable, Eina_Bool isVideoWindow) {
+Eina_Bool ewk_view_set_support_video_hole(Evas_Object* ewkView,
+ void* window,
+ Eina_Bool enable,
+ Eina_Bool isVideoWindow) {
LOG_EWK_API_MOCKUP();
#if defined(TIZEN_VIDEO_HOLE)
EWK_VIEW_IMPL_GET_OR_RETURN(ewkView, impl, EINA_FALSE);
LOG_EWK_API_MOCKUP();
}
+void ewk_view_feed_mouse_down(Evas_Object* view,
+ Ewk_Mouse_Button_Type button,
+ int x,
+ int y) {
+ LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+}
+
+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");
+}
+
+void ewk_view_feed_mouse_move(Evas_Object* view, int x, int y) {
+ LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+}
+
+void ewk_view_feed_mouse_wheel(Evas_Object* view,
+ Eina_Bool y_direction,
+ int step,
+ int x,
+ int y) {
+ LOG_EWK_API_MOCKUP("NUI feature is not enabled");
+}
+
void ewk_view_auto_login(Evas_Object *view, const char* user_name, const char* password)
{
LOG_EWK_API_MOCKUP();
};
typedef enum Ewk_Top_Control_State Ewk_Top_Control_State;
+enum Ewk_Mouse_Button_Type {
+ EWK_Mouse_Button_Left = 1,
+ EWK_Mouse_Button_Middle = 2,
+ EWK_Mouse_Button_Right = 3
+};
+typedef enum Ewk_Mouse_Button_Type Ewk_Mouse_Button_Type;
+
/// Ewk view's class, to be overridden by sub-classes.
struct Ewk_View_Smart_Class {
Evas_Smart_Class sc; /**< all but 'data' is free to be changed. */
*/
EXPORT_API void ewk_view_ime_window_set(Evas_Object* o, void* window);
+/**
+ * Sends mouse down event.
+ *
+ * @since_tizen 6.0
+ *
+ * @param[in] o view object
+ * @param[in] button button type
+ * @param[in] x horizontal position of mouse event
+ * @param[in] y vertical position of mouse event
+ */
+EXPORT_API void ewk_view_feed_mouse_down(Evas_Object* o,
+ Ewk_Mouse_Button_Type button,
+ int x,
+ int y);
+
+/**
+ * Sends mouse up event.
+ *
+ * @since_tizen 6.0
+ *
+ * @param[in] o view object
+ * @param[in] button button type
+ * @param[in] x horizontal position of mouse event
+ * @param[in] y vertical position of mouse event
+ */
+EXPORT_API void ewk_view_feed_mouse_up(Evas_Object* o,
+ Ewk_Mouse_Button_Type button,
+ int x,
+ int y);
+
+/**
+ * Sends mouse move event.
+ *
+ * @since_tizen 6.0
+ *
+ * @param[in] o view object
+ * @param[in] x horizontal position of mouse event
+ * @param[in] y vertical position of mouse event
+ */
+EXPORT_API void ewk_view_feed_mouse_move(Evas_Object* o, int x, int y);
+
+/**
+ * Sends mouse wheel event.
+ *
+ * @since_tizen 6.0
+ *
+ * @param[in] o view object
+ * @param[in] y_direction wheel mouse direction
+ * @param[in] step how much mouse wheel was scrolled up or down
+ * @param[in] x horizontal position of mouse event
+ * @param[in] y vertical position of mouse event
+ */
+EXPORT_API void ewk_view_feed_mouse_wheel(Evas_Object* o,
+ Eina_Bool y_direction,
+ int step,
+ int x,
+ int y);
+
#ifdef __cplusplus
}
#endif