github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/webviewinternal/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/webviewinternal store_InjectionItems 20 //go:noescape 21 func InjectionItemsJSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/webext/webviewinternal load_InjectionItems 25 //go:noescape 26 func InjectionItemsJSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/webext/webviewinternal store_ContentScriptDetails 30 //go:noescape 31 func ContentScriptDetailsJSStore( 32 ptr unsafe.Pointer, ref js.Ref) 33 34 //go:wasmimport plat/js/webext/webviewinternal load_ContentScriptDetails 35 //go:noescape 36 func ContentScriptDetailsJSLoad( 37 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 38 39 //go:wasmimport plat/js/webext/webviewinternal store_DataTypeSet 40 //go:noescape 41 func DataTypeSetJSStore( 42 ptr unsafe.Pointer, ref js.Ref) 43 44 //go:wasmimport plat/js/webext/webviewinternal load_DataTypeSet 45 //go:noescape 46 func DataTypeSetJSLoad( 47 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 48 49 //go:wasmimport plat/js/webext/webviewinternal store_FindArgCallbackArgResultsFieldSelectionRect 50 //go:noescape 51 func FindArgCallbackArgResultsFieldSelectionRectJSStore( 52 ptr unsafe.Pointer, ref js.Ref) 53 54 //go:wasmimport plat/js/webext/webviewinternal load_FindArgCallbackArgResultsFieldSelectionRect 55 //go:noescape 56 func FindArgCallbackArgResultsFieldSelectionRectJSLoad( 57 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 58 59 //go:wasmimport plat/js/webext/webviewinternal store_FindArgCallbackArgResults 60 //go:noescape 61 func FindArgCallbackArgResultsJSStore( 62 ptr unsafe.Pointer, ref js.Ref) 63 64 //go:wasmimport plat/js/webext/webviewinternal load_FindArgCallbackArgResults 65 //go:noescape 66 func FindArgCallbackArgResultsJSLoad( 67 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 68 69 //go:wasmimport plat/js/webext/webviewinternal store_FindArgOptions 70 //go:noescape 71 func FindArgOptionsJSStore( 72 ptr unsafe.Pointer, ref js.Ref) 73 74 //go:wasmimport plat/js/webext/webviewinternal load_FindArgOptions 75 //go:noescape 76 func FindArgOptionsJSLoad( 77 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 78 79 //go:wasmimport plat/js/webext/webviewinternal constof_ZoomMode 80 //go:noescape 81 func ConstOfZoomMode(str js.Ref) uint32 82 83 //go:wasmimport plat/js/webext/webviewinternal get_MAX_CAPTURE_VISIBLE_REGION_CALLS_PER_SECOND 84 //go:noescape 85 func GetMAX_CAPTURE_VISIBLE_REGION_CALLS_PER_SECOND(retPtr unsafe.Pointer) js.Ref 86 87 //go:wasmimport plat/js/webext/webviewinternal set_MAX_CAPTURE_VISIBLE_REGION_CALLS_PER_SECOND 88 //go:noescape 89 func SetMAX_CAPTURE_VISIBLE_REGION_CALLS_PER_SECOND( 90 val js.Ref) js.Ref 91 92 //go:wasmimport plat/js/webext/webviewinternal store_RemovalOptions 93 //go:noescape 94 func RemovalOptionsJSStore( 95 ptr unsafe.Pointer, ref js.Ref) 96 97 //go:wasmimport plat/js/webext/webviewinternal load_RemovalOptions 98 //go:noescape 99 func RemovalOptionsJSLoad( 100 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 101 102 //go:wasmimport plat/js/webext/webviewinternal constof_SetPermissionAction 103 //go:noescape 104 func ConstOfSetPermissionAction(str js.Ref) uint32 105 106 //go:wasmimport plat/js/webext/webviewinternal constof_StopFindingAction 107 //go:noescape 108 func ConstOfStopFindingAction(str js.Ref) uint32 109 110 //go:wasmimport plat/js/webext/webviewinternal has_AddContentScripts 111 //go:noescape 112 func HasFuncAddContentScripts() js.Ref 113 114 //go:wasmimport plat/js/webext/webviewinternal func_AddContentScripts 115 //go:noescape 116 func FuncAddContentScripts(fn unsafe.Pointer) 117 118 //go:wasmimport plat/js/webext/webviewinternal call_AddContentScripts 119 //go:noescape 120 func CallAddContentScripts( 121 retPtr unsafe.Pointer, 122 instanceId float64, 123 contentScriptList js.Ref) 124 125 //go:wasmimport plat/js/webext/webviewinternal try_AddContentScripts 126 //go:noescape 127 func TryAddContentScripts( 128 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 129 instanceId float64, 130 contentScriptList js.Ref) (ok js.Ref) 131 132 //go:wasmimport plat/js/webext/webviewinternal has_CaptureVisibleRegion 133 //go:noescape 134 func HasFuncCaptureVisibleRegion() js.Ref 135 136 //go:wasmimport plat/js/webext/webviewinternal func_CaptureVisibleRegion 137 //go:noescape 138 func FuncCaptureVisibleRegion(fn unsafe.Pointer) 139 140 //go:wasmimport plat/js/webext/webviewinternal call_CaptureVisibleRegion 141 //go:noescape 142 func CallCaptureVisibleRegion( 143 retPtr unsafe.Pointer, 144 instanceId float64, 145 options unsafe.Pointer, 146 callback js.Ref) 147 148 //go:wasmimport plat/js/webext/webviewinternal try_CaptureVisibleRegion 149 //go:noescape 150 func TryCaptureVisibleRegion( 151 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 152 instanceId float64, 153 options unsafe.Pointer, 154 callback js.Ref) (ok js.Ref) 155 156 //go:wasmimport plat/js/webext/webviewinternal has_ClearData 157 //go:noescape 158 func HasFuncClearData() js.Ref 159 160 //go:wasmimport plat/js/webext/webviewinternal func_ClearData 161 //go:noescape 162 func FuncClearData(fn unsafe.Pointer) 163 164 //go:wasmimport plat/js/webext/webviewinternal call_ClearData 165 //go:noescape 166 func CallClearData( 167 retPtr unsafe.Pointer, 168 instanceId float64, 169 options unsafe.Pointer, 170 dataToRemove unsafe.Pointer, 171 callback js.Ref) 172 173 //go:wasmimport plat/js/webext/webviewinternal try_ClearData 174 //go:noescape 175 func TryClearData( 176 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 177 instanceId float64, 178 options unsafe.Pointer, 179 dataToRemove unsafe.Pointer, 180 callback js.Ref) (ok js.Ref) 181 182 //go:wasmimport plat/js/webext/webviewinternal has_ExecuteScript 183 //go:noescape 184 func HasFuncExecuteScript() js.Ref 185 186 //go:wasmimport plat/js/webext/webviewinternal func_ExecuteScript 187 //go:noescape 188 func FuncExecuteScript(fn unsafe.Pointer) 189 190 //go:wasmimport plat/js/webext/webviewinternal call_ExecuteScript 191 //go:noescape 192 func CallExecuteScript( 193 retPtr unsafe.Pointer, 194 instanceId float64, 195 src js.Ref, 196 details unsafe.Pointer, 197 callback js.Ref) 198 199 //go:wasmimport plat/js/webext/webviewinternal try_ExecuteScript 200 //go:noescape 201 func TryExecuteScript( 202 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 203 instanceId float64, 204 src js.Ref, 205 details unsafe.Pointer, 206 callback js.Ref) (ok js.Ref) 207 208 //go:wasmimport plat/js/webext/webviewinternal has_Find 209 //go:noescape 210 func HasFuncFind() js.Ref 211 212 //go:wasmimport plat/js/webext/webviewinternal func_Find 213 //go:noescape 214 func FuncFind(fn unsafe.Pointer) 215 216 //go:wasmimport plat/js/webext/webviewinternal call_Find 217 //go:noescape 218 func CallFind( 219 retPtr unsafe.Pointer, 220 instanceId float64, 221 searchText js.Ref, 222 options unsafe.Pointer, 223 callback js.Ref) 224 225 //go:wasmimport plat/js/webext/webviewinternal try_Find 226 //go:noescape 227 func TryFind( 228 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 229 instanceId float64, 230 searchText js.Ref, 231 options unsafe.Pointer, 232 callback js.Ref) (ok js.Ref) 233 234 //go:wasmimport plat/js/webext/webviewinternal has_GetAudioState 235 //go:noescape 236 func HasFuncGetAudioState() js.Ref 237 238 //go:wasmimport plat/js/webext/webviewinternal func_GetAudioState 239 //go:noescape 240 func FuncGetAudioState(fn unsafe.Pointer) 241 242 //go:wasmimport plat/js/webext/webviewinternal call_GetAudioState 243 //go:noescape 244 func CallGetAudioState( 245 retPtr unsafe.Pointer, 246 instanceId float64, 247 callback js.Ref) 248 249 //go:wasmimport plat/js/webext/webviewinternal try_GetAudioState 250 //go:noescape 251 func TryGetAudioState( 252 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 253 instanceId float64, 254 callback js.Ref) (ok js.Ref) 255 256 //go:wasmimport plat/js/webext/webviewinternal has_GetZoom 257 //go:noescape 258 func HasFuncGetZoom() js.Ref 259 260 //go:wasmimport plat/js/webext/webviewinternal func_GetZoom 261 //go:noescape 262 func FuncGetZoom(fn unsafe.Pointer) 263 264 //go:wasmimport plat/js/webext/webviewinternal call_GetZoom 265 //go:noescape 266 func CallGetZoom( 267 retPtr unsafe.Pointer, 268 instanceId float64, 269 callback js.Ref) 270 271 //go:wasmimport plat/js/webext/webviewinternal try_GetZoom 272 //go:noescape 273 func TryGetZoom( 274 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 275 instanceId float64, 276 callback js.Ref) (ok js.Ref) 277 278 //go:wasmimport plat/js/webext/webviewinternal has_GetZoomMode 279 //go:noescape 280 func HasFuncGetZoomMode() js.Ref 281 282 //go:wasmimport plat/js/webext/webviewinternal func_GetZoomMode 283 //go:noescape 284 func FuncGetZoomMode(fn unsafe.Pointer) 285 286 //go:wasmimport plat/js/webext/webviewinternal call_GetZoomMode 287 //go:noescape 288 func CallGetZoomMode( 289 retPtr unsafe.Pointer, 290 instanceId float64, 291 callback js.Ref) 292 293 //go:wasmimport plat/js/webext/webviewinternal try_GetZoomMode 294 //go:noescape 295 func TryGetZoomMode( 296 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 297 instanceId float64, 298 callback js.Ref) (ok js.Ref) 299 300 //go:wasmimport plat/js/webext/webviewinternal has_Go 301 //go:noescape 302 func HasFuncGo() js.Ref 303 304 //go:wasmimport plat/js/webext/webviewinternal func_Go 305 //go:noescape 306 func FuncGo(fn unsafe.Pointer) 307 308 //go:wasmimport plat/js/webext/webviewinternal call_Go 309 //go:noescape 310 func CallGo( 311 retPtr unsafe.Pointer, 312 instanceId float64, 313 relativeIndex float64, 314 callback js.Ref) 315 316 //go:wasmimport plat/js/webext/webviewinternal try_Go 317 //go:noescape 318 func TryGo( 319 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 320 instanceId float64, 321 relativeIndex float64, 322 callback js.Ref) (ok js.Ref) 323 324 //go:wasmimport plat/js/webext/webviewinternal has_InsertCSS 325 //go:noescape 326 func HasFuncInsertCSS() js.Ref 327 328 //go:wasmimport plat/js/webext/webviewinternal func_InsertCSS 329 //go:noescape 330 func FuncInsertCSS(fn unsafe.Pointer) 331 332 //go:wasmimport plat/js/webext/webviewinternal call_InsertCSS 333 //go:noescape 334 func CallInsertCSS( 335 retPtr unsafe.Pointer, 336 instanceId float64, 337 src js.Ref, 338 details unsafe.Pointer, 339 callback js.Ref) 340 341 //go:wasmimport plat/js/webext/webviewinternal try_InsertCSS 342 //go:noescape 343 func TryInsertCSS( 344 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 345 instanceId float64, 346 src js.Ref, 347 details unsafe.Pointer, 348 callback js.Ref) (ok js.Ref) 349 350 //go:wasmimport plat/js/webext/webviewinternal has_IsAudioMuted 351 //go:noescape 352 func HasFuncIsAudioMuted() js.Ref 353 354 //go:wasmimport plat/js/webext/webviewinternal func_IsAudioMuted 355 //go:noescape 356 func FuncIsAudioMuted(fn unsafe.Pointer) 357 358 //go:wasmimport plat/js/webext/webviewinternal call_IsAudioMuted 359 //go:noescape 360 func CallIsAudioMuted( 361 retPtr unsafe.Pointer, 362 instanceId float64, 363 callback js.Ref) 364 365 //go:wasmimport plat/js/webext/webviewinternal try_IsAudioMuted 366 //go:noescape 367 func TryIsAudioMuted( 368 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 369 instanceId float64, 370 callback js.Ref) (ok js.Ref) 371 372 //go:wasmimport plat/js/webext/webviewinternal has_IsSpatialNavigationEnabled 373 //go:noescape 374 func HasFuncIsSpatialNavigationEnabled() js.Ref 375 376 //go:wasmimport plat/js/webext/webviewinternal func_IsSpatialNavigationEnabled 377 //go:noescape 378 func FuncIsSpatialNavigationEnabled(fn unsafe.Pointer) 379 380 //go:wasmimport plat/js/webext/webviewinternal call_IsSpatialNavigationEnabled 381 //go:noescape 382 func CallIsSpatialNavigationEnabled( 383 retPtr unsafe.Pointer, 384 instanceId float64, 385 callback js.Ref) 386 387 //go:wasmimport plat/js/webext/webviewinternal try_IsSpatialNavigationEnabled 388 //go:noescape 389 func TryIsSpatialNavigationEnabled( 390 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 391 instanceId float64, 392 callback js.Ref) (ok js.Ref) 393 394 //go:wasmimport plat/js/webext/webviewinternal has_LoadDataWithBaseUrl 395 //go:noescape 396 func HasFuncLoadDataWithBaseUrl() js.Ref 397 398 //go:wasmimport plat/js/webext/webviewinternal func_LoadDataWithBaseUrl 399 //go:noescape 400 func FuncLoadDataWithBaseUrl(fn unsafe.Pointer) 401 402 //go:wasmimport plat/js/webext/webviewinternal call_LoadDataWithBaseUrl 403 //go:noescape 404 func CallLoadDataWithBaseUrl( 405 retPtr unsafe.Pointer, 406 instanceId float64, 407 dataUrl js.Ref, 408 baseUrl js.Ref, 409 virtualUrl js.Ref, 410 callback js.Ref) 411 412 //go:wasmimport plat/js/webext/webviewinternal try_LoadDataWithBaseUrl 413 //go:noescape 414 func TryLoadDataWithBaseUrl( 415 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 416 instanceId float64, 417 dataUrl js.Ref, 418 baseUrl js.Ref, 419 virtualUrl js.Ref, 420 callback js.Ref) (ok js.Ref) 421 422 //go:wasmimport plat/js/webext/webviewinternal has_Navigate 423 //go:noescape 424 func HasFuncNavigate() js.Ref 425 426 //go:wasmimport plat/js/webext/webviewinternal func_Navigate 427 //go:noescape 428 func FuncNavigate(fn unsafe.Pointer) 429 430 //go:wasmimport plat/js/webext/webviewinternal call_Navigate 431 //go:noescape 432 func CallNavigate( 433 retPtr unsafe.Pointer, 434 instanceId float64, 435 src js.Ref) 436 437 //go:wasmimport plat/js/webext/webviewinternal try_Navigate 438 //go:noescape 439 func TryNavigate( 440 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 441 instanceId float64, 442 src js.Ref) (ok js.Ref) 443 444 //go:wasmimport plat/js/webext/webviewinternal has_OverrideUserAgent 445 //go:noescape 446 func HasFuncOverrideUserAgent() js.Ref 447 448 //go:wasmimport plat/js/webext/webviewinternal func_OverrideUserAgent 449 //go:noescape 450 func FuncOverrideUserAgent(fn unsafe.Pointer) 451 452 //go:wasmimport plat/js/webext/webviewinternal call_OverrideUserAgent 453 //go:noescape 454 func CallOverrideUserAgent( 455 retPtr unsafe.Pointer, 456 instanceId float64, 457 userAgentOverride js.Ref) 458 459 //go:wasmimport plat/js/webext/webviewinternal try_OverrideUserAgent 460 //go:noescape 461 func TryOverrideUserAgent( 462 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 463 instanceId float64, 464 userAgentOverride js.Ref) (ok js.Ref) 465 466 //go:wasmimport plat/js/webext/webviewinternal has_Reload 467 //go:noescape 468 func HasFuncReload() js.Ref 469 470 //go:wasmimport plat/js/webext/webviewinternal func_Reload 471 //go:noescape 472 func FuncReload(fn unsafe.Pointer) 473 474 //go:wasmimport plat/js/webext/webviewinternal call_Reload 475 //go:noescape 476 func CallReload( 477 retPtr unsafe.Pointer, 478 instanceId float64) 479 480 //go:wasmimport plat/js/webext/webviewinternal try_Reload 481 //go:noescape 482 func TryReload( 483 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 484 instanceId float64) (ok js.Ref) 485 486 //go:wasmimport plat/js/webext/webviewinternal has_RemoveContentScripts 487 //go:noescape 488 func HasFuncRemoveContentScripts() js.Ref 489 490 //go:wasmimport plat/js/webext/webviewinternal func_RemoveContentScripts 491 //go:noescape 492 func FuncRemoveContentScripts(fn unsafe.Pointer) 493 494 //go:wasmimport plat/js/webext/webviewinternal call_RemoveContentScripts 495 //go:noescape 496 func CallRemoveContentScripts( 497 retPtr unsafe.Pointer, 498 instanceId float64, 499 scriptNameList js.Ref) 500 501 //go:wasmimport plat/js/webext/webviewinternal try_RemoveContentScripts 502 //go:noescape 503 func TryRemoveContentScripts( 504 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 505 instanceId float64, 506 scriptNameList js.Ref) (ok js.Ref) 507 508 //go:wasmimport plat/js/webext/webviewinternal has_SetAllowScaling 509 //go:noescape 510 func HasFuncSetAllowScaling() js.Ref 511 512 //go:wasmimport plat/js/webext/webviewinternal func_SetAllowScaling 513 //go:noescape 514 func FuncSetAllowScaling(fn unsafe.Pointer) 515 516 //go:wasmimport plat/js/webext/webviewinternal call_SetAllowScaling 517 //go:noescape 518 func CallSetAllowScaling( 519 retPtr unsafe.Pointer, 520 instanceId float64, 521 allow js.Ref) 522 523 //go:wasmimport plat/js/webext/webviewinternal try_SetAllowScaling 524 //go:noescape 525 func TrySetAllowScaling( 526 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 527 instanceId float64, 528 allow js.Ref) (ok js.Ref) 529 530 //go:wasmimport plat/js/webext/webviewinternal has_SetAllowTransparency 531 //go:noescape 532 func HasFuncSetAllowTransparency() js.Ref 533 534 //go:wasmimport plat/js/webext/webviewinternal func_SetAllowTransparency 535 //go:noescape 536 func FuncSetAllowTransparency(fn unsafe.Pointer) 537 538 //go:wasmimport plat/js/webext/webviewinternal call_SetAllowTransparency 539 //go:noescape 540 func CallSetAllowTransparency( 541 retPtr unsafe.Pointer, 542 instanceId float64, 543 allow js.Ref) 544 545 //go:wasmimport plat/js/webext/webviewinternal try_SetAllowTransparency 546 //go:noescape 547 func TrySetAllowTransparency( 548 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 549 instanceId float64, 550 allow js.Ref) (ok js.Ref) 551 552 //go:wasmimport plat/js/webext/webviewinternal has_SetAudioMuted 553 //go:noescape 554 func HasFuncSetAudioMuted() js.Ref 555 556 //go:wasmimport plat/js/webext/webviewinternal func_SetAudioMuted 557 //go:noescape 558 func FuncSetAudioMuted(fn unsafe.Pointer) 559 560 //go:wasmimport plat/js/webext/webviewinternal call_SetAudioMuted 561 //go:noescape 562 func CallSetAudioMuted( 563 retPtr unsafe.Pointer, 564 instanceId float64, 565 mute js.Ref) 566 567 //go:wasmimport plat/js/webext/webviewinternal try_SetAudioMuted 568 //go:noescape 569 func TrySetAudioMuted( 570 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 571 instanceId float64, 572 mute js.Ref) (ok js.Ref) 573 574 //go:wasmimport plat/js/webext/webviewinternal has_SetName 575 //go:noescape 576 func HasFuncSetName() js.Ref 577 578 //go:wasmimport plat/js/webext/webviewinternal func_SetName 579 //go:noescape 580 func FuncSetName(fn unsafe.Pointer) 581 582 //go:wasmimport plat/js/webext/webviewinternal call_SetName 583 //go:noescape 584 func CallSetName( 585 retPtr unsafe.Pointer, 586 instanceId float64, 587 frameName js.Ref) 588 589 //go:wasmimport plat/js/webext/webviewinternal try_SetName 590 //go:noescape 591 func TrySetName( 592 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 593 instanceId float64, 594 frameName js.Ref) (ok js.Ref) 595 596 //go:wasmimport plat/js/webext/webviewinternal has_SetPermission 597 //go:noescape 598 func HasFuncSetPermission() js.Ref 599 600 //go:wasmimport plat/js/webext/webviewinternal func_SetPermission 601 //go:noescape 602 func FuncSetPermission(fn unsafe.Pointer) 603 604 //go:wasmimport plat/js/webext/webviewinternal call_SetPermission 605 //go:noescape 606 func CallSetPermission( 607 retPtr unsafe.Pointer, 608 instanceId float64, 609 requestId float64, 610 action uint32, 611 userInput js.Ref, 612 callback js.Ref) 613 614 //go:wasmimport plat/js/webext/webviewinternal try_SetPermission 615 //go:noescape 616 func TrySetPermission( 617 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 618 instanceId float64, 619 requestId float64, 620 action uint32, 621 userInput js.Ref, 622 callback js.Ref) (ok js.Ref) 623 624 //go:wasmimport plat/js/webext/webviewinternal has_SetSpatialNavigationEnabled 625 //go:noescape 626 func HasFuncSetSpatialNavigationEnabled() js.Ref 627 628 //go:wasmimport plat/js/webext/webviewinternal func_SetSpatialNavigationEnabled 629 //go:noescape 630 func FuncSetSpatialNavigationEnabled(fn unsafe.Pointer) 631 632 //go:wasmimport plat/js/webext/webviewinternal call_SetSpatialNavigationEnabled 633 //go:noescape 634 func CallSetSpatialNavigationEnabled( 635 retPtr unsafe.Pointer, 636 instanceId float64, 637 spatialNavEnabled js.Ref) 638 639 //go:wasmimport plat/js/webext/webviewinternal try_SetSpatialNavigationEnabled 640 //go:noescape 641 func TrySetSpatialNavigationEnabled( 642 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 643 instanceId float64, 644 spatialNavEnabled js.Ref) (ok js.Ref) 645 646 //go:wasmimport plat/js/webext/webviewinternal has_SetZoom 647 //go:noescape 648 func HasFuncSetZoom() js.Ref 649 650 //go:wasmimport plat/js/webext/webviewinternal func_SetZoom 651 //go:noescape 652 func FuncSetZoom(fn unsafe.Pointer) 653 654 //go:wasmimport plat/js/webext/webviewinternal call_SetZoom 655 //go:noescape 656 func CallSetZoom( 657 retPtr unsafe.Pointer, 658 instanceId float64, 659 zoomFactor float64, 660 callback js.Ref) 661 662 //go:wasmimport plat/js/webext/webviewinternal try_SetZoom 663 //go:noescape 664 func TrySetZoom( 665 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 666 instanceId float64, 667 zoomFactor float64, 668 callback js.Ref) (ok js.Ref) 669 670 //go:wasmimport plat/js/webext/webviewinternal has_SetZoomMode 671 //go:noescape 672 func HasFuncSetZoomMode() js.Ref 673 674 //go:wasmimport plat/js/webext/webviewinternal func_SetZoomMode 675 //go:noescape 676 func FuncSetZoomMode(fn unsafe.Pointer) 677 678 //go:wasmimport plat/js/webext/webviewinternal call_SetZoomMode 679 //go:noescape 680 func CallSetZoomMode( 681 retPtr unsafe.Pointer, 682 instanceId float64, 683 ZoomMode uint32, 684 callback js.Ref) 685 686 //go:wasmimport plat/js/webext/webviewinternal try_SetZoomMode 687 //go:noescape 688 func TrySetZoomMode( 689 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 690 instanceId float64, 691 ZoomMode uint32, 692 callback js.Ref) (ok js.Ref) 693 694 //go:wasmimport plat/js/webext/webviewinternal has_Stop 695 //go:noescape 696 func HasFuncStop() js.Ref 697 698 //go:wasmimport plat/js/webext/webviewinternal func_Stop 699 //go:noescape 700 func FuncStop(fn unsafe.Pointer) 701 702 //go:wasmimport plat/js/webext/webviewinternal call_Stop 703 //go:noescape 704 func CallStop( 705 retPtr unsafe.Pointer, 706 instanceId float64) 707 708 //go:wasmimport plat/js/webext/webviewinternal try_Stop 709 //go:noescape 710 func TryStop( 711 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 712 instanceId float64) (ok js.Ref) 713 714 //go:wasmimport plat/js/webext/webviewinternal has_StopFinding 715 //go:noescape 716 func HasFuncStopFinding() js.Ref 717 718 //go:wasmimport plat/js/webext/webviewinternal func_StopFinding 719 //go:noescape 720 func FuncStopFinding(fn unsafe.Pointer) 721 722 //go:wasmimport plat/js/webext/webviewinternal call_StopFinding 723 //go:noescape 724 func CallStopFinding( 725 retPtr unsafe.Pointer, 726 instanceId float64, 727 action uint32) 728 729 //go:wasmimport plat/js/webext/webviewinternal try_StopFinding 730 //go:noescape 731 func TryStopFinding( 732 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 733 instanceId float64, 734 action uint32) (ok js.Ref) 735 736 //go:wasmimport plat/js/webext/webviewinternal has_Terminate 737 //go:noescape 738 func HasFuncTerminate() js.Ref 739 740 //go:wasmimport plat/js/webext/webviewinternal func_Terminate 741 //go:noescape 742 func FuncTerminate(fn unsafe.Pointer) 743 744 //go:wasmimport plat/js/webext/webviewinternal call_Terminate 745 //go:noescape 746 func CallTerminate( 747 retPtr unsafe.Pointer, 748 instanceId float64) 749 750 //go:wasmimport plat/js/webext/webviewinternal try_Terminate 751 //go:noescape 752 func TryTerminate( 753 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 754 instanceId float64) (ok js.Ref)