ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk navigation policy decision API. More...
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_Navigation_Policy_Decision |
Enumerations | |
enum | Ewk_Navigation_Type { EWK_NAVIGATION_TYPE_LINK_ACTIVATED, EWK_NAVIGATION_TYPE_FORM_SUBMITTED, EWK_NAVIGATION_TYPE_BACK_FORWARD, EWK_NAVIGATION_TYPE_RELOAD, EWK_NAVIGATION_TYPE_FORM_RESUBMITTED, EWK_NAVIGATION_TYPE_OTHER } |
Enum containing navigation types. | |
enum | Ewk_Event_Mouse_Button { EWK_EVENT_MOUSE_BUTTON_NONE = -1, EWK_EVENT_MOUSE_BUTTON_LEFT = 0, EWK_EVENT_MOUSE_BUTTON_MIDDLE = 1, EWK_EVENT_MOUSE_BUTTON_RIGHT = 2 } |
Enum containing button types. | |
enum | Ewk_Event_Modifiers { EWK_EVENT_MODIFIER_NONE = 0, EWK_EVENT_MODIFIER_SHIFT = 1 << 0, EWK_EVENT_MODIFIER_CTRL = 1 << 1, EWK_EVENT_MODIFIER_ALT = 1 << 2, EWK_EVENT_MODIFIER_META = 1 << 3 } |
Enum containing modifier key. | |
Functions | |
EAPI Ewk_Navigation_Type | ewk_navigation_policy_navigation_type_get (const Ewk_Navigation_Policy_Decision *decision) |
EAPI Ewk_Event_Mouse_Button | ewk_navigation_policy_mouse_button_get (const Ewk_Navigation_Policy_Decision *decision) |
EAPI Ewk_Event_Modifiers | ewk_navigation_policy_modifiers_get (const Ewk_Navigation_Policy_Decision *decision) |
EAPI const char * | ewk_navigation_policy_frame_name_get (const Ewk_Navigation_Policy_Decision *decision) |
EAPI Ewk_Url_Request * | ewk_navigation_policy_request_get (const Ewk_Navigation_Policy_Decision *decision) |
EAPI void | ewk_navigation_policy_decision_accept (Ewk_Navigation_Policy_Decision *decision) |
EAPI void | ewk_navigation_policy_decision_reject (Ewk_Navigation_Policy_Decision *decision) |
EAPI void | ewk_navigation_policy_decision_download (Ewk_Navigation_Policy_Decision *decision) |
Describes the Ewk navigation policy decision API.
typedef struct EwkObject Ewk_Navigation_Policy_Decision |
Declare Ewk_Navigation_Policy_Decision as Ewk_Object.
EAPI void ewk_navigation_policy_decision_accept | ( | Ewk_Navigation_Policy_Decision * | decision) |
Accepts the navigation request.
The navigation will be accepted by default.
decision | navigation policy decision object to query. |
EAPI void ewk_navigation_policy_decision_download | ( | Ewk_Navigation_Policy_Decision * | decision) |
Triggers a download instead of navigating to the url.
decision | navigation policy decision object to query. |
EAPI void ewk_navigation_policy_decision_reject | ( | Ewk_Navigation_Policy_Decision * | decision) |
Rejects the navigation request.
decision | navigation policy decision object to query. |
EAPI const char* ewk_navigation_policy_frame_name_get | ( | const Ewk_Navigation_Policy_Decision * | decision) |
Query frame name for this navigation policy decision.
The frame name is non-null for new window policy decisions only.
decision | navigation policy decision object to query. |
NULL
. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup(). EAPI Ewk_Event_Modifiers ewk_navigation_policy_modifiers_get | ( | const Ewk_Navigation_Policy_Decision * | decision) |
Query modifier keys for this navigation policy decision.
decision | navigation policy decision object to query. |
EAPI Ewk_Event_Mouse_Button ewk_navigation_policy_mouse_button_get | ( | const Ewk_Navigation_Policy_Decision * | decision) |
Query mouse button for this navigation policy decision.
decision | navigation policy decision object to query. |
EAPI Ewk_Navigation_Type ewk_navigation_policy_navigation_type_get | ( | const Ewk_Navigation_Policy_Decision * | decision) |
Query type for this navigation policy decision.
decision | navigation policy decision object to query. |
EAPI Ewk_Url_Request* ewk_navigation_policy_request_get | ( | const Ewk_Navigation_Policy_Decision * | decision) |
Query URL request for this navigation policy decision.
decision | navigation policy decision object to query. |
NULL
in case of error.