Class WebKitGTK


  • public class WebKitGTK
    extends C
    • Field Detail

      • LibraryLoaded

        public static boolean LibraryLoaded
      • swtWebkitGlueCodeVersion

        public static final java.lang.String swtWebkitGlueCodeVersion
        Internal version of "Webkit glue code", used mainly during webkit2 port. Used to make it easier to support users on bugzilla. Updated by hand.
        See Also:
        Constant Field Values
      • swtWebkitGlueCodeVersionInfo

        public static final java.lang.String swtWebkitGlueCodeVersionInfo
        See Also:
        Constant Field Values
      • WEBKIT_DOWNLOAD_STATUS_ERROR

        public static final int WEBKIT_DOWNLOAD_STATUS_ERROR
        See Also:
        Constant Field Values
      • WEBKIT_DOWNLOAD_STATUS_CANCELLED

        public static final int WEBKIT_DOWNLOAD_STATUS_CANCELLED
        See Also:
        Constant Field Values
      • WEBKIT_DOWNLOAD_STATUS_FINISHED

        public static final int WEBKIT_DOWNLOAD_STATUS_FINISHED
        See Also:
        Constant Field Values
      • WEBKIT2_LOAD_REDIRECTED

        public static final int WEBKIT2_LOAD_REDIRECTED
        See Also:
        Constant Field Values
      • WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION

        public static final int WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION
        See Also:
        Constant Field Values
      • WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION

        public static final int WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION
        See Also:
        Constant Field Values
      • WEBKIT_POLICY_DECISION_TYPE_RESPONSE

        public static final int WEBKIT_POLICY_DECISION_TYPE_RESPONSE
        See Also:
        Constant Field Values
      • WEBKIT_CREDENTIAL_PERSISTENCE_NONE

        public static final int WEBKIT_CREDENTIAL_PERSISTENCE_NONE
        See Also:
        Constant Field Values
      • WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION

        public static final int WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION
        See Also:
        Constant Field Values
      • WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT

        public static final int WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT
        See Also:
        Constant Field Values
      • WEBKIT_TLS_ERRORS_POLICY_IGNORE

        public static final int WEBKIT_TLS_ERRORS_POLICY_IGNORE
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_UNKNOWN_CA

        public static final int G_TLS_CERTIFICATE_UNKNOWN_CA
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_BAD_IDENTITY

        public static final int G_TLS_CERTIFICATE_BAD_IDENTITY
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_NOT_ACTIVATED

        public static final int G_TLS_CERTIFICATE_NOT_ACTIVATED
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_EXPIRED

        public static final int G_TLS_CERTIFICATE_EXPIRED
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_REVOKED

        public static final int G_TLS_CERTIFICATE_REVOKED
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_INSECURE

        public static final int G_TLS_CERTIFICATE_INSECURE
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_GENERIC_ERROR

        public static final int G_TLS_CERTIFICATE_GENERIC_ERROR
        See Also:
        Constant Field Values
      • G_TLS_CERTIFICATE_VALIDATE_ALL

        public static final int G_TLS_CERTIFICATE_VALIDATE_ALL
        See Also:
        Constant Field Values
      • WEBKIT_WEBSITE_DATA_COOKIES

        public static final int WEBKIT_WEBSITE_DATA_COOKIES
        See Also:
        Constant Field Values
      • WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START

        public static final int WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START
        See Also:
        Constant Field Values
      • WEBKIT_USER_CONTENT_INJECT_TOP_FRAME

        public static final int WEBKIT_USER_CONTENT_INJECT_TOP_FRAME
        See Also:
        Constant Field Values
      • authenticate

        public static final byte[] authenticate
        Signals
      • load_failed_with_tls_errors

        public static final byte[] load_failed_with_tls_errors
      • close

        public static final byte[] close
      • context_menu

        public static final byte[] context_menu
      • create

        public static final byte[] create
      • decide_policy

        public static final byte[] decide_policy
      • decide_destination

        public static final byte[] decide_destination
      • download_started

        public static final byte[] download_started
      • failed

        public static final byte[] failed
      • finished

        public static final byte[] finished
      • mouse_target_changed

        public static final byte[] mouse_target_changed
      • load_changed

        public static final byte[] load_changed
      • notify_estimated_load_progress

        public static final byte[] notify_estimated_load_progress
      • notify_title

        public static final byte[] notify_title
      • ready_to_show

        public static final byte[] ready_to_show
      • default_charset

        public static final byte[] default_charset
        Properties:
      • enable_javascript

        public static final byte[] enable_javascript
      • enable_developer_extras

        public static final byte[] enable_developer_extras
      • enable_webgl

        public static final byte[] enable_webgl
      • enable_back_forward_navigation_gestures

        public static final byte[] enable_back_forward_navigation_gestures
      • allow_universal_access_from_file_urls

        public static final byte[] allow_universal_access_from_file_urls
      • user_agent

        public static final byte[] user_agent
      • javascript_can_open_windows_automatically

        public static final byte[] javascript_can_open_windows_automatically
      • locationbar_visible

        public static final byte[] locationbar_visible
      • menubar_visible

        public static final byte[] menubar_visible
      • statusbar_visible

        public static final byte[] statusbar_visible
      • toolbar_visible

        public static final byte[] toolbar_visible
    • Constructor Detail

      • WebKitGTK

        public WebKitGTK()
    • Method Detail

      • ascii

        protected static byte[] ascii​(java.lang.String name)
      • JSObjectGetProperty

        public static final long JSObjectGetProperty​(long ctx,
                                                     long object,
                                                     long propertyName,
                                                     long[] exception)
      • JSObjectGetPropertyAtIndex

        public static final long JSObjectGetPropertyAtIndex​(long ctx,
                                                            long object,
                                                            int propertyIndex,
                                                            long[] exception)
      • JSStringCreateWithUTF8CString

        public static final long JSStringCreateWithUTF8CString​(byte[] string)
      • JSStringGetMaximumUTF8CStringSize

        public static final long JSStringGetMaximumUTF8CStringSize​(long string)
      • JSStringGetUTF8CString

        public static final long JSStringGetUTF8CString​(long string,
                                                        byte[] buffer,
                                                        long bufferSize)
      • JSStringRelease

        public static final void JSStringRelease​(long string)
      • webkit_javascript_result_unref

        public static final void webkit_javascript_result_unref​(long js_result)
      • JSValueGetType

        public static final int JSValueGetType​(long ctx,
                                               long value)
      • JSValueToNumber

        public static final double JSValueToNumber​(long ctx,
                                                   long value,
                                                   long[] exception)
      • JSValueToStringCopy

        public static final long JSValueToStringCopy​(long ctx,
                                                     long value,
                                                     long[] exception)
      • soup_cookie_get_name

        public static final long soup_cookie_get_name​(long cookie)
      • soup_cookie_get_value

        public static final long soup_cookie_get_value​(long cookie)
      • soup_cookie_parse

        public static final long soup_cookie_parse​(byte[] header,
                                                   long origin)
      • soup_message_headers_append

        public static final void soup_message_headers_append​(long headers,
                                                             byte[] name,
                                                             byte[] value)
      • soup_uri_free

        public static final void soup_uri_free​(long uri)
      • soup_uri_new

        public static final long soup_uri_new​(byte[] uri_string)
      • webkit_authentication_request_authenticate

        public static final void webkit_authentication_request_authenticate​(long request,
                                                                            long credential)
      • webkit_authentication_request_cancel

        public static final void webkit_authentication_request_cancel​(long request)
      • webkit_authentication_request_is_retry

        public static final boolean webkit_authentication_request_is_retry​(long request)
      • webkit_cookie_manager_add_cookie

        public static final void webkit_cookie_manager_add_cookie​(long cookie_manager,
                                                                  long cookie,
                                                                  long cancellable,
                                                                  long cb,
                                                                  long user_data)
      • webkit_cookie_manager_add_cookie_finish

        public static final boolean webkit_cookie_manager_add_cookie_finish​(long cookie_manager,
                                                                            long result,
                                                                            long[] error)
      • webkit_cookie_manager_get_cookies

        public static final void webkit_cookie_manager_get_cookies​(long cookie_manager,
                                                                   byte[] uri,
                                                                   long cancellable,
                                                                   long cb,
                                                                   long user_data)
      • webkit_cookie_manager_get_cookies_finish

        public static final long webkit_cookie_manager_get_cookies_finish​(long cookie_manager,
                                                                          long result,
                                                                          long[] error)
      • webkit_credential_free

        public static final void webkit_credential_free​(long credential)
      • webkit_web_context_allow_tls_certificate_for_host

        public static final long webkit_web_context_allow_tls_certificate_for_host​(long webKitWebContext,
                                                                                   long GTlsCertificate,
                                                                                   byte[] constGCharHost)
      • webkit_web_context_get_type

        public static final long webkit_web_context_get_type()
      • webkit_credential_new

        public static final long webkit_credential_new​(byte[] username,
                                                       byte[] password,
                                                       int persistence)
      • webkit_dom_event_target_add_event_listener

        public static final int webkit_dom_event_target_add_event_listener​(long target,
                                                                           byte[] name,
                                                                           long handler,
                                                                           int bubble,
                                                                           long userData)
      • webkit_dom_mouse_event_get_alt_key

        public static final int webkit_dom_mouse_event_get_alt_key​(long self)
      • webkit_dom_mouse_event_get_button

        public static final short webkit_dom_mouse_event_get_button​(long self)
      • webkit_dom_mouse_event_get_ctrl_key

        public static final int webkit_dom_mouse_event_get_ctrl_key​(long self)
      • webkit_dom_mouse_event_get_meta_key

        public static final int webkit_dom_mouse_event_get_meta_key​(long self)
      • webkit_dom_mouse_event_get_screen_x

        public static final long webkit_dom_mouse_event_get_screen_x​(long self)
      • webkit_dom_mouse_event_get_screen_y

        public static final long webkit_dom_mouse_event_get_screen_y​(long self)
      • webkit_dom_mouse_event_get_shift_key

        public static final int webkit_dom_mouse_event_get_shift_key​(long self)
      • webkit_dom_ui_event_get_char_code

        public static final long webkit_dom_ui_event_get_char_code​(long self)
      • webkit_dom_ui_event_get_detail

        public static final long webkit_dom_ui_event_get_detail​(long self)
      • webkit_dom_ui_event_get_key_code

        public static final long webkit_dom_ui_event_get_key_code​(long self)
      • webkit_download_cancel

        public static final void webkit_download_cancel​(long download)
      • webkit_download_get_received_data_length

        public static final long webkit_download_get_received_data_length​(long download)
      • webkit_download_get_request

        public static final long webkit_download_get_request​(long download)
      • webkit_download_get_response

        public static final long webkit_download_get_response​(long download)
      • webkit_download_get_type

        public static final long webkit_download_get_type()
      • webkit_uri_response_get_content_length

        public static final long webkit_uri_response_get_content_length​(long response)
      • webkit_download_get_web_view

        public static final long webkit_download_get_web_view​(long download)
      • webkit_download_set_allow_overwrite

        public static final void webkit_download_set_allow_overwrite​(long download,
                                                                     boolean allowed)
      • webkit_download_set_destination

        public static final void webkit_download_set_destination​(long download,
                                                                 byte[] destination_uri)
      • webkit_hit_test_result_context_is_link

        public static final boolean webkit_hit_test_result_context_is_link​(long hit_test_result)
      • webkit_hit_test_result_get_link_uri

        public static final long webkit_hit_test_result_get_link_uri​(long hit_test_result)
      • webkit_hit_test_result_get_link_title

        public static final long webkit_hit_test_result_get_link_title​(long hit_test_result)
      • webkit_get_major_version

        public static final int webkit_get_major_version()
      • webkit_get_micro_version

        public static final int webkit_get_micro_version()
      • webkit_get_minor_version

        public static final int webkit_get_minor_version()
      • webkit_navigation_policy_decision_get_request

        public static final long webkit_navigation_policy_decision_get_request​(long decision)
      • webkit_policy_decision_download

        public static final void webkit_policy_decision_download​(long decision)
      • webkit_policy_decision_ignore

        public static final void webkit_policy_decision_ignore​(long decision)
      • webkit_web_context_get_default

        public static final long webkit_web_context_get_default()
      • webkit_web_context_get_cookie_manager

        public static final long webkit_web_context_get_cookie_manager​(long context)
      • webkit_web_context_get_website_data_manager

        public static final long webkit_web_context_get_website_data_manager​(long context)
      • webkit_web_context_get_security_manager

        public static final long webkit_web_context_get_security_manager​(long context)
      • webkit_web_context_set_tls_errors_policy

        public static final void webkit_web_context_set_tls_errors_policy​(long context,
                                                                          int policy)
      • webkit_web_context_register_uri_scheme

        public static final void webkit_web_context_register_uri_scheme​(long context,
                                                                        byte[] scheme,
                                                                        long callback,
                                                                        long user_data,
                                                                        long user_data_destroy_func)
      • webkit_web_view_can_go_back

        public static final int webkit_web_view_can_go_back​(long web_view)
      • webkit_web_view_get_main_resource

        public static final long webkit_web_view_get_main_resource​(long web_view)
      • webkit_web_view_get_context

        public static final long webkit_web_view_get_context​(long web_view)
      • webkit_web_view_can_go_forward

        public static final int webkit_web_view_can_go_forward​(long web_view)
      • webkit_web_view_can_show_mime_type

        public static final int webkit_web_view_can_show_mime_type​(long web_view,
                                                                   long mime_type)
      • webkit_web_view_get_estimated_load_progress

        public static final double webkit_web_view_get_estimated_load_progress​(long web_view)
      • webkit_web_view_get_page_id

        public static final long webkit_web_view_get_page_id​(long web_view)
      • webkit_web_view_get_settings

        public static final long webkit_web_view_get_settings​(long web_view)
      • webkit_web_view_get_user_content_manager

        public static final long webkit_web_view_get_user_content_manager​(long web_view)
      • webkit_web_view_get_title

        public static final long webkit_web_view_get_title​(long web_view)
      • webkit_web_view_get_uri

        public static final long webkit_web_view_get_uri​(long web_view)
      • webkit_web_view_get_window_properties

        public static final long webkit_web_view_get_window_properties​(long webView)
      • webkit_window_properties_get_geometry

        public static final void webkit_window_properties_get_geometry​(long webKitWindowProperties,
                                                                       GdkRectangle rectangle)
        Parameters:
        rectangle - cast=(GdkRectangle *),flags=no_in
      • webkit_web_view_go_back

        public static final void webkit_web_view_go_back​(long web_view)
      • webkit_web_view_go_forward

        public static final void webkit_web_view_go_forward​(long web_view)
      • webkit_web_view_load_html

        public static final void webkit_web_view_load_html​(long web_view,
                                                           byte[] content,
                                                           byte[] base_uri)
      • webkit_web_view_load_bytes

        public static final void webkit_web_view_load_bytes​(long web_view,
                                                            long bytes,
                                                            byte[] mime_type,
                                                            byte[] encoding,
                                                            byte[] base_uri)
      • webkit_web_view_load_request

        public static final void webkit_web_view_load_request​(long web_view,
                                                              long request)
      • webkit_web_view_load_uri

        public static final void webkit_web_view_load_uri​(long web_view,
                                                          byte[] uri)
      • webkit_web_view_new

        public static final long webkit_web_view_new()
      • webkit_web_view_new_with_related_view

        public static final long webkit_web_view_new_with_related_view​(long web_view)
      • webkit_javascript_result_get_global_context

        public static final long webkit_javascript_result_get_global_context​(long js_result)
        Parameters:
        js_result - cast=(gpointer)
      • webkit_javascript_result_get_value

        public static final long webkit_javascript_result_get_value​(long js_result)
        Parameters:
        js_result - cast=(gpointer)
      • webkit_web_view_reload

        public static final void webkit_web_view_reload​(long web_view)
      • webkit_web_view_run_javascript

        public static final void webkit_web_view_run_javascript​(long web_view,
                                                                byte[] script,
                                                                long cancellable,
                                                                long callback,
                                                                long user_data)
      • webkit_web_resource_get_data

        public static final void webkit_web_resource_get_data​(long webKitWebResource,
                                                              long gCancellable,
                                                              long GAsyncReadyCallback,
                                                              long user_data)
      • webkit_web_resource_get_data_finish

        public static final long webkit_web_resource_get_data_finish​(long WebKitWebResource,
                                                                     long GAsyncResult,
                                                                     long[] gsize,
                                                                     long[] GError)
      • webkit_web_view_run_javascript_finish

        public static final long webkit_web_view_run_javascript_finish​(long web_view,
                                                                       long GAsyncResult,
                                                                       long[] gerror)
        Parameters:
        gerror - cast=(GError **)
      • webkit_web_view_stop_loading

        public static final void webkit_web_view_stop_loading​(long web_view)
      • webkit_website_data_manager_clear

        public static final void webkit_website_data_manager_clear​(long manager,
                                                                   long types,
                                                                   long timespan,
                                                                   long cancellable,
                                                                   long callback,
                                                                   long user_data)
      • webkit_response_policy_decision_get_request

        public static final long webkit_response_policy_decision_get_request​(long decision)
      • webkit_response_policy_decision_get_response

        public static final long webkit_response_policy_decision_get_response​(long decision)
      • webkit_uri_request_new

        public static final long webkit_uri_request_new​(byte[] uri)
      • webkit_uri_request_get_http_headers

        public static final long webkit_uri_request_get_http_headers​(long request)
      • webkit_uri_request_get_uri

        public static final long webkit_uri_request_get_uri​(long request)
      • webkit_uri_response_get_mime_type

        public static final long webkit_uri_response_get_mime_type​(long responce)
      • webkit_uri_scheme_request_finish

        public static final void webkit_uri_scheme_request_finish​(long request,
                                                                  long stream,
                                                                  long stream_length,
                                                                  byte[] content_type)
        Parameters:
        content_type - flags=no_out
      • webkit_uri_scheme_request_get_uri

        public static final long webkit_uri_scheme_request_get_uri​(long request)
      • webkit_uri_scheme_request_get_web_view

        public static final long webkit_uri_scheme_request_get_web_view​(long request)
      • webkit_user_content_manager_add_script

        public static final long webkit_user_content_manager_add_script​(long manager,
                                                                        long script)
      • webkit_user_content_manager_remove_all_scripts

        public static final void webkit_user_content_manager_remove_all_scripts​(long manager)
      • webkit_security_manager_register_uri_scheme_as_secure

        public static final void webkit_security_manager_register_uri_scheme_as_secure​(long security_manager,
                                                                                       byte[] scheme)
      • webkit_user_script_new

        public static final long webkit_user_script_new​(byte[] source,
                                                        int injected_frames,
                                                        int injection_time,
                                                        long allow_list,
                                                        long block_list)
        Parameters:
        source - flags=no_out
      • webkit_user_script_unref

        public static final void webkit_user_script_unref​(long user_script)
      • GdkRectangle_sizeof

        public static final int GdkRectangle_sizeof()