Since 8.0, Tizen supports a single set native of APIs.
So, this patch removes conditional statements for Mobile/Wearable
profile from ewk headers.
Change-Id: Id1e419e6fcf81cf0da5aa9c3d874f151b718d396
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
*/
/**
- * @if MOBILE
* \enum _Ewk_Autofill_Credit_Card_Data_Type
* @brief Enumeration that provides an option to autofill credit_card data types.
*
* @since_tizen 4.0
- * @endif
*/
enum _Ewk_Autofill_Credit_Card_Data_Type {
};
/**
- * @if MOBILE
* @brief Enumeration that creates a type name for the Ewk_Autofill_Credit_Card_Data_Type.
*
* @since_tizen 4.0
- * @endif
*/
typedef enum _Ewk_Autofill_Credit_Card_Data_Type Ewk_Autofill_Credit_Card_Data_Type;
/**
- * @if MOBILE
* @brief The structure type that creates a type name for #Ewk_Autofill_CreditCard.
*
* @since_tizen 4.0
- * @endif
*/
typedef struct _Ewk_Autofill_CreditCard Ewk_Autofill_CreditCard;
/**
- * @if MOBILE
* @brief Creates a new credit_card
*
* The created credit_card must be deleted by ewk_autofill_credit_card_delete
*
* @see ewk_autofill_credit_card_data_set
* @see ewk_autofill_credit_card_delete
- * @endif
*/
EXPORT_API Ewk_Autofill_CreditCard* ewk_autofill_credit_card_new(void);
/**
- * @if MOBILE
* @brief Deletes a given credit_card
*
* The API will delete the a particular credit_card only from the memory.
* @see ewk_autofill_credit_card_new
* @see ewk_context_form_autofill_credit_card_get
* @see ewk_context_form_autofill_credit_card_remove
- * @endif
*/
EXPORT_API void ewk_autofill_credit_card_delete(Ewk_Autofill_CreditCard* card);
/**
- * @if MOBILE
* @brief Sets the data in the credit_card created by ewk_autofill_credit_card_new
*
* The data set by this function is set locally. To save it to database use
* @see ewk_autofill_credit_card_data_get
* @see Ewk_Autofill_Credit_Card_Data_Type
* @see ewk_context_form_autofill_credit_card_add
- * @endif
*/
EXPORT_API void ewk_autofill_credit_card_data_set(Ewk_Autofill_CreditCard* card, Ewk_Autofill_Credit_Card_Data_Type type, const char* value);
/**
- * @if MOBILE
* @brief Gets the id attribute value from a given credit_card
*
* The credit_card obtained from ewk_context_form_autofill_credit_card_get will be used
* @see ewk_autofill_credit_card_new
* @see ewk_context_form_autofill_credit_card_get
* @see ewk_context_form_autofill_credit_card_get_all
- * @endif
*/
EXPORT_API unsigned ewk_autofill_credit_card_id_get(Ewk_Autofill_CreditCard* card);
/**
- * @if MOBILE
* @brief Gets the attribute value from a given credit_card
*
* The credit_card obtained from ewk_context_form_autofill_credit_card_get will be used
* @see ewk_autofill_credit_card_new
* @see ewk_context_form_autofill_credit_card_get
* @see ewk_context_form_autofill_credit_card_get_all
- * @endif
*/
EXPORT_API Eina_Stringshare* ewk_autofill_credit_card_data_get(Ewk_Autofill_CreditCard* credit_card, Ewk_Autofill_Credit_Card_Data_Type type);
*/
/**
- * @if MOBILE
* \enum _Ewk_Autofill_Profile_Data_Type
* @brief Enumeration that provides an option to autofill profile data types.
*
* @since_tizen 2.4
- * @endif
*/
enum _Ewk_Autofill_Profile_Data_Type {
EWK_PROFILE_ID = 0, /**< Id */
};
/**
- * @if MOBILE
* @brief Enumeration that creates a type name for the Ewk_Autofill_Profile_Data_Type.
*
* @since_tizen 2.4
- * @endif
*/
typedef enum _Ewk_Autofill_Profile_Data_Type Ewk_Autofill_Profile_Data_Type;
/**
- * @if MOBILE
* @brief The structure type that creates a type name for #Ewk_Autofill_Profile.
*
* @since_tizen 2.4
- * @endif
*/
typedef struct _Ewk_Autofill_Profile Ewk_Autofill_Profile;
/**
- * @if MOBILE
* @brief Creates a new profile
*
* The created profile must be deleted by ewk_autofill_profile_delete
*
* @see ewk_autofill_profile_data_set
* @see ewk_autofill_profile_delete
- * @endif
*/
EXPORT_API Ewk_Autofill_Profile* ewk_autofill_profile_new(void);
/**
- * @if MOBILE
* @brief Deletes a given profile
*
* The API will delete the a particular profile only from the memory.
* @see ewk_autofill_profile_new
* @see ewk_context_form_autofill_profile_get
* @see ewk_context_form_autofill_profile_remove
- * @endif
*/
EXPORT_API void ewk_autofill_profile_delete(Ewk_Autofill_Profile* profile);
/**
- * @if MOBILE
* @brief Sets the data in the profile created by ewk_autofill_profile_new
*
* The data set by this function is set locally. To save it to database use
* @see ewk_autofill_profile_data_get
* @see Ewk_Autofill_Profile_Data_Type
* @see ewk_context_form_autofill_profile_add
- * @endif
*/
EXPORT_API void ewk_autofill_profile_data_set(Ewk_Autofill_Profile* profile, Ewk_Autofill_Profile_Data_Type name, const char* value);
/**
- * @if MOBILE
* @brief Gets the id attribute value from a given profile
*
* The profile obtained from ewk_context_form_autofill_profile_get will be used
* @see ewk_autofill_profile_new
* @see ewk_context_form_autofill_profile_get
* @see ewk_context_form_autofill_profile_get_all
- * @endif
*/
EXPORT_API unsigned ewk_autofill_profile_id_get(Ewk_Autofill_Profile* profile);
/**
- * @if MOBILE
* @brief Gets the attribute value from a given profile
*
* The profile obtained from ewk_context_form_autofill_profile_get will be used
* @see ewk_autofill_profile_new
* @see ewk_context_form_autofill_profile_get
* @see ewk_context_form_autofill_profile_get_all
- * @endif
*/
EXPORT_API const char* ewk_autofill_profile_data_get(Ewk_Autofill_Profile* profile, Ewk_Autofill_Profile_Data_Type name);
/**
* @brief The structure type that creates a type name for
* Ewk_Back_Forward_List.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct _Ewk_Back_Forward_List Ewk_Back_Forward_List;
/**
* @brief Returns the current item in the @a list.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
*
/**
* @brief Returns the item that precedes the current item in the @a list.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
*
/**
* @brief Returns the item that follows the current item in the @a list.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
*
/**
* @brief Returns the item at a given @a index relative to the current item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
* @param[in] index The index of the item
* @brief Returns the length of the back-forward list including the current
* item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
*
* If @a limit is equal to @c -1 all the items preceding the current
* item are returned.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
* @param[in] limit The number of items to retrieve
* If @a limit is equal to @c -1 all the items preceding the current
* item are returned.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] list The back-forward list instance
* @param[in] limit The number of items to retrieve
/**
* @brief The structure type that creates a type name for
* Ewk_Back_Forward_List_Item.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct _Ewk_Back_Forward_List_Item Ewk_Back_Forward_List_Item;
/**
* @brief Increases the reference count of the given object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] item The back-forward list item instance to increase the reference
* count
*
* @details When the reference count reaches @c 0, the item is freed.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] item The back-forward list item instance to decrease the reference
* count
* @details The returned URL may differ from the original URL (For example,
* if the page is redirected).
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] item The back-forward list item instance
*
/**
* @brief Returns the title of the item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] item The back-forward list item instance
*
/**
* @brief Returns the original URL of the item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] item The back-forward list item instance
*
/**
* @brief The structure type that creates a type name for #Ewk_Context.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct Ewk_Context Ewk_Context;
/**
* @brief The structure type that creates a type name for Ewk_Cache_Model.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*/
typedef enum _Ewk_Cache_Model Ewk_Cache_Model;
/**
* @brief Gets the cookie manager instance for this @a context.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] context The context object to query
*
EXPORT_API Ewk_Cookie_Manager* ewk_context_cookie_manager_get(const Ewk_Context* context);
/**
- * @if MOBILE
* @brief Requests for deleting all web application caches.
*
* @since_tizen 2.4
* @param[in] context Context object
*
* @return @c EINA_TRUE on success, otherwise @c EINA FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_application_cache_delete_all(Ewk_Context* context);
*
* The default cache option is #EWK_CACHE_MODEL_DOCUMENT_VIEWER.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] context The context object
* @param[in] model The cache model
/**
* @brief Returns the cache model type.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] context The context object
*
EXPORT_API Ewk_Cache_Model ewk_context_cache_model_get(const Ewk_Context* context);
/**
- * @if MOBILE
* @brief Saves the created profile into permanent storage
*
* The profile used to save must be created by ewk_autofill_profile_new.
* @c EINA_FALSE
*
* @see ewk_autofill_profile_new
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_form_autofill_profile_add(Ewk_Context* context, Ewk_Autofill_Profile* profile);
/**
- * @if MOBILE
* @brief Gets the existing profile for given index
*
* @since_tizen 2.4
* @return @c Ewk_Autofill_Profile if profile exists, otherwise @c NULL
*
* @see ewk_autofill_profile_delete
- * @endif
*/
EXPORT_API Ewk_Autofill_Profile* ewk_context_form_autofill_profile_get(Ewk_Context* context, unsigned id);
/**
- * @if MOBILE
* @brief Gets a list of all existing profiles
*
* The obtained profile must be deleted by ewk_autofill_profile_delete.
* @return @c Eina_List of Ewk_Autofill_Profile, otherwise @c NULL
*
* @see ewk_autofill_profile_delete
- * @endif
*/
EXPORT_API Eina_List* ewk_context_form_autofill_profile_get_all(Ewk_Context* context);
/**
- * @if MOBILE
* @brief Sets the given profile for the given id
*
* Data can be added to the created profile by ewk_autofill_profile_data_set.
*
* @see ewk_autofill_profile_new
* @see ewk_context_form_autofill_profile_add
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_form_autofill_profile_set(Ewk_Context* context, unsigned id, Ewk_Autofill_Profile* profile);
/**
- * @if MOBILE
* @brief Removes Autofill Form profile completely
*
* @since_tizen 2.4
@c EINA_FALSE
*
* @see ewk_context_form_autofill_profile_get_all
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_form_autofill_profile_remove(Ewk_Context* context, unsigned id);
/**
- * @if MOBILE
* @brief Deletes all candidate form data from DB
*
* @since_tizen 2.4
*
* @param[in] context Context object
- * @endif
*/
EXPORT_API void ewk_context_form_candidate_data_delete_all(Ewk_Context* context);
/**
- * @if MOBILE
* @brief Deletes whole password data from DB
*
* @since_tizen 2.4
*
* @param context Context object
- * @endif
*/
EXPORT_API void ewk_context_form_password_data_delete_all(Ewk_Context* context);
* all resources cached in memory\n
* such as images, CSS, JavaScript, XSL, and fonts for @a context.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] context The context object to clear all resource caches
*/
EXPORT_API void ewk_context_resource_cache_clear(Ewk_Context* context);
/**
- * @if MOBILE
* @brief Requests to get image representing the given URL.
*
* @since_tizen 2.4
* must not be @c 0
*
* @return @c Evas_Object instance, otherwise @c 0
- * @endif
*/
EXPORT_API Evas_Object* ewk_context_icon_database_icon_object_add(Ewk_Context* context, const char* uri, Evas* canvas);
/**
- * @if MOBILE
* @brief Requests for deleting all web indexed databases.
*
* @since_tizen 2.4
* @param[in] context Context object
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_web_indexed_database_delete_all(Ewk_Context* context);
/**
- * @if MOBILE
* @brief Deletes web storage.
*
* @details This function does not ensure that all data will be removed.
* @param[in] context Context object
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_web_storage_delete_all(Ewk_Context* context);
* \enum _Ewk_Context_Menu_Item_Tag
* @brief Enumeration that provides the tags of items for the context menu.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*/
enum _Ewk_Context_Menu_Item_Tag{
EWK_CONTEXT_MENU_ITEM_TAG_NO_ACTION = 0, /**< No action */
/**
* @brief The structure type that creates a type name for Ewk_Context_Menu_Item_Tag.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*/
typedef uint32_t Ewk_Context_Menu_Item_Tag;
/**
* @brief The structure type that creates a type name for _Ewk_Context_Menu.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*/
typedef struct _Ewk_Context_Menu Ewk_Context_Menu;
/**
* @brief The structure type that creates a type name for _Ewk_Context_Menu_Item.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*/
typedef struct _Ewk_Context_Menu_Item Ewk_Context_Menu_Item;
/**
* @brief Counts the number of the context menu item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*
* @param[in] menu The context menu object
*
/**
* @brief Returns the nth item in a context menu.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*
* @param[in] menu The context menu object
* @param[in] n The number of the item
* @remarks If all context menu items are removed, neither context menu nor\n
* selection handles will be shown.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*
* @param[in] menu The context menu object
* @param[in] item The context menu item to remove
EXPORT_API Eina_Bool ewk_context_menu_item_remove(Ewk_Context_Menu* menu, Ewk_Context_Menu_Item* item);
/**
- * @if MOBILE
* @brief Adds the context menu item to the context menu object.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE on successful request,\n
* otherwise @c EINA_FALSE on failure
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_menu_item_append_as_action(Ewk_Context_Menu* menu, Ewk_Context_Menu_Item_Tag tag, const char* title, Eina_Bool enabled);
/**
- * @if MOBILE
* @brief Adds the context menu item to the context menu object.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE on successful request,\n
* otherwise @c EINA_FALSE on failure
- * @endif
*/
EXPORT_API Eina_Bool ewk_context_menu_item_append(Ewk_Context_Menu* menu, Ewk_Context_Menu_Item_Tag tag, const char* title, const char* icon_file, Eina_Bool enabled);
/**
* @brief Returns the tag of context menu item.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
*
* @param[in] item The context menu item object
*
EXPORT_API Ewk_Context_Menu_Item_Tag ewk_context_menu_item_tag_get(Ewk_Context_Menu_Item* item);
/**
- * @if MOBILE
* @brief Returns the link url string of context menu item.
*
* @since_tizen 2.3
*
* @return The current link url string on success,\n
* otherwise @c 0 on failure
- * @endif
*/
EXPORT_API const char* ewk_context_menu_item_link_url_get(Ewk_Context_Menu_Item* item);
/**
- * @if MOBILE
* @brief Returns the image url string of context menu item.
*
* @since_tizen 2.3
*
* @return The current image url string on success,\n
* otherwise @c 0 on failure
- * @endif
*/
EXPORT_API const char* ewk_context_menu_item_image_url_get(Ewk_Context_Menu_Item* item);
/**
* @brief The structure type that creates a type name for #Ewk_Cookie_Manager.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct Ewk_Cookie_Manager Ewk_Cookie_Manager;
* \enum Ewk_Cookie_Accept_Policy
*
* @brief Enumeration that contains accept policies for the cookies.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
enum Ewk_Cookie_Accept_Policy {
EWK_COOKIE_ACCEPT_POLICY_ALWAYS, /**< Accepts every cookie sent from any page */
/**
* @brief Enumeration that creates a type name for the Ewk_Cookie_Accept_Policy.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum Ewk_Cookie_Accept_Policy Ewk_Cookie_Accept_Policy;
* @details By default, only cookies set by the main document loaded are
* accepted.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] manager The cookie manager to update
* @param[in] policy A #Ewk_Cookie_Accept_Policy
/**
* @brief Called for use with ewk_cookie_manager_accept_policy_async_get().
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy A #Ewk_Cookie_Accept_Policy
* @param[in] event_info The user data that will be passed when
* @details By default, only cookies set by the main document loaded are
* accepted.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] manager The cookie manager to query
* @param[in] callback The function to call when the policy is received
/**
* @brief Deletes all the cookies of @a manager.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] manager The cookie manager to update
*/
*/
/**
- * @if MOBILE
* @brief The structure type that creates a type name for #Ewk_Error.
* @since_tizen 2.3
- * @endif
*/
typedef struct _Ewk_Error Ewk_Error;
/**
- * @if MOBILE
* \enum Ewk_Error_Code
* @brief Enumeration that provides an option to error codes.
* @since_tizen 2.3
- * @endif
*/
typedef enum {
EWK_ERROR_CODE_UNKNOWN, /* Unknown */
} Ewk_Error_Code;
/**
- * @if MOBILE
* @brief Query failing URL for this error.
*
* @details URL that failed loading.
* save yourself some cpu cycles and use\n
* eina_stringshare_ref() instead of eina_stringshare_add() or\n
* strdup()
- * @endif
*/
EXPORT_API const char* ewk_error_url_get(const Ewk_Error* error);
/**
- * @if MOBILE
* @brief Query the error code.
*
* @since_tizen 2.3
* @param[in] error The error object to query
*
* @return The error code #Ewk_Error_Code
- * @endif
*/
EXPORT_API int ewk_error_code_get(const Ewk_Error* error);
/**
- * @if MOBILE
* @brief Query description for this error.
*
* @since_tizen 2.3
* save yourself some cpu cycles and use\n
* eina_stringshare_ref() instead of eina_stringshare_add() or\n
* strdup()
- * @endif
*/
EXPORT_API const char* ewk_error_description_get(const Ewk_Error* error);
/**
- * @if MOBILE
* @brief Query if error should be treated as a cancellation.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE if this error should be treated as a cancellation\n
* otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_error_cancellation_get(const Ewk_Error* error);
/**
* @brief The structure type that creates a type name for #Ewk_Geolocation_Permission_Request.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef struct _Ewk_Geolocation_Permission_Request Ewk_Geolocation_Permission_Request;
/**
* @brief Requests for getting origin of geolocation permission request.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] request Ewk_Geolocation_Permission_Request object to get origin
*
* - Initializes components needed by EFL,\n
* - Increases a reference count of Chromium's instance.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @return A reference count of Chromium's instance on success,\n
* otherwise @c 0 on failure
* @details If the reference count reaches @c 0, Chromium's instance is
* destroyed.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @return A reference count of Chromium's instance
*/
/**
* \enum _Ewk_Policy_Decision_Type
* @brief Enumeration that provides an option to policy decision types.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
enum _Ewk_Policy_Decision_Type {
EWK_POLICY_DECISION_USE, /**< Use */
/**
* @brief Enumeration that creates a type name for the Ewk_Policy_Decision_Type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum _Ewk_Policy_Decision_Type Ewk_Policy_Decision_Type;
/**
* @brief The structure type that creates a type name for Ewk_Policy_Decision.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct _Ewk_Policy_Decision Ewk_Policy_Decision;
/**
* \enum _Ewk_Policy_Navigation_Type
* @brief Enumeration that provides an option to policy navigation types.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
enum _Ewk_Policy_Navigation_Type {
EWK_POLICY_NAVIGATION_TYPE_LINK_CLICKED = 0, /**< Link clicked */
/**
* @brief Enumeration that creates a type name for #Ewk_Policy_Navigation_Type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum _Ewk_Policy_Navigation_Type Ewk_Policy_Navigation_Type;
/**
* @brief Returns a cookie from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a URL from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a scheme from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a host from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns an HTTP method from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a MIME type for response data from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision policy decision object
*
/**
* @brief Return HTTP headers for response data from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns an HTTP status code from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a policy type from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Accepts the action which triggers this decision.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Ignores the action which triggers this decision.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief Returns a navigation type from the Policy Decision object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] policy_decision The policy decision object
*
/**
* @brief The structure type that creates a type name for #Ewk_Security_Origin.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*/
typedef struct _Ewk_Security_Origin Ewk_Security_Origin;
/**
* @brief Requests for getting host of security origin.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] origin Security origin
*
/**
* @brief Requests for getting host of security origin.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] origin Security origin
*
/**
* @brief The structure type that creates a type name for #Ewk_Settings.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct Ewk_Settings Ewk_Settings;
/**
- * @if MOBILE
* @brief Requests enable/disable password form autofill
*
* @since_tizen 2.4
* @c EINA_FALSE to disable
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_settings_autofill_password_form_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
/**
- * @if MOBILE
* @brief Requests enable/disable form candidate data for autofill
*
* @since_tizen 2.4
* @c EINA_FALSE to disable
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_settings_form_candidate_data_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
/**
- * @if MOBILE
* @brief Enables/disables form autofill profile feature.
*
* @since_tizen 2.4
* @c EINA_FALSE to disable
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_settings_form_profile_data_enabled_set(Ewk_Settings *settings, Eina_Bool enable);
/**
- * @if MOBILE
* @brief Requests setting of auto fit.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE on success,\n
* otherwise @c EINA_FALSE on failure
- * @endif
*/
EXPORT_API Eina_Bool ewk_settings_auto_fitting_set(Ewk_Settings* settings, Eina_Bool enable);
/**
- * @if MOBILE
* @brief Returns the auto fit status.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE if auto fit is enabled,\n
* otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_settings_auto_fitting_get(const Ewk_Settings* settings);
/**
* @brief Enables/disables JavaScript executing.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to set JavaScript executing
* @param[in] enable If @c EINA_TRUE JavaScript executing is enabled,\n
/**
* @brief Returns whether JavaScript can be executable.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to query if JavaScript can be
* executed
/**
* @brief Enables/disables auto loading of images.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to set auto loading of images
* @param[in] automatic If @c EINA_TRUE auto loading of images is enabled,\n
/**
* @brief Returns whether images can be loaded automatically.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to get auto loading of images
*
/**
* @brief Sets the default text encoding name.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to set the default text encoding name
* @param[in] encoding The default text encoding name
*
* @details The returned string is guaranteed to be stringshared.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to query the default text encoding
* name
*
* @details By default, the default font size is @c 16.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to set the default font size
* @param[in] size A new default font size to set
/**
* @brief Returns the default font size.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to get the default font size
*
*
* @details By default, the scripts can open new windows.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to set if the scripts can open
* new windows
/**
* @brief Returns whether the scripts can open new windows.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings The settings object to query whether the scripts can
* open new windows
/**
* @brief Enables/disables legacy font size mode
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings settings object
* @param[in] enable If @c EINA_TRUE legacy font size is enabled\n
/**
* @brief Return whether legacy font size mode is enabled
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings settings object
*
/**
* @brief Sets font-family as system font for font rendering
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings settings object
* @param[in] use @c EINA_TRUE to use one of the system fonts which is selected by user in Settings
/**
* @brief Returns whether we use the system font which is selected by user in Settings or use a system default font
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] settings settings object
*
/**
* @brief Request to set the current page's visibility.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] o View object to set the visibility.
* @param[in] enable EINA_TRUE to set on the visibility of the page,
*
* If orientation value is changed, orientationchanged event will occur.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
*
* @param[in] o View object to receive orientation event.
* @param[in] orientation The new orientation of the device. (degree)
EXPORT_API void ewk_view_orientation_send(Evas_Object *o, int orientation);
/**
- * @if MOBILE
* @brief Returns the selection text.
*
* @details Returned string becomes invalidated upon next call to this api.
* @param[in] o View object to get selection text.
*
* @return @c selection text, otherwise @c NULL
- * @endif
*/
EXPORT_API const char* ewk_view_text_selection_text_get(Evas_Object* o);
/**
- * @if MOBILE
* @brief Clears the current selection.
*
* @since_tizen 2.4
* @param[in] o View object with selection in progress
*
* @return @c EINA_TRUE on success, otherwise @c EINA_FALSE
- * @endif
*/
EXPORT_API Eina_Bool ewk_view_text_selection_clear(Evas_Object* o);
/**
* @brief Creates a new EFL Chromium view object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] e The canvas object where to create the view object
*
/**
* @brief Gets the #Ewk_Context of this view.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the #Ewk_Context
*
* smart callback 'url,changed' is called. This is important for\n
* EWK API functions which operate on pages.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to load @a url
* @param[in] url The uniform resource identifier to load
* @details It returns an internal string that should not be modified.\n
* The string is guaranteed to be stringshared.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the current URL
*
/**
* @brief Asks the main frame to reload the current document.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to reload the current document
*
/**
* @brief Asks the main frame to stop loading.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to stop loading
*
/**
* @brief Gets the #Ewk_Settings of this view.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the #Ewk_Settings
*
/**
* @brief Asks the main frame to navigate back in history.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to navigate back
*
/**
* @brief Asks the main frame to navigate forward in history.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to navigate forward
*
* @brief Checks whether it is possible to navigate backwards one item in
* history.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to query if backward navigation is possible
*
* @brief Checks whether it is possible to navigate forwards one item in
* history.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to query if forward navigation is possible
*
* to listen for EVAS_CALLBACK_DEL on a given view (@a o) to know\n
* when to stop using the returned handle.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the back-forward navigation list
*
/**
* @brief Clears the back-forward list of a page.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to clear the back-forward list
*/
* @details It returns an internal string that should not be modified.\n
* The string is guaranteed to be stringshared.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the current title
*
*
* @details The progress estimation from @c 0.0 to @c 1.0.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the current progress
*
/**
* @brief Requests to set the user agent string.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to set the user agent string
* @param[in] user_agent The user agent string to set,\n
/**
* @brief Returns the user agent string.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the user agent string
*
/**
* @brief Gets the last known content's size.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the content's size
* @param[in] width The width pointer to store the content's size width,
/**
* @brief Callback for ewk_view_script_execute().
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object
* @param[in] result_value The value returned by the script\n
/**
* @brief Requests the execution of the given script.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @remarks This allows to use @c NULL for the callback parameter\n
* So, if the result data from the script is not required,
/**
* @brief Scales the current page, centered at the given point.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to set the zoom level
* @param[in] scale_factor A new level to set
* called immediately\n
* until the scale factor of the page is really changed.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the scale factor of
*
/**
* @brief Exits fullscreen when the back key is pressed.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to exit the fullscreen mode
*
/**
* @brief Suspends the operation associated with the view object.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to suspend
*/
* @brief Resumes the operation associated with the view object after calling
* ewk_view_suspend().
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to resume
*/
/**
* \enum Ewk_Http_Method
* @brief Enumeration that provides HTTP method options.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
enum Ewk_Http_Method {
EWK_HTTP_METHOD_GET, /**< Get */
/**
* @brief Enumeration that creates a type name for the #Ewk_Http_Method.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum Ewk_Http_Method Ewk_Http_Method;
/**
* @brief Requests loading of the given request data.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to load
* @param[in] url The uniform resource identifier to load
EXPORT_API Eina_Bool ewk_view_url_request_set(Evas_Object* o, const char* url, Ewk_Http_Method method, Eina_Hash* headers, const char* body);
/**
- * @if MOBILE
* @brief Requests loading the given contents by MIME type into the view object.
*
* @since_tizen 2.3
*
* @return @c EINA_TRUE on a successful request,\n
* otherwise @c EINA_FALSE on errors
- * @endif
*/
EXPORT_API Eina_Bool ewk_view_contents_set(Evas_Object* o, const char* contents, size_t contents_size, char* mime_type, char* encoding, char* base_uri);
/**
* @brief Scrolls the webpage of view by dx and dy.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to scroll
* @param[in] dx The horizontal offset to scroll
/**
* @brief Gets the current scroll position of the given view.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to get the current scroll position
* @param[in] x The pointer to store the horizontal position, may be @c NULL
* @details Both values are from zero to the contents size minus
* the viewport size.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to scroll
* @param[in] x The horizontal position to scroll
* Enum values used to specify search options.
* @brief Enumeration that provides the option to find text.
* @details It contains enum values used to specify search options.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
enum Ewk_Find_Options {
EWK_FIND_OPTIONS_NONE, /**< No search flags, this means a case sensitive, no wrap, forward only search */
/**
* @brief Enumeration that creates a type name for the #Ewk_Find_Options.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum Ewk_Find_Options Ewk_Find_Options;
/**
* @brief Searches and highlights the given string in the document.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] o The view object to find text
* @param[in] text The text to find
* If an @a unreachableUrl is passed it is used as the url for the loaded
* content.\n This is typically used to display error pages for a failed load.
*
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.4
*
* @param[in] o view object to load the HTML into
* @param[in] html HTML data to load