X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FWebKit2%2FUIProcess%2FAPI%2Fefl%2Fewk_popup_menu_item.h;h=5efe6fe0e5f31715041ef5042c634dee3fd3e06c;hb=6ef8e73ccf67afaa2663727d56a1f0da040a9107;hp=5c86b99f3ee019ca2b731a1ded2c73d3d9c6e7eb;hpb=96e21f9bfb14c1c123d34768791c57589a52e167;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h b/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h old mode 100644 new mode 100755 index 5c86b99..5efe6fe --- a/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h +++ b/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h @@ -31,8 +31,8 @@ #ifndef ewk_popup_menu_item_h #define ewk_popup_menu_item_h -#include #include "ewk_view.h" +#include #ifdef __cplusplus extern "C" { @@ -45,8 +45,8 @@ typedef enum { EWK_POPUP_MENU_UNKNOWN = -1 } Ewk_Popup_Menu_Item_Type; -/** Creates a type name for _Ewk_Popup_Menu_Item */ -typedef struct _Ewk_Popup_Menu_Item Ewk_Popup_Menu_Item; +/** Creates a type name for Ewk_Popup_Menu_Item */ +typedef struct Ewk_Popup_Menu_Item Ewk_Popup_Menu_Item; /** * Returns type of the popup menu item. @@ -69,13 +69,13 @@ EAPI Ewk_Popup_Menu_Item_Type ewk_popup_menu_item_type_get(const Ewk_Popup_Menu_ * strdup() */ EAPI const char *ewk_popup_menu_item_text_get(const Ewk_Popup_Menu_Item *item); - + /** - * Returns text directionality of the popup menu item. + * Returns text direction of the popup menu item. * * @param item the popup menu item instance * - * @return the text directionality of the @a item. + * @return the text direction of the @a item. */ EAPI Ewk_Text_Direction ewk_popup_menu_item_text_direction_get(const Ewk_Popup_Menu_Item *item); @@ -133,6 +133,15 @@ EAPI Eina_Bool ewk_popup_menu_item_enabled_get(const Ewk_Popup_Menu_Item *item); */ EAPI Eina_Bool ewk_popup_menu_item_is_label_get(const Ewk_Popup_Menu_Item *item); +/** + * Returns whether the popup menu item is selected or not. + * + * @param item the popup menu item instance + * + * @return @c EINA_TRUE if the popup menu item is selected, @c EINA_FALSE otherwise. + */ +EAPI Eina_Bool ewk_popup_menu_item_selected_get(const Ewk_Popup_Menu_Item *item); + #ifdef __cplusplus } #endif