• Home
  • Raw
  • Download

Lines Matching refs:api

455     EINA_SAFETY_ON_NULL_RETURN(sd->api);  in _ewk_view_on_focus_in()
456 EINA_SAFETY_ON_NULL_RETURN(sd->api->focus_in); in _ewk_view_on_focus_in()
457 sd->api->focus_in(sd); in _ewk_view_on_focus_in()
463 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_focus_out()
464 EINA_SAFETY_ON_NULL_RETURN(sd->api->focus_out); in _ewk_view_on_focus_out()
465 sd->api->focus_out(sd); in _ewk_view_on_focus_out()
472 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_mouse_wheel()
473 EINA_SAFETY_ON_NULL_RETURN(sd->api->mouse_wheel); in _ewk_view_on_mouse_wheel()
474 sd->api->mouse_wheel(sd, ev); in _ewk_view_on_mouse_wheel()
481 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_mouse_down()
482 EINA_SAFETY_ON_NULL_RETURN(sd->api->mouse_down); in _ewk_view_on_mouse_down()
483 sd->api->mouse_down(sd, ev); in _ewk_view_on_mouse_down()
490 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_mouse_up()
491 EINA_SAFETY_ON_NULL_RETURN(sd->api->mouse_up); in _ewk_view_on_mouse_up()
492 sd->api->mouse_up(sd, ev); in _ewk_view_on_mouse_up()
499 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_mouse_move()
500 EINA_SAFETY_ON_NULL_RETURN(sd->api->mouse_move); in _ewk_view_on_mouse_move()
501 sd->api->mouse_move(sd, ev); in _ewk_view_on_mouse_move()
508 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_key_down()
509 EINA_SAFETY_ON_NULL_RETURN(sd->api->key_down); in _ewk_view_on_key_down()
510 sd->api->key_down(sd, ev); in _ewk_view_on_key_down()
517 EINA_SAFETY_ON_NULL_RETURN(sd->api); in _ewk_view_on_key_up()
518 EINA_SAFETY_ON_NULL_RETURN(sd->api->key_up); in _ewk_view_on_key_up()
519 sd->api->key_up(sd, ev); in _ewk_view_on_key_up()
692 const Ewk_View_Smart_Class* api = (const Ewk_View_Smart_Class*)sc; in _ewk_view_smart_add() local
693 EINA_SAFETY_ON_NULL_RETURN(api->backing_store_add); in _ewk_view_smart_add()
711 sd->api = api; in _ewk_view_smart_add()
720 sd->backing_store = api->backing_store_add(sd); in _ewk_view_smart_add()
799 EINA_SAFETY_ON_NULL_RETURN(sd->api->contents_resize); in _ewk_view_smart_calculate()
800 EINA_SAFETY_ON_NULL_RETURN(sd->api->scrolls_process); in _ewk_view_smart_calculate()
801 EINA_SAFETY_ON_NULL_RETURN(sd->api->repaints_process); in _ewk_view_smart_calculate()
846 if (!sd->api->scrolls_process(sd)) in _ewk_view_smart_calculate()
850 if (!sd->api->repaints_process(sd)) in _ewk_view_smart_calculate()
989 sd->api->sc.calculate(sd->self); in _ewk_view_zoom_animator_cb()
994 sd->api->zoom_weak_set(sd, sd->animated_zoom.zoom.current, cx, cy); in _ewk_view_zoom_animator_cb()
1058 Eina_Bool ewk_view_base_smart_set(Ewk_View_Smart_Class* api) in ewk_view_base_smart_set() argument
1060 EINA_SAFETY_ON_NULL_RETURN_VAL(api, EINA_FALSE); in ewk_view_base_smart_set()
1062 if (api->version != EWK_VIEW_SMART_CLASS_VERSION) { in ewk_view_base_smart_set()
1065 api, api->version, EWK_VIEW_SMART_CLASS_VERSION); in ewk_view_base_smart_set()
1072 evas_object_smart_clipped_smart_set(&api->sc); in ewk_view_base_smart_set()
1073 api->sc.add = _ewk_view_smart_add; in ewk_view_base_smart_set()
1074 api->sc.del = _ewk_view_smart_del; in ewk_view_base_smart_set()
1075 api->sc.resize = _ewk_view_smart_resize; in ewk_view_base_smart_set()
1076 api->sc.move = _ewk_view_smart_move; in ewk_view_base_smart_set()
1077 api->sc.calculate = _ewk_view_smart_calculate; in ewk_view_base_smart_set()
1078 api->sc.show = _ewk_view_smart_show; in ewk_view_base_smart_set()
1079 api->sc.hide = _ewk_view_smart_hide; in ewk_view_base_smart_set()
1080 api->sc.data = EWK_VIEW_TYPE_STR; /* used by type checking */ in ewk_view_base_smart_set()
1082 api->contents_resize = _ewk_view_smart_contents_resize; in ewk_view_base_smart_set()
1083 api->zoom_set = _ewk_view_smart_zoom_set; in ewk_view_base_smart_set()
1084 api->flush = _ewk_view_smart_flush; in ewk_view_base_smart_set()
1085 api->pre_render_region = _ewk_view_smart_pre_render_region; in ewk_view_base_smart_set()
1086 api->pre_render_relative_radius = _ewk_view_smart_pre_render_relative_radius; in ewk_view_base_smart_set()
1087 api->pre_render_cancel = _ewk_view_smart_pre_render_cancel; in ewk_view_base_smart_set()
1088 api->disable_render = _ewk_view_smart_disable_render; in ewk_view_base_smart_set()
1089 api->enable_render = _ewk_view_smart_enable_render; in ewk_view_base_smart_set()
1091 api->focus_in = _ewk_view_smart_focus_in; in ewk_view_base_smart_set()
1092 api->focus_out = _ewk_view_smart_focus_out; in ewk_view_base_smart_set()
1093 api->mouse_wheel = _ewk_view_smart_mouse_wheel; in ewk_view_base_smart_set()
1094 api->mouse_down = _ewk_view_smart_mouse_down; in ewk_view_base_smart_set()
1095 api->mouse_up = _ewk_view_smart_mouse_up; in ewk_view_base_smart_set()
1096 api->mouse_move = _ewk_view_smart_mouse_move; in ewk_view_base_smart_set()
1097 api->key_down = _ewk_view_smart_key_down; in ewk_view_base_smart_set()
1098 api->key_up = _ewk_view_smart_key_up; in ewk_view_base_smart_set()
1100 api->add_console_message = _ewk_view_smart_add_console_message; in ewk_view_base_smart_set()
1101 api->run_javascript_alert = _ewk_view_smart_run_javascript_alert; in ewk_view_base_smart_set()
1102 api->run_javascript_confirm = _ewk_view_smart_run_javascript_confirm; in ewk_view_base_smart_set()
1103 api->run_javascript_prompt = _ewk_view_smart_run_javascript_prompt; in ewk_view_base_smart_set()
1104 api->should_interrupt_javascript = _ewk_view_smart_should_interrupt_javascript; in ewk_view_base_smart_set()
1326 EINA_SAFETY_ON_NULL_RETURN(sd->api); in ewk_view_bg_color_set()
1327 EINA_SAFETY_ON_NULL_RETURN(sd->api->bg_color_set); in ewk_view_bg_color_set()
1356 sd->api->bg_color_set(sd, r, g, b, a); in ewk_view_bg_color_set()
1895 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_zoom_set()
1896 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->zoom_set, EINA_FALSE); in ewk_view_zoom_set()
1921 return sd->api->zoom_set(sd, zoom, cx, cy); in ewk_view_zoom_set()
1937 EINA_SAFETY_ON_NULL_RETURN(sd->api); in ewk_view_zoom_weak_smooth_scale_set()
1938 EINA_SAFETY_ON_NULL_RETURN(sd->api->zoom_weak_smooth_scale_set); in ewk_view_zoom_weak_smooth_scale_set()
1939 sd->api->zoom_weak_smooth_scale_set(sd, smooth_scale); in ewk_view_zoom_weak_smooth_scale_set()
1973 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_zoom_weak_set()
1974 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->zoom_weak_set, EINA_FALSE); in ewk_view_zoom_weak_set()
2002 return sd->api->zoom_weak_set(sd, zoom, cx, cy); in ewk_view_zoom_weak_set()
2126 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_zoom_animated_set()
2127 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->zoom_weak_set, EINA_FALSE); in ewk_view_zoom_animated_set()
2229 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->pre_render_region, EINA_FALSE); in ewk_view_pre_render_region()
2265 return sd->api->pre_render_region(sd, x, y, w, h, zoom); in ewk_view_pre_render_region()
2287 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->pre_render_relative_radius, EINA_FALSE); in ewk_view_pre_render_relative_radius()
2294 return sd->api->pre_render_relative_radius(sd, n, cur_zoom); in ewk_view_pre_render_relative_radius()
2319 EINA_SAFETY_ON_NULL_RETURN(sd->api->pre_render_cancel); in ewk_view_pre_render_cancel()
2320 sd->api->pre_render_cancel(sd); in ewk_view_pre_render_cancel()
2334 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->enable_render, EINA_FALSE); in ewk_view_enable_render()
2335 return sd->api->enable_render(sd); in ewk_view_enable_render()
2349 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api->disable_render, EINA_FALSE); in ewk_view_disable_render()
2350 return sd->api->disable_render(sd); in ewk_view_disable_render()
3122 if (!sd->api->scrolls_process(sd)) in ewk_view_scrolls_process()
3577 EINA_SAFETY_ON_NULL_RETURN(sd->api->flush); in ewk_view_frame_main_cleared()
3578 sd->api->flush(sd); in ewk_view_frame_main_cleared()
3682 if (!sd->api->window_create) in ewk_view_window_create()
3686 Evas_Object* view = sd->api->window_create(sd, javascript, window_features); in ewk_view_window_create()
3708 if (!sd->api->window_close) in ewk_view_window_close()
3710 sd->api->window_close(sd); in ewk_view_window_close()
3909 EINA_SAFETY_ON_NULL_RETURN(sd->api); in ewk_view_add_console_message()
3910 EINA_SAFETY_ON_NULL_RETURN(sd->api->add_console_message); in ewk_view_add_console_message()
3911 sd->api->add_console_message(sd, message, lineNumber, sourceID); in ewk_view_add_console_message()
3918 EINA_SAFETY_ON_NULL_RETURN(sd->api); in ewk_view_run_javascript_alert()
3920 if (!sd->api->run_javascript_alert) in ewk_view_run_javascript_alert()
3923 sd->api->run_javascript_alert(sd, frame, message); in ewk_view_run_javascript_alert()
3930 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_run_javascript_confirm()
3932 if (!sd->api->run_javascript_confirm) in ewk_view_run_javascript_confirm()
3935 return sd->api->run_javascript_confirm(sd, frame, message); in ewk_view_run_javascript_confirm()
3942 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_run_javascript_prompt()
3944 if (!sd->api->run_javascript_prompt) in ewk_view_run_javascript_prompt()
3947 return sd->api->run_javascript_prompt(sd, frame, message, defaultValue, value); in ewk_view_run_javascript_prompt()
3965 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_should_interrupt_javascript()
3967 if (!sd->api->should_interrupt_javascript) in ewk_view_should_interrupt_javascript()
3970 return sd->api->should_interrupt_javascript(sd); in ewk_view_should_interrupt_javascript()
3991 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, 0); in ewk_view_exceeded_database_quota()
3992 if (!sd->api->exceeded_database_quota) in ewk_view_exceeded_database_quota()
3996 return sd->api->exceeded_database_quota(sd, frame, databaseName, current_size, expected_size); in ewk_view_exceeded_database_quota()
4017 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE); in ewk_view_run_open_panel()
4020 if (!sd->api->run_open_panel) in ewk_view_run_open_panel()
4025 …confirm = sd->api->run_open_panel(sd, frame, allows_multiple_files, suggested_filenames, selected_… in ewk_view_run_open_panel()
4440 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_TRUE); in ewk_view_navigation_policy_decision()
4442 if (!sd->api->navigation_policy_decision) in ewk_view_navigation_policy_decision()
4445 return sd->api->navigation_policy_decision(sd, request); in ewk_view_navigation_policy_decision()
4460 EINA_SAFETY_ON_NULL_RETURN(sd->api); in ewk_view_contents_size_changed()
4461 EINA_SAFETY_ON_NULL_RETURN(sd->api->contents_resize); in ewk_view_contents_size_changed()
4463 if (!sd->api->contents_resize(sd, w, h)) in ewk_view_contents_size_changed()