/
webview_tag.cljs
109 lines (72 loc) · 3.35 KB
/
webview_tag.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
(ns chromex.app.webview-tag (:require-macros [chromex.app.webview-tag :refer [gen-wrap]])
(:require [chromex.core]))
; -- properties -------------------------------------------------------------------------------------------------------------
(defn content-window* [config]
(gen-wrap :property ::content-window config))
(defn request* [config]
(gen-wrap :property ::request config))
(defn context-menus* [config]
(gen-wrap :property ::context-menus config))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn get-audio-state* [config]
(gen-wrap :function ::get-audio-state config))
(defn set-audio-muted* [config mute]
(gen-wrap :function ::set-audio-muted config mute))
(defn is-audio-muted* [config]
(gen-wrap :function ::is-audio-muted config))
(defn capture-visible-region* [config options]
(gen-wrap :function ::capture-visible-region config options))
(defn add-content-scripts* [config content-script-list]
(gen-wrap :function ::add-content-scripts config content-script-list))
(defn back* [config]
(gen-wrap :function ::back config))
(defn can-go-back* [config]
(gen-wrap :function ::can-go-back config))
(defn can-go-forward* [config]
(gen-wrap :function ::can-go-forward config))
(defn clear-data* [config options types]
(gen-wrap :function ::clear-data config options types))
(defn execute-script* [config details]
(gen-wrap :function ::execute-script config details))
(defn find* [config search-text options]
(gen-wrap :function ::find config search-text options))
(defn forward* [config]
(gen-wrap :function ::forward config))
(defn get-process-id* [config]
(gen-wrap :function ::get-process-id config))
(defn get-user-agent* [config]
(gen-wrap :function ::get-user-agent config))
(defn get-zoom* [config]
(gen-wrap :function ::get-zoom config))
(defn get-zoom-mode* [config]
(gen-wrap :function ::get-zoom-mode config))
(defn go* [config relative-index]
(gen-wrap :function ::go config relative-index))
(defn insert-css* [config details]
(gen-wrap :function ::insert-css config details))
(defn is-user-agent-overridden* [config]
(gen-wrap :function ::is-user-agent-overridden config))
(defn print* [config]
(gen-wrap :function ::print config))
(defn reload* [config]
(gen-wrap :function ::reload config))
(defn remove-content-scripts* [config script-name-list]
(gen-wrap :function ::remove-content-scripts config script-name-list))
(defn set-user-agent-override* [config user-agent]
(gen-wrap :function ::set-user-agent-override config user-agent))
(defn set-zoom* [config zoom-factor]
(gen-wrap :function ::set-zoom config zoom-factor))
(defn set-zoom-mode* [config zoom-mode]
(gen-wrap :function ::set-zoom-mode config zoom-mode))
(defn stop* [config]
(gen-wrap :function ::stop config))
(defn stop-finding* [config action]
(gen-wrap :function ::stop-finding config action))
(defn load-data-with-base-url* [config data-url base-url virtual-url]
(gen-wrap :function ::load-data-with-base-url config data-url base-url virtual-url))
(defn set-spatial-navigation-enabled* [config enabled]
(gen-wrap :function ::set-spatial-navigation-enabled config enabled))
(defn is-spatial-navigation-enabled* [config]
(gen-wrap :function ::is-spatial-navigation-enabled config))
(defn terminate* [config]
(gen-wrap :function ::terminate config))