771 /**
772 * WebKitWebView::load-done:
773 * @web_view: the #WebKitWebView
774 * @frame: the frame the that is done loading
775 * @request_uri: the originally requested uri
776 * @provisional: whether the load was provisional, i.e. no data received
777 * @error: an error if applicable, or %NULL
778 *
779 * When a #WebKitWebFrame is done loading this signal is emitted.
780 *
781 * If the loading failed for some reason, error is not %NULL.
782 */
783 webkit_web_view_signals[LOAD_DONE] = g_signal_new("load-done",
784 G_TYPE_FROM_CLASS(webViewClass),
785 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION),
786 G_STRUCT_OFFSET(WebKitWebViewClass, load_done),
787 NULL,
788 NULL,
789 webkit_marshal_VOID__OBJECT_STRING_BOOLEAN_POINTER,
790 G_TYPE_NONE, 4,
791 WEBKIT_TYPE_WEB_FRAME,
792 G_TYPE_STRING,
793 G_TYPE_BOOLEAN,
794 G_TYPE_POINTER);
795
796 /**
797 * WebKitWebView::redirect-scheduled:
798 * @web_view: the #WebKitWebView
799 * @frame: the frame the redirect was scheduled for
800 * @destination_uri: the destination of the redirect
801 * @time: the time the redirect was scheduled
802 * @delay: the time in seconds remaining until the redirect
803 *
804 * When a server redirect on #WebKitWebFrame is scheduled this signal
805 * is emitted. You can use the provided information to provide an
806 * interface with visual information about the redirect.
807 */
808 webkit_web_view_signals[REDIRECT_SCHEDULED] = g_signal_new("redirect-scheduled",
809 G_TYPE_FROM_CLASS(webViewClass),
810 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION),
811 G_STRUCT_OFFSET(WebKitWebViewClass, redirect_scheduled),
812 NULL,
813 NULL,
814 webkit_marshal_VOID__OBJECT_STRING_UINT_UINT,
815 G_TYPE_NONE, 4,
816 WEBKIT_TYPE_WEB_FRAME,
817 G_TYPE_STRING,
818 G_TYPE_UINT,
819 G_TYPE_UINT);
820
821 /**
822 * WebKitWebView::redirect-done:
823 * @web_view: the #WebKitWebView
824 * @frame: the frame the redirect occured to
825 *
826 * When a server redirect on #WebKitWebFrame was performed
827 * successfully this signal is emitted.
828 */
829 webkit_web_view_signals[REDIRECT_DONE] = g_signal_new("redirect-done",
830 G_TYPE_FROM_CLASS(webViewClass),
831 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION),
832 G_STRUCT_OFFSET(WebKitWebViewClass, redirect_done),
833 NULL,
834 NULL,
835 g_cclosure_marshal_VOID__OBJECT,
836 G_TYPE_NONE, 1,
837 WEBKIT_TYPE_WEB_FRAME);
838
839 /**
840 * WebKitWebView::redirect-cancelled:
841 * @web_view: the #WebKitWebView
842 * @frame: the frame the redirect was cancelled in
843 *
844 * When a server redirect on #WebKitWebFrame was cancelled this signal is emitted.
845 */
846 webkit_web_view_signals[REDIRECT_CANCELLED] = g_signal_new("redirect-cancelled",
847 G_TYPE_FROM_CLASS(webViewClass),
848 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION),
849 G_STRUCT_OFFSET(WebKitWebViewClass, redirect_cancelled),
850 NULL,
851 NULL,
852 g_cclosure_marshal_VOID__OBJECT,
853 G_TYPE_NONE, 1,
854 WEBKIT_TYPE_WEB_FRAME);
855
856 /**
857 * WebKitWebView::document-load-done:
858 * @web_view: the #WebKitWebView
859 * @frame: the frame the document was loaded of
860 *
861 * When the document of a #WebKitWebFrame was loaded this signal is
862 * emitted. This does not necessarily mean that all subresources were loaded.
863 */
864 webkit_web_view_signals[DOCUMENT_LOAD_DONE] = g_signal_new("document-load-done",