github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/app/currentwindowinternal/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/app/currentwindowinternal store_Bounds 20 //go:noescape 21 func BoundsJSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/webext/app/currentwindowinternal load_Bounds 25 //go:noescape 26 func BoundsJSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/webext/app/currentwindowinternal store_RegionRect 30 //go:noescape 31 func RegionRectJSStore( 32 ptr unsafe.Pointer, ref js.Ref) 33 34 //go:wasmimport plat/js/webext/app/currentwindowinternal load_RegionRect 35 //go:noescape 36 func RegionRectJSLoad( 37 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 38 39 //go:wasmimport plat/js/webext/app/currentwindowinternal store_Region 40 //go:noescape 41 func RegionJSStore( 42 ptr unsafe.Pointer, ref js.Ref) 43 44 //go:wasmimport plat/js/webext/app/currentwindowinternal load_Region 45 //go:noescape 46 func RegionJSLoad( 47 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 48 49 //go:wasmimport plat/js/webext/app/currentwindowinternal store_SizeConstraints 50 //go:noescape 51 func SizeConstraintsJSStore( 52 ptr unsafe.Pointer, ref js.Ref) 53 54 //go:wasmimport plat/js/webext/app/currentwindowinternal load_SizeConstraints 55 //go:noescape 56 func SizeConstraintsJSLoad( 57 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 58 59 //go:wasmimport plat/js/webext/app/currentwindowinternal has_ClearAttention 60 //go:noescape 61 func HasFuncClearAttention() js.Ref 62 63 //go:wasmimport plat/js/webext/app/currentwindowinternal func_ClearAttention 64 //go:noescape 65 func FuncClearAttention(fn unsafe.Pointer) 66 67 //go:wasmimport plat/js/webext/app/currentwindowinternal call_ClearAttention 68 //go:noescape 69 func CallClearAttention( 70 retPtr unsafe.Pointer) 71 72 //go:wasmimport plat/js/webext/app/currentwindowinternal try_ClearAttention 73 //go:noescape 74 func TryClearAttention( 75 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 76 77 //go:wasmimport plat/js/webext/app/currentwindowinternal has_DrawAttention 78 //go:noescape 79 func HasFuncDrawAttention() js.Ref 80 81 //go:wasmimport plat/js/webext/app/currentwindowinternal func_DrawAttention 82 //go:noescape 83 func FuncDrawAttention(fn unsafe.Pointer) 84 85 //go:wasmimport plat/js/webext/app/currentwindowinternal call_DrawAttention 86 //go:noescape 87 func CallDrawAttention( 88 retPtr unsafe.Pointer) 89 90 //go:wasmimport plat/js/webext/app/currentwindowinternal try_DrawAttention 91 //go:noescape 92 func TryDrawAttention( 93 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 94 95 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Focus 96 //go:noescape 97 func HasFuncFocus() js.Ref 98 99 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Focus 100 //go:noescape 101 func FuncFocus(fn unsafe.Pointer) 102 103 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Focus 104 //go:noescape 105 func CallFocus( 106 retPtr unsafe.Pointer) 107 108 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Focus 109 //go:noescape 110 func TryFocus( 111 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 112 113 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Fullscreen 114 //go:noescape 115 func HasFuncFullscreen() js.Ref 116 117 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Fullscreen 118 //go:noescape 119 func FuncFullscreen(fn unsafe.Pointer) 120 121 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Fullscreen 122 //go:noescape 123 func CallFullscreen( 124 retPtr unsafe.Pointer) 125 126 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Fullscreen 127 //go:noescape 128 func TryFullscreen( 129 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 130 131 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Hide 132 //go:noescape 133 func HasFuncHide() js.Ref 134 135 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Hide 136 //go:noescape 137 func FuncHide(fn unsafe.Pointer) 138 139 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Hide 140 //go:noescape 141 func CallHide( 142 retPtr unsafe.Pointer) 143 144 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Hide 145 //go:noescape 146 func TryHide( 147 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 148 149 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Maximize 150 //go:noescape 151 func HasFuncMaximize() js.Ref 152 153 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Maximize 154 //go:noescape 155 func FuncMaximize(fn unsafe.Pointer) 156 157 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Maximize 158 //go:noescape 159 func CallMaximize( 160 retPtr unsafe.Pointer) 161 162 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Maximize 163 //go:noescape 164 func TryMaximize( 165 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 166 167 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Minimize 168 //go:noescape 169 func HasFuncMinimize() js.Ref 170 171 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Minimize 172 //go:noescape 173 func FuncMinimize(fn unsafe.Pointer) 174 175 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Minimize 176 //go:noescape 177 func CallMinimize( 178 retPtr unsafe.Pointer) 179 180 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Minimize 181 //go:noescape 182 func TryMinimize( 183 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 184 185 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnAlphaEnabledChanged 186 //go:noescape 187 func HasFuncOnAlphaEnabledChanged() js.Ref 188 189 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnAlphaEnabledChanged 190 //go:noescape 191 func FuncOnAlphaEnabledChanged(fn unsafe.Pointer) 192 193 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnAlphaEnabledChanged 194 //go:noescape 195 func CallOnAlphaEnabledChanged( 196 retPtr unsafe.Pointer, 197 callback js.Ref) 198 199 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnAlphaEnabledChanged 200 //go:noescape 201 func TryOnAlphaEnabledChanged( 202 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 203 callback js.Ref) (ok js.Ref) 204 205 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffAlphaEnabledChanged 206 //go:noescape 207 func HasFuncOffAlphaEnabledChanged() js.Ref 208 209 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffAlphaEnabledChanged 210 //go:noescape 211 func FuncOffAlphaEnabledChanged(fn unsafe.Pointer) 212 213 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffAlphaEnabledChanged 214 //go:noescape 215 func CallOffAlphaEnabledChanged( 216 retPtr unsafe.Pointer, 217 callback js.Ref) 218 219 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffAlphaEnabledChanged 220 //go:noescape 221 func TryOffAlphaEnabledChanged( 222 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 223 callback js.Ref) (ok js.Ref) 224 225 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnAlphaEnabledChanged 226 //go:noescape 227 func HasFuncHasOnAlphaEnabledChanged() js.Ref 228 229 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnAlphaEnabledChanged 230 //go:noescape 231 func FuncHasOnAlphaEnabledChanged(fn unsafe.Pointer) 232 233 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnAlphaEnabledChanged 234 //go:noescape 235 func CallHasOnAlphaEnabledChanged( 236 retPtr unsafe.Pointer, 237 callback js.Ref) 238 239 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnAlphaEnabledChanged 240 //go:noescape 241 func TryHasOnAlphaEnabledChanged( 242 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 243 callback js.Ref) (ok js.Ref) 244 245 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnBoundsChanged 246 //go:noescape 247 func HasFuncOnBoundsChanged() js.Ref 248 249 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnBoundsChanged 250 //go:noescape 251 func FuncOnBoundsChanged(fn unsafe.Pointer) 252 253 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnBoundsChanged 254 //go:noescape 255 func CallOnBoundsChanged( 256 retPtr unsafe.Pointer, 257 callback js.Ref) 258 259 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnBoundsChanged 260 //go:noescape 261 func TryOnBoundsChanged( 262 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 263 callback js.Ref) (ok js.Ref) 264 265 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffBoundsChanged 266 //go:noescape 267 func HasFuncOffBoundsChanged() js.Ref 268 269 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffBoundsChanged 270 //go:noescape 271 func FuncOffBoundsChanged(fn unsafe.Pointer) 272 273 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffBoundsChanged 274 //go:noescape 275 func CallOffBoundsChanged( 276 retPtr unsafe.Pointer, 277 callback js.Ref) 278 279 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffBoundsChanged 280 //go:noescape 281 func TryOffBoundsChanged( 282 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 283 callback js.Ref) (ok js.Ref) 284 285 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnBoundsChanged 286 //go:noescape 287 func HasFuncHasOnBoundsChanged() js.Ref 288 289 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnBoundsChanged 290 //go:noescape 291 func FuncHasOnBoundsChanged(fn unsafe.Pointer) 292 293 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnBoundsChanged 294 //go:noescape 295 func CallHasOnBoundsChanged( 296 retPtr unsafe.Pointer, 297 callback js.Ref) 298 299 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnBoundsChanged 300 //go:noescape 301 func TryHasOnBoundsChanged( 302 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 303 callback js.Ref) (ok js.Ref) 304 305 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnClosed 306 //go:noescape 307 func HasFuncOnClosed() js.Ref 308 309 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnClosed 310 //go:noescape 311 func FuncOnClosed(fn unsafe.Pointer) 312 313 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnClosed 314 //go:noescape 315 func CallOnClosed( 316 retPtr unsafe.Pointer, 317 callback js.Ref) 318 319 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnClosed 320 //go:noescape 321 func TryOnClosed( 322 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 323 callback js.Ref) (ok js.Ref) 324 325 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffClosed 326 //go:noescape 327 func HasFuncOffClosed() js.Ref 328 329 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffClosed 330 //go:noescape 331 func FuncOffClosed(fn unsafe.Pointer) 332 333 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffClosed 334 //go:noescape 335 func CallOffClosed( 336 retPtr unsafe.Pointer, 337 callback js.Ref) 338 339 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffClosed 340 //go:noescape 341 func TryOffClosed( 342 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 343 callback js.Ref) (ok js.Ref) 344 345 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnClosed 346 //go:noescape 347 func HasFuncHasOnClosed() js.Ref 348 349 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnClosed 350 //go:noescape 351 func FuncHasOnClosed(fn unsafe.Pointer) 352 353 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnClosed 354 //go:noescape 355 func CallHasOnClosed( 356 retPtr unsafe.Pointer, 357 callback js.Ref) 358 359 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnClosed 360 //go:noescape 361 func TryHasOnClosed( 362 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 363 callback js.Ref) (ok js.Ref) 364 365 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnFullscreened 366 //go:noescape 367 func HasFuncOnFullscreened() js.Ref 368 369 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnFullscreened 370 //go:noescape 371 func FuncOnFullscreened(fn unsafe.Pointer) 372 373 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnFullscreened 374 //go:noescape 375 func CallOnFullscreened( 376 retPtr unsafe.Pointer, 377 callback js.Ref) 378 379 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnFullscreened 380 //go:noescape 381 func TryOnFullscreened( 382 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 383 callback js.Ref) (ok js.Ref) 384 385 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffFullscreened 386 //go:noescape 387 func HasFuncOffFullscreened() js.Ref 388 389 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffFullscreened 390 //go:noescape 391 func FuncOffFullscreened(fn unsafe.Pointer) 392 393 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffFullscreened 394 //go:noescape 395 func CallOffFullscreened( 396 retPtr unsafe.Pointer, 397 callback js.Ref) 398 399 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffFullscreened 400 //go:noescape 401 func TryOffFullscreened( 402 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 403 callback js.Ref) (ok js.Ref) 404 405 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnFullscreened 406 //go:noescape 407 func HasFuncHasOnFullscreened() js.Ref 408 409 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnFullscreened 410 //go:noescape 411 func FuncHasOnFullscreened(fn unsafe.Pointer) 412 413 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnFullscreened 414 //go:noescape 415 func CallHasOnFullscreened( 416 retPtr unsafe.Pointer, 417 callback js.Ref) 418 419 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnFullscreened 420 //go:noescape 421 func TryHasOnFullscreened( 422 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 423 callback js.Ref) (ok js.Ref) 424 425 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnMaximized 426 //go:noescape 427 func HasFuncOnMaximized() js.Ref 428 429 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnMaximized 430 //go:noescape 431 func FuncOnMaximized(fn unsafe.Pointer) 432 433 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnMaximized 434 //go:noescape 435 func CallOnMaximized( 436 retPtr unsafe.Pointer, 437 callback js.Ref) 438 439 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnMaximized 440 //go:noescape 441 func TryOnMaximized( 442 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 443 callback js.Ref) (ok js.Ref) 444 445 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffMaximized 446 //go:noescape 447 func HasFuncOffMaximized() js.Ref 448 449 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffMaximized 450 //go:noescape 451 func FuncOffMaximized(fn unsafe.Pointer) 452 453 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffMaximized 454 //go:noescape 455 func CallOffMaximized( 456 retPtr unsafe.Pointer, 457 callback js.Ref) 458 459 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffMaximized 460 //go:noescape 461 func TryOffMaximized( 462 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 463 callback js.Ref) (ok js.Ref) 464 465 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnMaximized 466 //go:noescape 467 func HasFuncHasOnMaximized() js.Ref 468 469 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnMaximized 470 //go:noescape 471 func FuncHasOnMaximized(fn unsafe.Pointer) 472 473 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnMaximized 474 //go:noescape 475 func CallHasOnMaximized( 476 retPtr unsafe.Pointer, 477 callback js.Ref) 478 479 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnMaximized 480 //go:noescape 481 func TryHasOnMaximized( 482 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 483 callback js.Ref) (ok js.Ref) 484 485 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnMinimized 486 //go:noescape 487 func HasFuncOnMinimized() js.Ref 488 489 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnMinimized 490 //go:noescape 491 func FuncOnMinimized(fn unsafe.Pointer) 492 493 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnMinimized 494 //go:noescape 495 func CallOnMinimized( 496 retPtr unsafe.Pointer, 497 callback js.Ref) 498 499 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnMinimized 500 //go:noescape 501 func TryOnMinimized( 502 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 503 callback js.Ref) (ok js.Ref) 504 505 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffMinimized 506 //go:noescape 507 func HasFuncOffMinimized() js.Ref 508 509 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffMinimized 510 //go:noescape 511 func FuncOffMinimized(fn unsafe.Pointer) 512 513 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffMinimized 514 //go:noescape 515 func CallOffMinimized( 516 retPtr unsafe.Pointer, 517 callback js.Ref) 518 519 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffMinimized 520 //go:noescape 521 func TryOffMinimized( 522 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 523 callback js.Ref) (ok js.Ref) 524 525 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnMinimized 526 //go:noescape 527 func HasFuncHasOnMinimized() js.Ref 528 529 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnMinimized 530 //go:noescape 531 func FuncHasOnMinimized(fn unsafe.Pointer) 532 533 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnMinimized 534 //go:noescape 535 func CallHasOnMinimized( 536 retPtr unsafe.Pointer, 537 callback js.Ref) 538 539 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnMinimized 540 //go:noescape 541 func TryHasOnMinimized( 542 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 543 callback js.Ref) (ok js.Ref) 544 545 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OnRestored 546 //go:noescape 547 func HasFuncOnRestored() js.Ref 548 549 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OnRestored 550 //go:noescape 551 func FuncOnRestored(fn unsafe.Pointer) 552 553 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OnRestored 554 //go:noescape 555 func CallOnRestored( 556 retPtr unsafe.Pointer, 557 callback js.Ref) 558 559 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OnRestored 560 //go:noescape 561 func TryOnRestored( 562 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 563 callback js.Ref) (ok js.Ref) 564 565 //go:wasmimport plat/js/webext/app/currentwindowinternal has_OffRestored 566 //go:noescape 567 func HasFuncOffRestored() js.Ref 568 569 //go:wasmimport plat/js/webext/app/currentwindowinternal func_OffRestored 570 //go:noescape 571 func FuncOffRestored(fn unsafe.Pointer) 572 573 //go:wasmimport plat/js/webext/app/currentwindowinternal call_OffRestored 574 //go:noescape 575 func CallOffRestored( 576 retPtr unsafe.Pointer, 577 callback js.Ref) 578 579 //go:wasmimport plat/js/webext/app/currentwindowinternal try_OffRestored 580 //go:noescape 581 func TryOffRestored( 582 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 583 callback js.Ref) (ok js.Ref) 584 585 //go:wasmimport plat/js/webext/app/currentwindowinternal has_HasOnRestored 586 //go:noescape 587 func HasFuncHasOnRestored() js.Ref 588 589 //go:wasmimport plat/js/webext/app/currentwindowinternal func_HasOnRestored 590 //go:noescape 591 func FuncHasOnRestored(fn unsafe.Pointer) 592 593 //go:wasmimport plat/js/webext/app/currentwindowinternal call_HasOnRestored 594 //go:noescape 595 func CallHasOnRestored( 596 retPtr unsafe.Pointer, 597 callback js.Ref) 598 599 //go:wasmimport plat/js/webext/app/currentwindowinternal try_HasOnRestored 600 //go:noescape 601 func TryHasOnRestored( 602 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 603 callback js.Ref) (ok js.Ref) 604 605 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Restore 606 //go:noescape 607 func HasFuncRestore() js.Ref 608 609 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Restore 610 //go:noescape 611 func FuncRestore(fn unsafe.Pointer) 612 613 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Restore 614 //go:noescape 615 func CallRestore( 616 retPtr unsafe.Pointer) 617 618 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Restore 619 //go:noescape 620 func TryRestore( 621 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 622 623 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetActivateOnPointer 624 //go:noescape 625 func HasFuncSetActivateOnPointer() js.Ref 626 627 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetActivateOnPointer 628 //go:noescape 629 func FuncSetActivateOnPointer(fn unsafe.Pointer) 630 631 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetActivateOnPointer 632 //go:noescape 633 func CallSetActivateOnPointer( 634 retPtr unsafe.Pointer, 635 activate_on_pointer js.Ref) 636 637 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetActivateOnPointer 638 //go:noescape 639 func TrySetActivateOnPointer( 640 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 641 activate_on_pointer js.Ref) (ok js.Ref) 642 643 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetAlwaysOnTop 644 //go:noescape 645 func HasFuncSetAlwaysOnTop() js.Ref 646 647 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetAlwaysOnTop 648 //go:noescape 649 func FuncSetAlwaysOnTop(fn unsafe.Pointer) 650 651 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetAlwaysOnTop 652 //go:noescape 653 func CallSetAlwaysOnTop( 654 retPtr unsafe.Pointer, 655 always_on_top js.Ref) 656 657 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetAlwaysOnTop 658 //go:noescape 659 func TrySetAlwaysOnTop( 660 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 661 always_on_top js.Ref) (ok js.Ref) 662 663 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetBounds 664 //go:noescape 665 func HasFuncSetBounds() js.Ref 666 667 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetBounds 668 //go:noescape 669 func FuncSetBounds(fn unsafe.Pointer) 670 671 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetBounds 672 //go:noescape 673 func CallSetBounds( 674 retPtr unsafe.Pointer, 675 boundsType js.Ref, 676 bounds unsafe.Pointer) 677 678 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetBounds 679 //go:noescape 680 func TrySetBounds( 681 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 682 boundsType js.Ref, 683 bounds unsafe.Pointer) (ok js.Ref) 684 685 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetIcon 686 //go:noescape 687 func HasFuncSetIcon() js.Ref 688 689 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetIcon 690 //go:noescape 691 func FuncSetIcon(fn unsafe.Pointer) 692 693 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetIcon 694 //go:noescape 695 func CallSetIcon( 696 retPtr unsafe.Pointer, 697 icon_url js.Ref) 698 699 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetIcon 700 //go:noescape 701 func TrySetIcon( 702 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 703 icon_url js.Ref) (ok js.Ref) 704 705 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetShape 706 //go:noescape 707 func HasFuncSetShape() js.Ref 708 709 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetShape 710 //go:noescape 711 func FuncSetShape(fn unsafe.Pointer) 712 713 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetShape 714 //go:noescape 715 func CallSetShape( 716 retPtr unsafe.Pointer, 717 region unsafe.Pointer) 718 719 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetShape 720 //go:noescape 721 func TrySetShape( 722 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 723 region unsafe.Pointer) (ok js.Ref) 724 725 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetSizeConstraints 726 //go:noescape 727 func HasFuncSetSizeConstraints() js.Ref 728 729 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetSizeConstraints 730 //go:noescape 731 func FuncSetSizeConstraints(fn unsafe.Pointer) 732 733 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetSizeConstraints 734 //go:noescape 735 func CallSetSizeConstraints( 736 retPtr unsafe.Pointer, 737 boundsType js.Ref, 738 constraints unsafe.Pointer) 739 740 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetSizeConstraints 741 //go:noescape 742 func TrySetSizeConstraints( 743 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 744 boundsType js.Ref, 745 constraints unsafe.Pointer) (ok js.Ref) 746 747 //go:wasmimport plat/js/webext/app/currentwindowinternal has_SetVisibleOnAllWorkspaces 748 //go:noescape 749 func HasFuncSetVisibleOnAllWorkspaces() js.Ref 750 751 //go:wasmimport plat/js/webext/app/currentwindowinternal func_SetVisibleOnAllWorkspaces 752 //go:noescape 753 func FuncSetVisibleOnAllWorkspaces(fn unsafe.Pointer) 754 755 //go:wasmimport plat/js/webext/app/currentwindowinternal call_SetVisibleOnAllWorkspaces 756 //go:noescape 757 func CallSetVisibleOnAllWorkspaces( 758 retPtr unsafe.Pointer, 759 always_visible js.Ref) 760 761 //go:wasmimport plat/js/webext/app/currentwindowinternal try_SetVisibleOnAllWorkspaces 762 //go:noescape 763 func TrySetVisibleOnAllWorkspaces( 764 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 765 always_visible js.Ref) (ok js.Ref) 766 767 //go:wasmimport plat/js/webext/app/currentwindowinternal has_Show 768 //go:noescape 769 func HasFuncShow() js.Ref 770 771 //go:wasmimport plat/js/webext/app/currentwindowinternal func_Show 772 //go:noescape 773 func FuncShow(fn unsafe.Pointer) 774 775 //go:wasmimport plat/js/webext/app/currentwindowinternal call_Show 776 //go:noescape 777 func CallShow( 778 retPtr unsafe.Pointer, 779 focused js.Ref) 780 781 //go:wasmimport plat/js/webext/app/currentwindowinternal try_Show 782 //go:noescape 783 func TryShow( 784 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 785 focused js.Ref) (ok js.Ref)