summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-document.c7
-rw-r--r--libdocument/ev-document.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index 588d0d89..9353417e 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -605,6 +605,13 @@ ev_document_render (EvDocument *document,
return klass->render (document, rc);
}
+/*gchar*
+ev_web_document_render(EvDocument *document)
+{
+ Layout engine takes care of the rendering, so what we are essentially doing is serving pages to the webview
+ EvDocumentClass *klass = EV_DOCUMENT_GET_CLASS (document);
+ klass->webkit_render(document);
+}*/
const gchar *
ev_document_get_uri (EvDocument *document)
{
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index 940c7c80..578b0937 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -114,6 +114,7 @@ struct _EvDocumentClass
EvPage *page);
cairo_surface_t * (* render) (EvDocument *document,
EvRenderContext *rc);
+/* void * (*webkit_render) (EvDocument *document);*/
EvDocumentInfo * (* get_info) (EvDocument *document);
gboolean (* get_backend_info)(EvDocument *document,
EvDocumentBackendInfo *info);