github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/contentsettings/bindings/import_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build wasm 5 6 package bindings 7 8 import ( 9 "unsafe" 10 11 "github.com/primecitizens/pcz/std/ffi/js" 12 ) 13 14 type ( 15 _ unsafe.Pointer 16 _ js.Ref 17 ) 18 19 //go:wasmimport plat/js/webext/contentsettings constof_AutoVerifyContentSetting 20 //go:noescape 21 func ConstOfAutoVerifyContentSetting(str js.Ref) uint32 22 23 //go:wasmimport plat/js/webext/contentsettings constof_CameraContentSetting 24 //go:noescape 25 func ConstOfCameraContentSetting(str js.Ref) uint32 26 27 //go:wasmimport plat/js/webext/contentsettings constof_Scope 28 //go:noescape 29 func ConstOfScope(str js.Ref) uint32 30 31 //go:wasmimport plat/js/webext/contentsettings store_ClearArgDetails 32 //go:noescape 33 func ClearArgDetailsJSStore( 34 ptr unsafe.Pointer, ref js.Ref) 35 36 //go:wasmimport plat/js/webext/contentsettings load_ClearArgDetails 37 //go:noescape 38 func ClearArgDetailsJSLoad( 39 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 40 41 //go:wasmimport plat/js/webext/contentsettings store_GetReturnType 42 //go:noescape 43 func GetReturnTypeJSStore( 44 ptr unsafe.Pointer, ref js.Ref) 45 46 //go:wasmimport plat/js/webext/contentsettings load_GetReturnType 47 //go:noescape 48 func GetReturnTypeJSLoad( 49 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 50 51 //go:wasmimport plat/js/webext/contentsettings store_ResourceIdentifier 52 //go:noescape 53 func ResourceIdentifierJSStore( 54 ptr unsafe.Pointer, ref js.Ref) 55 56 //go:wasmimport plat/js/webext/contentsettings load_ResourceIdentifier 57 //go:noescape 58 func ResourceIdentifierJSLoad( 59 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 60 61 //go:wasmimport plat/js/webext/contentsettings store_GetArgDetails 62 //go:noescape 63 func GetArgDetailsJSStore( 64 ptr unsafe.Pointer, ref js.Ref) 65 66 //go:wasmimport plat/js/webext/contentsettings load_GetArgDetails 67 //go:noescape 68 func GetArgDetailsJSLoad( 69 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 70 71 //go:wasmimport plat/js/webext/contentsettings store_SetArgDetails 72 //go:noescape 73 func SetArgDetailsJSStore( 74 ptr unsafe.Pointer, ref js.Ref) 75 76 //go:wasmimport plat/js/webext/contentsettings load_SetArgDetails 77 //go:noescape 78 func SetArgDetailsJSLoad( 79 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 80 81 //go:wasmimport plat/js/webext/contentsettings has_ContentSetting_Clear 82 //go:noescape 83 func HasFuncContentSettingClear(this js.Ref) js.Ref 84 85 //go:wasmimport plat/js/webext/contentsettings func_ContentSetting_Clear 86 //go:noescape 87 func FuncContentSettingClear(this js.Ref, fn unsafe.Pointer) 88 89 //go:wasmimport plat/js/webext/contentsettings call_ContentSetting_Clear 90 //go:noescape 91 func CallContentSettingClear( 92 this js.Ref, retPtr unsafe.Pointer, 93 details unsafe.Pointer) 94 95 //go:wasmimport plat/js/webext/contentsettings try_ContentSetting_Clear 96 //go:noescape 97 func TryContentSettingClear( 98 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 99 details unsafe.Pointer) (ok js.Ref) 100 101 //go:wasmimport plat/js/webext/contentsettings has_ContentSetting_Get 102 //go:noescape 103 func HasFuncContentSettingGet(this js.Ref) js.Ref 104 105 //go:wasmimport plat/js/webext/contentsettings func_ContentSetting_Get 106 //go:noescape 107 func FuncContentSettingGet(this js.Ref, fn unsafe.Pointer) 108 109 //go:wasmimport plat/js/webext/contentsettings call_ContentSetting_Get 110 //go:noescape 111 func CallContentSettingGet( 112 this js.Ref, retPtr unsafe.Pointer, 113 details unsafe.Pointer) 114 115 //go:wasmimport plat/js/webext/contentsettings try_ContentSetting_Get 116 //go:noescape 117 func TryContentSettingGet( 118 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 119 details unsafe.Pointer) (ok js.Ref) 120 121 //go:wasmimport plat/js/webext/contentsettings has_ContentSetting_Set 122 //go:noescape 123 func HasFuncContentSettingSet(this js.Ref) js.Ref 124 125 //go:wasmimport plat/js/webext/contentsettings func_ContentSetting_Set 126 //go:noescape 127 func FuncContentSettingSet(this js.Ref, fn unsafe.Pointer) 128 129 //go:wasmimport plat/js/webext/contentsettings call_ContentSetting_Set 130 //go:noescape 131 func CallContentSettingSet( 132 this js.Ref, retPtr unsafe.Pointer, 133 details unsafe.Pointer) 134 135 //go:wasmimport plat/js/webext/contentsettings try_ContentSetting_Set 136 //go:noescape 137 func TryContentSettingSet( 138 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 139 details unsafe.Pointer) (ok js.Ref) 140 141 //go:wasmimport plat/js/webext/contentsettings has_ContentSetting_GetResourceIdentifiers 142 //go:noescape 143 func HasFuncContentSettingGetResourceIdentifiers(this js.Ref) js.Ref 144 145 //go:wasmimport plat/js/webext/contentsettings func_ContentSetting_GetResourceIdentifiers 146 //go:noescape 147 func FuncContentSettingGetResourceIdentifiers(this js.Ref, fn unsafe.Pointer) 148 149 //go:wasmimport plat/js/webext/contentsettings call_ContentSetting_GetResourceIdentifiers 150 //go:noescape 151 func CallContentSettingGetResourceIdentifiers( 152 this js.Ref, retPtr unsafe.Pointer) 153 154 //go:wasmimport plat/js/webext/contentsettings try_ContentSetting_GetResourceIdentifiers 155 //go:noescape 156 func TryContentSettingGetResourceIdentifiers( 157 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 158 159 //go:wasmimport plat/js/webext/contentsettings constof_CookiesContentSetting 160 //go:noescape 161 func ConstOfCookiesContentSetting(str js.Ref) uint32 162 163 //go:wasmimport plat/js/webext/contentsettings constof_FullscreenContentSetting 164 //go:noescape 165 func ConstOfFullscreenContentSetting(str js.Ref) uint32 166 167 //go:wasmimport plat/js/webext/contentsettings constof_ImagesContentSetting 168 //go:noescape 169 func ConstOfImagesContentSetting(str js.Ref) uint32 170 171 //go:wasmimport plat/js/webext/contentsettings constof_JavascriptContentSetting 172 //go:noescape 173 func ConstOfJavascriptContentSetting(str js.Ref) uint32 174 175 //go:wasmimport plat/js/webext/contentsettings constof_LocationContentSetting 176 //go:noescape 177 func ConstOfLocationContentSetting(str js.Ref) uint32 178 179 //go:wasmimport plat/js/webext/contentsettings constof_MicrophoneContentSetting 180 //go:noescape 181 func ConstOfMicrophoneContentSetting(str js.Ref) uint32 182 183 //go:wasmimport plat/js/webext/contentsettings constof_MouselockContentSetting 184 //go:noescape 185 func ConstOfMouselockContentSetting(str js.Ref) uint32 186 187 //go:wasmimport plat/js/webext/contentsettings constof_MultipleAutomaticDownloadsContentSetting 188 //go:noescape 189 func ConstOfMultipleAutomaticDownloadsContentSetting(str js.Ref) uint32 190 191 //go:wasmimport plat/js/webext/contentsettings constof_NotificationsContentSetting 192 //go:noescape 193 func ConstOfNotificationsContentSetting(str js.Ref) uint32 194 195 //go:wasmimport plat/js/webext/contentsettings constof_PluginsContentSetting 196 //go:noescape 197 func ConstOfPluginsContentSetting(str js.Ref) uint32 198 199 //go:wasmimport plat/js/webext/contentsettings constof_PopupsContentSetting 200 //go:noescape 201 func ConstOfPopupsContentSetting(str js.Ref) uint32 202 203 //go:wasmimport plat/js/webext/contentsettings constof_PpapiBrokerContentSetting 204 //go:noescape 205 func ConstOfPpapiBrokerContentSetting(str js.Ref) uint32 206 207 //go:wasmimport plat/js/webext/contentsettings get_AutoVerify 208 //go:noescape 209 func GetAutoVerify(retPtr unsafe.Pointer) js.Ref 210 211 //go:wasmimport plat/js/webext/contentsettings set_AutoVerify 212 //go:noescape 213 func SetAutoVerify( 214 val js.Ref) js.Ref 215 216 //go:wasmimport plat/js/webext/contentsettings get_AutomaticDownloads 217 //go:noescape 218 func GetAutomaticDownloads(retPtr unsafe.Pointer) js.Ref 219 220 //go:wasmimport plat/js/webext/contentsettings set_AutomaticDownloads 221 //go:noescape 222 func SetAutomaticDownloads( 223 val js.Ref) js.Ref 224 225 //go:wasmimport plat/js/webext/contentsettings get_Camera 226 //go:noescape 227 func GetCamera(retPtr unsafe.Pointer) js.Ref 228 229 //go:wasmimport plat/js/webext/contentsettings set_Camera 230 //go:noescape 231 func SetCamera( 232 val js.Ref) js.Ref 233 234 //go:wasmimport plat/js/webext/contentsettings get_Cookies 235 //go:noescape 236 func GetCookies(retPtr unsafe.Pointer) js.Ref 237 238 //go:wasmimport plat/js/webext/contentsettings set_Cookies 239 //go:noescape 240 func SetCookies( 241 val js.Ref) js.Ref 242 243 //go:wasmimport plat/js/webext/contentsettings get_Fullscreen 244 //go:noescape 245 func GetFullscreen(retPtr unsafe.Pointer) js.Ref 246 247 //go:wasmimport plat/js/webext/contentsettings set_Fullscreen 248 //go:noescape 249 func SetFullscreen( 250 val js.Ref) js.Ref 251 252 //go:wasmimport plat/js/webext/contentsettings get_Images 253 //go:noescape 254 func GetImages(retPtr unsafe.Pointer) js.Ref 255 256 //go:wasmimport plat/js/webext/contentsettings set_Images 257 //go:noescape 258 func SetImages( 259 val js.Ref) js.Ref 260 261 //go:wasmimport plat/js/webext/contentsettings get_Javascript 262 //go:noescape 263 func GetJavascript(retPtr unsafe.Pointer) js.Ref 264 265 //go:wasmimport plat/js/webext/contentsettings set_Javascript 266 //go:noescape 267 func SetJavascript( 268 val js.Ref) js.Ref 269 270 //go:wasmimport plat/js/webext/contentsettings get_Location 271 //go:noescape 272 func GetLocation(retPtr unsafe.Pointer) js.Ref 273 274 //go:wasmimport plat/js/webext/contentsettings set_Location 275 //go:noescape 276 func SetLocation( 277 val js.Ref) js.Ref 278 279 //go:wasmimport plat/js/webext/contentsettings get_Microphone 280 //go:noescape 281 func GetMicrophone(retPtr unsafe.Pointer) js.Ref 282 283 //go:wasmimport plat/js/webext/contentsettings set_Microphone 284 //go:noescape 285 func SetMicrophone( 286 val js.Ref) js.Ref 287 288 //go:wasmimport plat/js/webext/contentsettings get_Mouselock 289 //go:noescape 290 func GetMouselock(retPtr unsafe.Pointer) js.Ref 291 292 //go:wasmimport plat/js/webext/contentsettings set_Mouselock 293 //go:noescape 294 func SetMouselock( 295 val js.Ref) js.Ref 296 297 //go:wasmimport plat/js/webext/contentsettings get_Notifications 298 //go:noescape 299 func GetNotifications(retPtr unsafe.Pointer) js.Ref 300 301 //go:wasmimport plat/js/webext/contentsettings set_Notifications 302 //go:noescape 303 func SetNotifications( 304 val js.Ref) js.Ref 305 306 //go:wasmimport plat/js/webext/contentsettings get_Plugins 307 //go:noescape 308 func GetPlugins(retPtr unsafe.Pointer) js.Ref 309 310 //go:wasmimport plat/js/webext/contentsettings set_Plugins 311 //go:noescape 312 func SetPlugins( 313 val js.Ref) js.Ref 314 315 //go:wasmimport plat/js/webext/contentsettings get_Popups 316 //go:noescape 317 func GetPopups(retPtr unsafe.Pointer) js.Ref 318 319 //go:wasmimport plat/js/webext/contentsettings set_Popups 320 //go:noescape 321 func SetPopups( 322 val js.Ref) js.Ref 323 324 //go:wasmimport plat/js/webext/contentsettings get_UnsandboxedPlugins 325 //go:noescape 326 func GetUnsandboxedPlugins(retPtr unsafe.Pointer) js.Ref 327 328 //go:wasmimport plat/js/webext/contentsettings set_UnsandboxedPlugins 329 //go:noescape 330 func SetUnsandboxedPlugins( 331 val js.Ref) js.Ref