aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-web-view.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-08-09 01:33:08 +0800
committerDan Vrátil <dvratil@redhat.com>2012-08-09 01:39:27 +0800
commit967b238b77c1912c33e1a508781d9124b9e351a7 (patch)
tree71bbf3a185a1cbe047cf97f60f38fa504bc2a51f /widgets/misc/e-web-view.h
parentb24af8b9cd942e50c43c61e7e688fda175ea858f (diff)
downloadgsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar.gz
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar.bz2
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar.lz
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar.xz
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.tar.zst
gsoc2013-evolution-967b238b77c1912c33e1a508781d9124b9e351a7.zip
Remove all references to JavaScriptCore and use of JavaScript
JavaScript is disabled in EWebView, so any attempt to evaluate a JavaScript code will fail. We are using DOM bindings instead to interact with the document. This commit removes some helper functions created in the early days of WebKit port which are not used anymore and also fixes mail-to-task plugin, which was relying on some JavaScript.
Diffstat (limited to 'widgets/misc/e-web-view.h')
-rw-r--r--widgets/misc/e-web-view.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/widgets/misc/e-web-view.h b/widgets/misc/e-web-view.h
index 66e65c2df5..bb67a12404 100644
--- a/widgets/misc/e-web-view.h
+++ b/widgets/misc/e-web-view.h
@@ -28,7 +28,6 @@
#define E_WEB_VIEW_H
#include <webkit/webkit.h>
-#include <JavaScriptCore/JavaScript.h>
/* Standard GObject macros */
#define E_TYPE_WEB_VIEW \
@@ -125,19 +124,6 @@ void e_web_view_frame_load_uri (EWebView *web_view,
const gchar *uri);
const gchar * e_web_view_frame_get_uri (EWebView *web_view,
const gchar *frame_name);
-JSGlobalContextRef
- e_web_view_get_global_context (EWebView *web_view);
-GType e_web_view_exec_script (EWebView *web_view,
- const gchar *script,
- GValue *value);
-GType e_web_view_frame_exec_script (EWebView *web_view,
- const gchar *frame_name,
- const gchar *script,
- GValue *value);
-void e_web_view_install_js_callback (EWebView *web_view,
- const gchar *fnc_name,
- EWebViewJSFunctionCallback callback,
- gpointer user_data);
gchar * e_web_view_get_html (EWebView *web_view);
gboolean e_web_view_get_caret_mode (EWebView *web_view);
void e_web_view_set_caret_mode (EWebView *web_view,