forked from enlightenment/efl
Renaming elm_web functions.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com> SVN revision: 68618
This commit is contained in:
parent
770495da25
commit
58f440f3c8
|
@ -598,7 +598,7 @@ elm_main(int argc __UNUSED__, char *argv[] __UNUSED__)
|
|||
|
||||
web = elm_web_add(win);
|
||||
elm_web_window_create_hook_set(web, _web_create_window_cb, ad);
|
||||
elm_web_history_enable_set(web, EINA_FALSE);
|
||||
elm_web_history_enabled_set(web, EINA_FALSE);
|
||||
evas_object_size_hint_weight_set(web, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_size_hint_align_set(web, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
elm_naviframe_item_simple_push(naviframe, web);
|
||||
|
|
|
@ -4542,6 +4542,28 @@ EINA_DEPRECATED EAPI int elm_edje_collection_cache_get(void);
|
|||
*/
|
||||
EINA_DEPRECATED EAPI void elm_edje_collection_cache_set(int size);
|
||||
|
||||
/**
|
||||
* Gets whether browsing history is enabled for the given object
|
||||
*
|
||||
* @param obj The web object
|
||||
*
|
||||
* @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
|
||||
*
|
||||
* @deprecated Use elm_web_history_enabled_get()
|
||||
*/
|
||||
EINA_DEPRECATED EAPI Eina_Bool elm_web_history_enable_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enables or disables the browsing history
|
||||
*
|
||||
* @param obj The web object
|
||||
* @param enable Whether to enable or disable the browsing history
|
||||
*
|
||||
* @deprecated Use elm_web_history_enabled_set()
|
||||
*
|
||||
*/
|
||||
EINA_DEPRECATED EAPI void elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -1572,8 +1572,14 @@ elm_web_navigate_possible(Evas_Object *obj, int steps)
|
|||
#endif
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
elm_web_history_enable_get(const Evas_Object *obj)
|
||||
{
|
||||
return elm_web_history_enabled_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_web_history_enabled_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
||||
#ifdef HAVE_ELEMENTARY_WEB
|
||||
|
@ -1585,8 +1591,14 @@ elm_web_history_enable_get(const Evas_Object *obj)
|
|||
#endif
|
||||
}
|
||||
|
||||
EAPI void
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable)
|
||||
{
|
||||
elm_web_history_enabled_set(obj, enable);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enable)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
#ifdef HAVE_ELEMENTARY_WEB
|
||||
|
|
|
@ -713,7 +713,7 @@ EAPI Eina_Bool elm_web_reload_full(Evas_Object *obj);
|
|||
*
|
||||
* @return EINA_TRUE on success, EINA_FALSE otherwise
|
||||
*
|
||||
* @see elm_web_history_enable_set()
|
||||
* @see elm_web_history_enabled_set()
|
||||
* @see elm_web_back_possible()
|
||||
* @see elm_web_forward()
|
||||
* @see elm_web_navigate()
|
||||
|
@ -729,7 +729,7 @@ EAPI Eina_Bool elm_web_back(Evas_Object *obj);
|
|||
*
|
||||
* @return EINA_TRUE on success, EINA_FALSE otherwise
|
||||
*
|
||||
* @see elm_web_history_enable_set()
|
||||
* @see elm_web_history_enabled_set()
|
||||
* @see elm_web_forward_possible()
|
||||
* @see elm_web_back()
|
||||
* @see elm_web_navigate()
|
||||
|
@ -748,7 +748,7 @@ EAPI Eina_Bool elm_web_forward(Evas_Object *obj);
|
|||
* @return EINA_TRUE on success, EINA_FALSE on error or if not enough
|
||||
* history exists to jump the given number of steps
|
||||
*
|
||||
* @see elm_web_history_enable_set()
|
||||
* @see elm_web_history_enabled_set()
|
||||
* @see elm_web_navigate_possible()
|
||||
* @see elm_web_back()
|
||||
* @see elm_web_forward()
|
||||
|
@ -796,19 +796,15 @@ EAPI Eina_Bool elm_web_navigate_possible(Evas_Object *obj, int steps);
|
|||
*
|
||||
* @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
|
||||
*/
|
||||
// XXX: use _enabled_get instead of _enable_get
|
||||
// EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj);
|
||||
EAPI Eina_Bool elm_web_history_enable_get(const Evas_Object *obj);
|
||||
EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enables or disables the browsing history
|
||||
*
|
||||
* @param obj The web object
|
||||
* @param enable Whether to enable or disable the browsing history
|
||||
* @param enabled Whether to enable or disable the browsing history
|
||||
*/
|
||||
// XXX: use _enabled_set instead of _enable_set
|
||||
// EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled);
|
||||
EAPI void elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
|
||||
EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled);
|
||||
|
||||
/**
|
||||
* Sets the zoom level of the web object
|
||||
|
|
Loading…
Reference in New Issue