summaryrefslogtreecommitdiff
path: root/src/dom.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-04-13 12:17:48 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-04-13 12:20:16 +0200
commitb962907dc86fefd2db4d99ec064664d4ba92f537 (patch)
treebc76ae3f22a35d352fd63358884e453ca068a249 /src/dom.h
parentd70c8ed40a4d3be788bf24d7f576ba1044b66c45 (diff)
Added new function to get active dom element.
Change api of dom function to take the webview as parameter.
Diffstat (limited to 'src/dom.h')
-rw-r--r--src/dom.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dom.h b/src/dom.h
index 61952f5..18f9388 100644
--- a/src/dom.h
+++ b/src/dom.h
@@ -39,8 +39,9 @@ typedef struct {
gulong bottom;
} DomBoundingRect;
-void dom_check_auto_insert(void);
-void dom_clear_focus(void);
+void dom_check_auto_insert(WebKitWebView *view);
+void dom_clear_focus(WebKitWebView *view);
gboolean dom_is_editable(Element *element);
+Element *dom_get_active_element(WebKitWebView *view);
#endif /* end of include guard: _DOM_H */