github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/developerprivate/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/developerprivate store_AccessModifier
    20  //go:noescape
    21  func AccessModifierJSStore(
    22  	ptr unsafe.Pointer, ref js.Ref)
    23  
    24  //go:wasmimport plat/js/webext/developerprivate load_AccessModifier
    25  //go:noescape
    26  func AccessModifierJSLoad(
    27  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    28  
    29  //go:wasmimport plat/js/webext/developerprivate constof_CommandScope
    30  //go:noescape
    31  func ConstOfCommandScope(str js.Ref) uint32
    32  
    33  //go:wasmimport plat/js/webext/developerprivate store_Command
    34  //go:noescape
    35  func CommandJSStore(
    36  	ptr unsafe.Pointer, ref js.Ref)
    37  
    38  //go:wasmimport plat/js/webext/developerprivate load_Command
    39  //go:noescape
    40  func CommandJSLoad(
    41  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    42  
    43  //go:wasmimport plat/js/webext/developerprivate store_ControlledInfo
    44  //go:noescape
    45  func ControlledInfoJSStore(
    46  	ptr unsafe.Pointer, ref js.Ref)
    47  
    48  //go:wasmimport plat/js/webext/developerprivate load_ControlledInfo
    49  //go:noescape
    50  func ControlledInfoJSLoad(
    51  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    52  
    53  //go:wasmimport plat/js/webext/developerprivate constof_ErrorType
    54  //go:noescape
    55  func ConstOfErrorType(str js.Ref) uint32
    56  
    57  //go:wasmimport plat/js/webext/developerprivate store_DeleteExtensionErrorsProperties
    58  //go:noescape
    59  func DeleteExtensionErrorsPropertiesJSStore(
    60  	ptr unsafe.Pointer, ref js.Ref)
    61  
    62  //go:wasmimport plat/js/webext/developerprivate load_DeleteExtensionErrorsProperties
    63  //go:noescape
    64  func DeleteExtensionErrorsPropertiesJSLoad(
    65  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    66  
    67  //go:wasmimport plat/js/webext/developerprivate store_DependentExtension
    68  //go:noescape
    69  func DependentExtensionJSStore(
    70  	ptr unsafe.Pointer, ref js.Ref)
    71  
    72  //go:wasmimport plat/js/webext/developerprivate load_DependentExtension
    73  //go:noescape
    74  func DependentExtensionJSLoad(
    75  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    76  
    77  //go:wasmimport plat/js/webext/developerprivate store_DisableReasons
    78  //go:noescape
    79  func DisableReasonsJSStore(
    80  	ptr unsafe.Pointer, ref js.Ref)
    81  
    82  //go:wasmimport plat/js/webext/developerprivate load_DisableReasons
    83  //go:noescape
    84  func DisableReasonsJSLoad(
    85  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    86  
    87  //go:wasmimport plat/js/webext/developerprivate store_ErrorFileSource
    88  //go:noescape
    89  func ErrorFileSourceJSStore(
    90  	ptr unsafe.Pointer, ref js.Ref)
    91  
    92  //go:wasmimport plat/js/webext/developerprivate load_ErrorFileSource
    93  //go:noescape
    94  func ErrorFileSourceJSLoad(
    95  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    96  
    97  //go:wasmimport plat/js/webext/developerprivate constof_ErrorLevel
    98  //go:noescape
    99  func ConstOfErrorLevel(str js.Ref) uint32
   100  
   101  //go:wasmimport plat/js/webext/developerprivate constof_EventType
   102  //go:noescape
   103  func ConstOfEventType(str js.Ref) uint32
   104  
   105  //go:wasmimport plat/js/webext/developerprivate store_SafetyCheckStrings
   106  //go:noescape
   107  func SafetyCheckStringsJSStore(
   108  	ptr unsafe.Pointer, ref js.Ref)
   109  
   110  //go:wasmimport plat/js/webext/developerprivate load_SafetyCheckStrings
   111  //go:noescape
   112  func SafetyCheckStringsJSLoad(
   113  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   114  
   115  //go:wasmimport plat/js/webext/developerprivate store_HomePage
   116  //go:noescape
   117  func HomePageJSStore(
   118  	ptr unsafe.Pointer, ref js.Ref)
   119  
   120  //go:wasmimport plat/js/webext/developerprivate load_HomePage
   121  //go:noescape
   122  func HomePageJSLoad(
   123  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   124  
   125  //go:wasmimport plat/js/webext/developerprivate constof_Location
   126  //go:noescape
   127  func ConstOfLocation(str js.Ref) uint32
   128  
   129  //go:wasmimport plat/js/webext/developerprivate store_ManifestError
   130  //go:noescape
   131  func ManifestErrorJSStore(
   132  	ptr unsafe.Pointer, ref js.Ref)
   133  
   134  //go:wasmimport plat/js/webext/developerprivate load_ManifestError
   135  //go:noescape
   136  func ManifestErrorJSLoad(
   137  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   138  
   139  //go:wasmimport plat/js/webext/developerprivate store_OptionsPage
   140  //go:noescape
   141  func OptionsPageJSStore(
   142  	ptr unsafe.Pointer, ref js.Ref)
   143  
   144  //go:wasmimport plat/js/webext/developerprivate load_OptionsPage
   145  //go:noescape
   146  func OptionsPageJSLoad(
   147  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   148  
   149  //go:wasmimport plat/js/webext/developerprivate store_Permission
   150  //go:noescape
   151  func PermissionJSStore(
   152  	ptr unsafe.Pointer, ref js.Ref)
   153  
   154  //go:wasmimport plat/js/webext/developerprivate load_Permission
   155  //go:noescape
   156  func PermissionJSLoad(
   157  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   158  
   159  //go:wasmimport plat/js/webext/developerprivate constof_HostAccess
   160  //go:noescape
   161  func ConstOfHostAccess(str js.Ref) uint32
   162  
   163  //go:wasmimport plat/js/webext/developerprivate store_SiteControl
   164  //go:noescape
   165  func SiteControlJSStore(
   166  	ptr unsafe.Pointer, ref js.Ref)
   167  
   168  //go:wasmimport plat/js/webext/developerprivate load_SiteControl
   169  //go:noescape
   170  func SiteControlJSLoad(
   171  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   172  
   173  //go:wasmimport plat/js/webext/developerprivate store_RuntimeHostPermissions
   174  //go:noescape
   175  func RuntimeHostPermissionsJSStore(
   176  	ptr unsafe.Pointer, ref js.Ref)
   177  
   178  //go:wasmimport plat/js/webext/developerprivate load_RuntimeHostPermissions
   179  //go:noescape
   180  func RuntimeHostPermissionsJSLoad(
   181  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   182  
   183  //go:wasmimport plat/js/webext/developerprivate store_Permissions
   184  //go:noescape
   185  func PermissionsJSStore(
   186  	ptr unsafe.Pointer, ref js.Ref)
   187  
   188  //go:wasmimport plat/js/webext/developerprivate load_Permissions
   189  //go:noescape
   190  func PermissionsJSLoad(
   191  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   192  
   193  //go:wasmimport plat/js/webext/developerprivate store_StackFrame
   194  //go:noescape
   195  func StackFrameJSStore(
   196  	ptr unsafe.Pointer, ref js.Ref)
   197  
   198  //go:wasmimport plat/js/webext/developerprivate load_StackFrame
   199  //go:noescape
   200  func StackFrameJSLoad(
   201  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   202  
   203  //go:wasmimport plat/js/webext/developerprivate store_RuntimeError
   204  //go:noescape
   205  func RuntimeErrorJSStore(
   206  	ptr unsafe.Pointer, ref js.Ref)
   207  
   208  //go:wasmimport plat/js/webext/developerprivate load_RuntimeError
   209  //go:noescape
   210  func RuntimeErrorJSLoad(
   211  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   212  
   213  //go:wasmimport plat/js/webext/developerprivate constof_ExtensionState
   214  //go:noescape
   215  func ConstOfExtensionState(str js.Ref) uint32
   216  
   217  //go:wasmimport plat/js/webext/developerprivate constof_ExtensionType
   218  //go:noescape
   219  func ConstOfExtensionType(str js.Ref) uint32
   220  
   221  //go:wasmimport plat/js/webext/developerprivate constof_ViewType
   222  //go:noescape
   223  func ConstOfViewType(str js.Ref) uint32
   224  
   225  //go:wasmimport plat/js/webext/developerprivate store_ExtensionView
   226  //go:noescape
   227  func ExtensionViewJSStore(
   228  	ptr unsafe.Pointer, ref js.Ref)
   229  
   230  //go:wasmimport plat/js/webext/developerprivate load_ExtensionView
   231  //go:noescape
   232  func ExtensionViewJSLoad(
   233  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   234  
   235  //go:wasmimport plat/js/webext/developerprivate store_ExtensionInfo
   236  //go:noescape
   237  func ExtensionInfoJSStore(
   238  	ptr unsafe.Pointer, ref js.Ref)
   239  
   240  //go:wasmimport plat/js/webext/developerprivate load_ExtensionInfo
   241  //go:noescape
   242  func ExtensionInfoJSLoad(
   243  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   244  
   245  //go:wasmimport plat/js/webext/developerprivate store_EventData
   246  //go:noescape
   247  func EventDataJSStore(
   248  	ptr unsafe.Pointer, ref js.Ref)
   249  
   250  //go:wasmimport plat/js/webext/developerprivate load_EventData
   251  //go:noescape
   252  func EventDataJSLoad(
   253  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   254  
   255  //go:wasmimport plat/js/webext/developerprivate store_ExtensionCommandUpdate
   256  //go:noescape
   257  func ExtensionCommandUpdateJSStore(
   258  	ptr unsafe.Pointer, ref js.Ref)
   259  
   260  //go:wasmimport plat/js/webext/developerprivate load_ExtensionCommandUpdate
   261  //go:noescape
   262  func ExtensionCommandUpdateJSLoad(
   263  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   264  
   265  //go:wasmimport plat/js/webext/developerprivate store_ExtensionConfigurationUpdate
   266  //go:noescape
   267  func ExtensionConfigurationUpdateJSStore(
   268  	ptr unsafe.Pointer, ref js.Ref)
   269  
   270  //go:wasmimport plat/js/webext/developerprivate load_ExtensionConfigurationUpdate
   271  //go:noescape
   272  func ExtensionConfigurationUpdateJSLoad(
   273  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   274  
   275  //go:wasmimport plat/js/webext/developerprivate store_ExtensionSiteAccessUpdate
   276  //go:noescape
   277  func ExtensionSiteAccessUpdateJSStore(
   278  	ptr unsafe.Pointer, ref js.Ref)
   279  
   280  //go:wasmimport plat/js/webext/developerprivate load_ExtensionSiteAccessUpdate
   281  //go:noescape
   282  func ExtensionSiteAccessUpdateJSLoad(
   283  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   284  
   285  //go:wasmimport plat/js/webext/developerprivate constof_FileType
   286  //go:noescape
   287  func ConstOfFileType(str js.Ref) uint32
   288  
   289  //go:wasmimport plat/js/webext/developerprivate store_GetExtensionsInfoOptions
   290  //go:noescape
   291  func GetExtensionsInfoOptionsJSStore(
   292  	ptr unsafe.Pointer, ref js.Ref)
   293  
   294  //go:wasmimport plat/js/webext/developerprivate load_GetExtensionsInfoOptions
   295  //go:noescape
   296  func GetExtensionsInfoOptionsJSLoad(
   297  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   298  
   299  //go:wasmimport plat/js/webext/developerprivate store_MatchingExtensionInfo
   300  //go:noescape
   301  func MatchingExtensionInfoJSStore(
   302  	ptr unsafe.Pointer, ref js.Ref)
   303  
   304  //go:wasmimport plat/js/webext/developerprivate load_MatchingExtensionInfo
   305  //go:noescape
   306  func MatchingExtensionInfoJSLoad(
   307  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   308  
   309  //go:wasmimport plat/js/webext/developerprivate store_ProjectInfo
   310  //go:noescape
   311  func ProjectInfoJSStore(
   312  	ptr unsafe.Pointer, ref js.Ref)
   313  
   314  //go:wasmimport plat/js/webext/developerprivate load_ProjectInfo
   315  //go:noescape
   316  func ProjectInfoJSLoad(
   317  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   318  
   319  //go:wasmimport plat/js/webext/developerprivate store_InspectOptions
   320  //go:noescape
   321  func InspectOptionsJSStore(
   322  	ptr unsafe.Pointer, ref js.Ref)
   323  
   324  //go:wasmimport plat/js/webext/developerprivate load_InspectOptions
   325  //go:noescape
   326  func InspectOptionsJSLoad(
   327  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   328  
   329  //go:wasmimport plat/js/webext/developerprivate store_InstallWarning
   330  //go:noescape
   331  func InstallWarningJSStore(
   332  	ptr unsafe.Pointer, ref js.Ref)
   333  
   334  //go:wasmimport plat/js/webext/developerprivate load_InstallWarning
   335  //go:noescape
   336  func InstallWarningJSLoad(
   337  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   338  
   339  //go:wasmimport plat/js/webext/developerprivate constof_ItemType
   340  //go:noescape
   341  func ConstOfItemType(str js.Ref) uint32
   342  
   343  //go:wasmimport plat/js/webext/developerprivate store_ItemInspectView
   344  //go:noescape
   345  func ItemInspectViewJSStore(
   346  	ptr unsafe.Pointer, ref js.Ref)
   347  
   348  //go:wasmimport plat/js/webext/developerprivate load_ItemInspectView
   349  //go:noescape
   350  func ItemInspectViewJSLoad(
   351  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   352  
   353  //go:wasmimport plat/js/webext/developerprivate store_ItemInfo
   354  //go:noescape
   355  func ItemInfoJSStore(
   356  	ptr unsafe.Pointer, ref js.Ref)
   357  
   358  //go:wasmimport plat/js/webext/developerprivate load_ItemInfo
   359  //go:noescape
   360  func ItemInfoJSLoad(
   361  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   362  
   363  //go:wasmimport plat/js/webext/developerprivate store_LoadError
   364  //go:noescape
   365  func LoadErrorJSStore(
   366  	ptr unsafe.Pointer, ref js.Ref)
   367  
   368  //go:wasmimport plat/js/webext/developerprivate load_LoadError
   369  //go:noescape
   370  func LoadErrorJSLoad(
   371  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   372  
   373  //go:wasmimport plat/js/webext/developerprivate store_LoadUnpackedOptions
   374  //go:noescape
   375  func LoadUnpackedOptionsJSStore(
   376  	ptr unsafe.Pointer, ref js.Ref)
   377  
   378  //go:wasmimport plat/js/webext/developerprivate load_LoadUnpackedOptions
   379  //go:noescape
   380  func LoadUnpackedOptionsJSLoad(
   381  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   382  
   383  //go:wasmimport plat/js/webext/developerprivate store_OpenDevToolsProperties
   384  //go:noescape
   385  func OpenDevToolsPropertiesJSStore(
   386  	ptr unsafe.Pointer, ref js.Ref)
   387  
   388  //go:wasmimport plat/js/webext/developerprivate load_OpenDevToolsProperties
   389  //go:noescape
   390  func OpenDevToolsPropertiesJSLoad(
   391  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   392  
   393  //go:wasmimport plat/js/webext/developerprivate constof_PackStatus
   394  //go:noescape
   395  func ConstOfPackStatus(str js.Ref) uint32
   396  
   397  //go:wasmimport plat/js/webext/developerprivate store_PackDirectoryResponse
   398  //go:noescape
   399  func PackDirectoryResponseJSStore(
   400  	ptr unsafe.Pointer, ref js.Ref)
   401  
   402  //go:wasmimport plat/js/webext/developerprivate load_PackDirectoryResponse
   403  //go:noescape
   404  func PackDirectoryResponseJSLoad(
   405  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   406  
   407  //go:wasmimport plat/js/webext/developerprivate store_ProfileConfigurationUpdate
   408  //go:noescape
   409  func ProfileConfigurationUpdateJSStore(
   410  	ptr unsafe.Pointer, ref js.Ref)
   411  
   412  //go:wasmimport plat/js/webext/developerprivate load_ProfileConfigurationUpdate
   413  //go:noescape
   414  func ProfileConfigurationUpdateJSLoad(
   415  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   416  
   417  //go:wasmimport plat/js/webext/developerprivate store_ProfileInfo
   418  //go:noescape
   419  func ProfileInfoJSStore(
   420  	ptr unsafe.Pointer, ref js.Ref)
   421  
   422  //go:wasmimport plat/js/webext/developerprivate load_ProfileInfo
   423  //go:noescape
   424  func ProfileInfoJSLoad(
   425  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   426  
   427  //go:wasmimport plat/js/webext/developerprivate store_ReloadOptions
   428  //go:noescape
   429  func ReloadOptionsJSStore(
   430  	ptr unsafe.Pointer, ref js.Ref)
   431  
   432  //go:wasmimport plat/js/webext/developerprivate load_ReloadOptions
   433  //go:noescape
   434  func ReloadOptionsJSLoad(
   435  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   436  
   437  //go:wasmimport plat/js/webext/developerprivate store_RequestFileSourceResponse
   438  //go:noescape
   439  func RequestFileSourceResponseJSStore(
   440  	ptr unsafe.Pointer, ref js.Ref)
   441  
   442  //go:wasmimport plat/js/webext/developerprivate load_RequestFileSourceResponse
   443  //go:noescape
   444  func RequestFileSourceResponseJSLoad(
   445  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   446  
   447  //go:wasmimport plat/js/webext/developerprivate store_RequestFileSourceProperties
   448  //go:noescape
   449  func RequestFileSourcePropertiesJSStore(
   450  	ptr unsafe.Pointer, ref js.Ref)
   451  
   452  //go:wasmimport plat/js/webext/developerprivate load_RequestFileSourceProperties
   453  //go:noescape
   454  func RequestFileSourcePropertiesJSLoad(
   455  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   456  
   457  //go:wasmimport plat/js/webext/developerprivate constof_SelectType
   458  //go:noescape
   459  func ConstOfSelectType(str js.Ref) uint32
   460  
   461  //go:wasmimport plat/js/webext/developerprivate constof_SiteSet
   462  //go:noescape
   463  func ConstOfSiteSet(str js.Ref) uint32
   464  
   465  //go:wasmimport plat/js/webext/developerprivate store_SiteInfo
   466  //go:noescape
   467  func SiteInfoJSStore(
   468  	ptr unsafe.Pointer, ref js.Ref)
   469  
   470  //go:wasmimport plat/js/webext/developerprivate load_SiteInfo
   471  //go:noescape
   472  func SiteInfoJSLoad(
   473  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   474  
   475  //go:wasmimport plat/js/webext/developerprivate store_SiteGroup
   476  //go:noescape
   477  func SiteGroupJSStore(
   478  	ptr unsafe.Pointer, ref js.Ref)
   479  
   480  //go:wasmimport plat/js/webext/developerprivate load_SiteGroup
   481  //go:noescape
   482  func SiteGroupJSLoad(
   483  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   484  
   485  //go:wasmimport plat/js/webext/developerprivate store_UserSiteSettings
   486  //go:noescape
   487  func UserSiteSettingsJSStore(
   488  	ptr unsafe.Pointer, ref js.Ref)
   489  
   490  //go:wasmimport plat/js/webext/developerprivate load_UserSiteSettings
   491  //go:noescape
   492  func UserSiteSettingsJSLoad(
   493  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   494  
   495  //go:wasmimport plat/js/webext/developerprivate store_UserSiteSettingsOptions
   496  //go:noescape
   497  func UserSiteSettingsOptionsJSStore(
   498  	ptr unsafe.Pointer, ref js.Ref)
   499  
   500  //go:wasmimport plat/js/webext/developerprivate load_UserSiteSettingsOptions
   501  //go:noescape
   502  func UserSiteSettingsOptionsJSLoad(
   503  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   504  
   505  //go:wasmimport plat/js/webext/developerprivate has_AddHostPermission
   506  //go:noescape
   507  func HasFuncAddHostPermission() js.Ref
   508  
   509  //go:wasmimport plat/js/webext/developerprivate func_AddHostPermission
   510  //go:noescape
   511  func FuncAddHostPermission(fn unsafe.Pointer)
   512  
   513  //go:wasmimport plat/js/webext/developerprivate call_AddHostPermission
   514  //go:noescape
   515  func CallAddHostPermission(
   516  	retPtr unsafe.Pointer,
   517  	extensionId js.Ref,
   518  	host js.Ref)
   519  
   520  //go:wasmimport plat/js/webext/developerprivate try_AddHostPermission
   521  //go:noescape
   522  func TryAddHostPermission(
   523  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   524  	extensionId js.Ref,
   525  	host js.Ref) (ok js.Ref)
   526  
   527  //go:wasmimport plat/js/webext/developerprivate has_AddUserSpecifiedSites
   528  //go:noescape
   529  func HasFuncAddUserSpecifiedSites() js.Ref
   530  
   531  //go:wasmimport plat/js/webext/developerprivate func_AddUserSpecifiedSites
   532  //go:noescape
   533  func FuncAddUserSpecifiedSites(fn unsafe.Pointer)
   534  
   535  //go:wasmimport plat/js/webext/developerprivate call_AddUserSpecifiedSites
   536  //go:noescape
   537  func CallAddUserSpecifiedSites(
   538  	retPtr unsafe.Pointer,
   539  	options unsafe.Pointer)
   540  
   541  //go:wasmimport plat/js/webext/developerprivate try_AddUserSpecifiedSites
   542  //go:noescape
   543  func TryAddUserSpecifiedSites(
   544  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   545  	options unsafe.Pointer) (ok js.Ref)
   546  
   547  //go:wasmimport plat/js/webext/developerprivate has_AutoUpdate
   548  //go:noescape
   549  func HasFuncAutoUpdate() js.Ref
   550  
   551  //go:wasmimport plat/js/webext/developerprivate func_AutoUpdate
   552  //go:noescape
   553  func FuncAutoUpdate(fn unsafe.Pointer)
   554  
   555  //go:wasmimport plat/js/webext/developerprivate call_AutoUpdate
   556  //go:noescape
   557  func CallAutoUpdate(
   558  	retPtr unsafe.Pointer)
   559  
   560  //go:wasmimport plat/js/webext/developerprivate try_AutoUpdate
   561  //go:noescape
   562  func TryAutoUpdate(
   563  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   564  
   565  //go:wasmimport plat/js/webext/developerprivate has_ChoosePath
   566  //go:noescape
   567  func HasFuncChoosePath() js.Ref
   568  
   569  //go:wasmimport plat/js/webext/developerprivate func_ChoosePath
   570  //go:noescape
   571  func FuncChoosePath(fn unsafe.Pointer)
   572  
   573  //go:wasmimport plat/js/webext/developerprivate call_ChoosePath
   574  //go:noescape
   575  func CallChoosePath(
   576  	retPtr unsafe.Pointer,
   577  	selectType uint32,
   578  	fileType uint32)
   579  
   580  //go:wasmimport plat/js/webext/developerprivate try_ChoosePath
   581  //go:noescape
   582  func TryChoosePath(
   583  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   584  	selectType uint32,
   585  	fileType uint32) (ok js.Ref)
   586  
   587  //go:wasmimport plat/js/webext/developerprivate has_DeleteExtensionErrors
   588  //go:noescape
   589  func HasFuncDeleteExtensionErrors() js.Ref
   590  
   591  //go:wasmimport plat/js/webext/developerprivate func_DeleteExtensionErrors
   592  //go:noescape
   593  func FuncDeleteExtensionErrors(fn unsafe.Pointer)
   594  
   595  //go:wasmimport plat/js/webext/developerprivate call_DeleteExtensionErrors
   596  //go:noescape
   597  func CallDeleteExtensionErrors(
   598  	retPtr unsafe.Pointer,
   599  	properties unsafe.Pointer)
   600  
   601  //go:wasmimport plat/js/webext/developerprivate try_DeleteExtensionErrors
   602  //go:noescape
   603  func TryDeleteExtensionErrors(
   604  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   605  	properties unsafe.Pointer) (ok js.Ref)
   606  
   607  //go:wasmimport plat/js/webext/developerprivate has_GetExtensionInfo
   608  //go:noescape
   609  func HasFuncGetExtensionInfo() js.Ref
   610  
   611  //go:wasmimport plat/js/webext/developerprivate func_GetExtensionInfo
   612  //go:noescape
   613  func FuncGetExtensionInfo(fn unsafe.Pointer)
   614  
   615  //go:wasmimport plat/js/webext/developerprivate call_GetExtensionInfo
   616  //go:noescape
   617  func CallGetExtensionInfo(
   618  	retPtr unsafe.Pointer,
   619  	id js.Ref)
   620  
   621  //go:wasmimport plat/js/webext/developerprivate try_GetExtensionInfo
   622  //go:noescape
   623  func TryGetExtensionInfo(
   624  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   625  	id js.Ref) (ok js.Ref)
   626  
   627  //go:wasmimport plat/js/webext/developerprivate has_GetExtensionSize
   628  //go:noescape
   629  func HasFuncGetExtensionSize() js.Ref
   630  
   631  //go:wasmimport plat/js/webext/developerprivate func_GetExtensionSize
   632  //go:noescape
   633  func FuncGetExtensionSize(fn unsafe.Pointer)
   634  
   635  //go:wasmimport plat/js/webext/developerprivate call_GetExtensionSize
   636  //go:noescape
   637  func CallGetExtensionSize(
   638  	retPtr unsafe.Pointer,
   639  	id js.Ref)
   640  
   641  //go:wasmimport plat/js/webext/developerprivate try_GetExtensionSize
   642  //go:noescape
   643  func TryGetExtensionSize(
   644  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   645  	id js.Ref) (ok js.Ref)
   646  
   647  //go:wasmimport plat/js/webext/developerprivate has_GetExtensionsInfo
   648  //go:noescape
   649  func HasFuncGetExtensionsInfo() js.Ref
   650  
   651  //go:wasmimport plat/js/webext/developerprivate func_GetExtensionsInfo
   652  //go:noescape
   653  func FuncGetExtensionsInfo(fn unsafe.Pointer)
   654  
   655  //go:wasmimport plat/js/webext/developerprivate call_GetExtensionsInfo
   656  //go:noescape
   657  func CallGetExtensionsInfo(
   658  	retPtr unsafe.Pointer,
   659  	options unsafe.Pointer)
   660  
   661  //go:wasmimport plat/js/webext/developerprivate try_GetExtensionsInfo
   662  //go:noescape
   663  func TryGetExtensionsInfo(
   664  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   665  	options unsafe.Pointer) (ok js.Ref)
   666  
   667  //go:wasmimport plat/js/webext/developerprivate has_GetMatchingExtensionsForSite
   668  //go:noescape
   669  func HasFuncGetMatchingExtensionsForSite() js.Ref
   670  
   671  //go:wasmimport plat/js/webext/developerprivate func_GetMatchingExtensionsForSite
   672  //go:noescape
   673  func FuncGetMatchingExtensionsForSite(fn unsafe.Pointer)
   674  
   675  //go:wasmimport plat/js/webext/developerprivate call_GetMatchingExtensionsForSite
   676  //go:noescape
   677  func CallGetMatchingExtensionsForSite(
   678  	retPtr unsafe.Pointer,
   679  	site js.Ref)
   680  
   681  //go:wasmimport plat/js/webext/developerprivate try_GetMatchingExtensionsForSite
   682  //go:noescape
   683  func TryGetMatchingExtensionsForSite(
   684  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   685  	site js.Ref) (ok js.Ref)
   686  
   687  //go:wasmimport plat/js/webext/developerprivate has_GetProfileConfiguration
   688  //go:noescape
   689  func HasFuncGetProfileConfiguration() js.Ref
   690  
   691  //go:wasmimport plat/js/webext/developerprivate func_GetProfileConfiguration
   692  //go:noescape
   693  func FuncGetProfileConfiguration(fn unsafe.Pointer)
   694  
   695  //go:wasmimport plat/js/webext/developerprivate call_GetProfileConfiguration
   696  //go:noescape
   697  func CallGetProfileConfiguration(
   698  	retPtr unsafe.Pointer)
   699  
   700  //go:wasmimport plat/js/webext/developerprivate try_GetProfileConfiguration
   701  //go:noescape
   702  func TryGetProfileConfiguration(
   703  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   704  
   705  //go:wasmimport plat/js/webext/developerprivate has_GetUserAndExtensionSitesByEtld
   706  //go:noescape
   707  func HasFuncGetUserAndExtensionSitesByEtld() js.Ref
   708  
   709  //go:wasmimport plat/js/webext/developerprivate func_GetUserAndExtensionSitesByEtld
   710  //go:noescape
   711  func FuncGetUserAndExtensionSitesByEtld(fn unsafe.Pointer)
   712  
   713  //go:wasmimport plat/js/webext/developerprivate call_GetUserAndExtensionSitesByEtld
   714  //go:noescape
   715  func CallGetUserAndExtensionSitesByEtld(
   716  	retPtr unsafe.Pointer)
   717  
   718  //go:wasmimport plat/js/webext/developerprivate try_GetUserAndExtensionSitesByEtld
   719  //go:noescape
   720  func TryGetUserAndExtensionSitesByEtld(
   721  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   722  
   723  //go:wasmimport plat/js/webext/developerprivate has_GetUserSiteSettings
   724  //go:noescape
   725  func HasFuncGetUserSiteSettings() js.Ref
   726  
   727  //go:wasmimport plat/js/webext/developerprivate func_GetUserSiteSettings
   728  //go:noescape
   729  func FuncGetUserSiteSettings(fn unsafe.Pointer)
   730  
   731  //go:wasmimport plat/js/webext/developerprivate call_GetUserSiteSettings
   732  //go:noescape
   733  func CallGetUserSiteSettings(
   734  	retPtr unsafe.Pointer)
   735  
   736  //go:wasmimport plat/js/webext/developerprivate try_GetUserSiteSettings
   737  //go:noescape
   738  func TryGetUserSiteSettings(
   739  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   740  
   741  //go:wasmimport plat/js/webext/developerprivate has_Inspect
   742  //go:noescape
   743  func HasFuncInspect() js.Ref
   744  
   745  //go:wasmimport plat/js/webext/developerprivate func_Inspect
   746  //go:noescape
   747  func FuncInspect(fn unsafe.Pointer)
   748  
   749  //go:wasmimport plat/js/webext/developerprivate call_Inspect
   750  //go:noescape
   751  func CallInspect(
   752  	retPtr unsafe.Pointer,
   753  	options unsafe.Pointer,
   754  	callback js.Ref)
   755  
   756  //go:wasmimport plat/js/webext/developerprivate try_Inspect
   757  //go:noescape
   758  func TryInspect(
   759  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   760  	options unsafe.Pointer,
   761  	callback js.Ref) (ok js.Ref)
   762  
   763  //go:wasmimport plat/js/webext/developerprivate has_InstallDroppedFile
   764  //go:noescape
   765  func HasFuncInstallDroppedFile() js.Ref
   766  
   767  //go:wasmimport plat/js/webext/developerprivate func_InstallDroppedFile
   768  //go:noescape
   769  func FuncInstallDroppedFile(fn unsafe.Pointer)
   770  
   771  //go:wasmimport plat/js/webext/developerprivate call_InstallDroppedFile
   772  //go:noescape
   773  func CallInstallDroppedFile(
   774  	retPtr unsafe.Pointer)
   775  
   776  //go:wasmimport plat/js/webext/developerprivate try_InstallDroppedFile
   777  //go:noescape
   778  func TryInstallDroppedFile(
   779  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   780  
   781  //go:wasmimport plat/js/webext/developerprivate has_IsProfileManaged
   782  //go:noescape
   783  func HasFuncIsProfileManaged() js.Ref
   784  
   785  //go:wasmimport plat/js/webext/developerprivate func_IsProfileManaged
   786  //go:noescape
   787  func FuncIsProfileManaged(fn unsafe.Pointer)
   788  
   789  //go:wasmimport plat/js/webext/developerprivate call_IsProfileManaged
   790  //go:noescape
   791  func CallIsProfileManaged(
   792  	retPtr unsafe.Pointer)
   793  
   794  //go:wasmimport plat/js/webext/developerprivate try_IsProfileManaged
   795  //go:noescape
   796  func TryIsProfileManaged(
   797  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   798  
   799  //go:wasmimport plat/js/webext/developerprivate has_LoadDirectory
   800  //go:noescape
   801  func HasFuncLoadDirectory() js.Ref
   802  
   803  //go:wasmimport plat/js/webext/developerprivate func_LoadDirectory
   804  //go:noescape
   805  func FuncLoadDirectory(fn unsafe.Pointer)
   806  
   807  //go:wasmimport plat/js/webext/developerprivate call_LoadDirectory
   808  //go:noescape
   809  func CallLoadDirectory(
   810  	retPtr unsafe.Pointer,
   811  	directory js.Ref)
   812  
   813  //go:wasmimport plat/js/webext/developerprivate try_LoadDirectory
   814  //go:noescape
   815  func TryLoadDirectory(
   816  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   817  	directory js.Ref) (ok js.Ref)
   818  
   819  //go:wasmimport plat/js/webext/developerprivate has_LoadUnpacked
   820  //go:noescape
   821  func HasFuncLoadUnpacked() js.Ref
   822  
   823  //go:wasmimport plat/js/webext/developerprivate func_LoadUnpacked
   824  //go:noescape
   825  func FuncLoadUnpacked(fn unsafe.Pointer)
   826  
   827  //go:wasmimport plat/js/webext/developerprivate call_LoadUnpacked
   828  //go:noescape
   829  func CallLoadUnpacked(
   830  	retPtr unsafe.Pointer,
   831  	options unsafe.Pointer)
   832  
   833  //go:wasmimport plat/js/webext/developerprivate try_LoadUnpacked
   834  //go:noescape
   835  func TryLoadUnpacked(
   836  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   837  	options unsafe.Pointer) (ok js.Ref)
   838  
   839  //go:wasmimport plat/js/webext/developerprivate has_NotifyDragInstallInProgress
   840  //go:noescape
   841  func HasFuncNotifyDragInstallInProgress() js.Ref
   842  
   843  //go:wasmimport plat/js/webext/developerprivate func_NotifyDragInstallInProgress
   844  //go:noescape
   845  func FuncNotifyDragInstallInProgress(fn unsafe.Pointer)
   846  
   847  //go:wasmimport plat/js/webext/developerprivate call_NotifyDragInstallInProgress
   848  //go:noescape
   849  func CallNotifyDragInstallInProgress(
   850  	retPtr unsafe.Pointer)
   851  
   852  //go:wasmimport plat/js/webext/developerprivate try_NotifyDragInstallInProgress
   853  //go:noescape
   854  func TryNotifyDragInstallInProgress(
   855  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   856  
   857  //go:wasmimport plat/js/webext/developerprivate has_OnItemStateChanged
   858  //go:noescape
   859  func HasFuncOnItemStateChanged() js.Ref
   860  
   861  //go:wasmimport plat/js/webext/developerprivate func_OnItemStateChanged
   862  //go:noescape
   863  func FuncOnItemStateChanged(fn unsafe.Pointer)
   864  
   865  //go:wasmimport plat/js/webext/developerprivate call_OnItemStateChanged
   866  //go:noescape
   867  func CallOnItemStateChanged(
   868  	retPtr unsafe.Pointer,
   869  	callback js.Ref)
   870  
   871  //go:wasmimport plat/js/webext/developerprivate try_OnItemStateChanged
   872  //go:noescape
   873  func TryOnItemStateChanged(
   874  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   875  	callback js.Ref) (ok js.Ref)
   876  
   877  //go:wasmimport plat/js/webext/developerprivate has_OffItemStateChanged
   878  //go:noescape
   879  func HasFuncOffItemStateChanged() js.Ref
   880  
   881  //go:wasmimport plat/js/webext/developerprivate func_OffItemStateChanged
   882  //go:noescape
   883  func FuncOffItemStateChanged(fn unsafe.Pointer)
   884  
   885  //go:wasmimport plat/js/webext/developerprivate call_OffItemStateChanged
   886  //go:noescape
   887  func CallOffItemStateChanged(
   888  	retPtr unsafe.Pointer,
   889  	callback js.Ref)
   890  
   891  //go:wasmimport plat/js/webext/developerprivate try_OffItemStateChanged
   892  //go:noescape
   893  func TryOffItemStateChanged(
   894  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   895  	callback js.Ref) (ok js.Ref)
   896  
   897  //go:wasmimport plat/js/webext/developerprivate has_HasOnItemStateChanged
   898  //go:noescape
   899  func HasFuncHasOnItemStateChanged() js.Ref
   900  
   901  //go:wasmimport plat/js/webext/developerprivate func_HasOnItemStateChanged
   902  //go:noescape
   903  func FuncHasOnItemStateChanged(fn unsafe.Pointer)
   904  
   905  //go:wasmimport plat/js/webext/developerprivate call_HasOnItemStateChanged
   906  //go:noescape
   907  func CallHasOnItemStateChanged(
   908  	retPtr unsafe.Pointer,
   909  	callback js.Ref)
   910  
   911  //go:wasmimport plat/js/webext/developerprivate try_HasOnItemStateChanged
   912  //go:noescape
   913  func TryHasOnItemStateChanged(
   914  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   915  	callback js.Ref) (ok js.Ref)
   916  
   917  //go:wasmimport plat/js/webext/developerprivate has_OnProfileStateChanged
   918  //go:noescape
   919  func HasFuncOnProfileStateChanged() js.Ref
   920  
   921  //go:wasmimport plat/js/webext/developerprivate func_OnProfileStateChanged
   922  //go:noescape
   923  func FuncOnProfileStateChanged(fn unsafe.Pointer)
   924  
   925  //go:wasmimport plat/js/webext/developerprivate call_OnProfileStateChanged
   926  //go:noescape
   927  func CallOnProfileStateChanged(
   928  	retPtr unsafe.Pointer,
   929  	callback js.Ref)
   930  
   931  //go:wasmimport plat/js/webext/developerprivate try_OnProfileStateChanged
   932  //go:noescape
   933  func TryOnProfileStateChanged(
   934  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   935  	callback js.Ref) (ok js.Ref)
   936  
   937  //go:wasmimport plat/js/webext/developerprivate has_OffProfileStateChanged
   938  //go:noescape
   939  func HasFuncOffProfileStateChanged() js.Ref
   940  
   941  //go:wasmimport plat/js/webext/developerprivate func_OffProfileStateChanged
   942  //go:noescape
   943  func FuncOffProfileStateChanged(fn unsafe.Pointer)
   944  
   945  //go:wasmimport plat/js/webext/developerprivate call_OffProfileStateChanged
   946  //go:noescape
   947  func CallOffProfileStateChanged(
   948  	retPtr unsafe.Pointer,
   949  	callback js.Ref)
   950  
   951  //go:wasmimport plat/js/webext/developerprivate try_OffProfileStateChanged
   952  //go:noescape
   953  func TryOffProfileStateChanged(
   954  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   955  	callback js.Ref) (ok js.Ref)
   956  
   957  //go:wasmimport plat/js/webext/developerprivate has_HasOnProfileStateChanged
   958  //go:noescape
   959  func HasFuncHasOnProfileStateChanged() js.Ref
   960  
   961  //go:wasmimport plat/js/webext/developerprivate func_HasOnProfileStateChanged
   962  //go:noescape
   963  func FuncHasOnProfileStateChanged(fn unsafe.Pointer)
   964  
   965  //go:wasmimport plat/js/webext/developerprivate call_HasOnProfileStateChanged
   966  //go:noescape
   967  func CallHasOnProfileStateChanged(
   968  	retPtr unsafe.Pointer,
   969  	callback js.Ref)
   970  
   971  //go:wasmimport plat/js/webext/developerprivate try_HasOnProfileStateChanged
   972  //go:noescape
   973  func TryHasOnProfileStateChanged(
   974  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   975  	callback js.Ref) (ok js.Ref)
   976  
   977  //go:wasmimport plat/js/webext/developerprivate has_OnUserSiteSettingsChanged
   978  //go:noescape
   979  func HasFuncOnUserSiteSettingsChanged() js.Ref
   980  
   981  //go:wasmimport plat/js/webext/developerprivate func_OnUserSiteSettingsChanged
   982  //go:noescape
   983  func FuncOnUserSiteSettingsChanged(fn unsafe.Pointer)
   984  
   985  //go:wasmimport plat/js/webext/developerprivate call_OnUserSiteSettingsChanged
   986  //go:noescape
   987  func CallOnUserSiteSettingsChanged(
   988  	retPtr unsafe.Pointer,
   989  	callback js.Ref)
   990  
   991  //go:wasmimport plat/js/webext/developerprivate try_OnUserSiteSettingsChanged
   992  //go:noescape
   993  func TryOnUserSiteSettingsChanged(
   994  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   995  	callback js.Ref) (ok js.Ref)
   996  
   997  //go:wasmimport plat/js/webext/developerprivate has_OffUserSiteSettingsChanged
   998  //go:noescape
   999  func HasFuncOffUserSiteSettingsChanged() js.Ref
  1000  
  1001  //go:wasmimport plat/js/webext/developerprivate func_OffUserSiteSettingsChanged
  1002  //go:noescape
  1003  func FuncOffUserSiteSettingsChanged(fn unsafe.Pointer)
  1004  
  1005  //go:wasmimport plat/js/webext/developerprivate call_OffUserSiteSettingsChanged
  1006  //go:noescape
  1007  func CallOffUserSiteSettingsChanged(
  1008  	retPtr unsafe.Pointer,
  1009  	callback js.Ref)
  1010  
  1011  //go:wasmimport plat/js/webext/developerprivate try_OffUserSiteSettingsChanged
  1012  //go:noescape
  1013  func TryOffUserSiteSettingsChanged(
  1014  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1015  	callback js.Ref) (ok js.Ref)
  1016  
  1017  //go:wasmimport plat/js/webext/developerprivate has_HasOnUserSiteSettingsChanged
  1018  //go:noescape
  1019  func HasFuncHasOnUserSiteSettingsChanged() js.Ref
  1020  
  1021  //go:wasmimport plat/js/webext/developerprivate func_HasOnUserSiteSettingsChanged
  1022  //go:noescape
  1023  func FuncHasOnUserSiteSettingsChanged(fn unsafe.Pointer)
  1024  
  1025  //go:wasmimport plat/js/webext/developerprivate call_HasOnUserSiteSettingsChanged
  1026  //go:noescape
  1027  func CallHasOnUserSiteSettingsChanged(
  1028  	retPtr unsafe.Pointer,
  1029  	callback js.Ref)
  1030  
  1031  //go:wasmimport plat/js/webext/developerprivate try_HasOnUserSiteSettingsChanged
  1032  //go:noescape
  1033  func TryHasOnUserSiteSettingsChanged(
  1034  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1035  	callback js.Ref) (ok js.Ref)
  1036  
  1037  //go:wasmimport plat/js/webext/developerprivate has_OpenDevTools
  1038  //go:noescape
  1039  func HasFuncOpenDevTools() js.Ref
  1040  
  1041  //go:wasmimport plat/js/webext/developerprivate func_OpenDevTools
  1042  //go:noescape
  1043  func FuncOpenDevTools(fn unsafe.Pointer)
  1044  
  1045  //go:wasmimport plat/js/webext/developerprivate call_OpenDevTools
  1046  //go:noescape
  1047  func CallOpenDevTools(
  1048  	retPtr unsafe.Pointer,
  1049  	properties unsafe.Pointer)
  1050  
  1051  //go:wasmimport plat/js/webext/developerprivate try_OpenDevTools
  1052  //go:noescape
  1053  func TryOpenDevTools(
  1054  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1055  	properties unsafe.Pointer) (ok js.Ref)
  1056  
  1057  //go:wasmimport plat/js/webext/developerprivate has_PackDirectory
  1058  //go:noescape
  1059  func HasFuncPackDirectory() js.Ref
  1060  
  1061  //go:wasmimport plat/js/webext/developerprivate func_PackDirectory
  1062  //go:noescape
  1063  func FuncPackDirectory(fn unsafe.Pointer)
  1064  
  1065  //go:wasmimport plat/js/webext/developerprivate call_PackDirectory
  1066  //go:noescape
  1067  func CallPackDirectory(
  1068  	retPtr unsafe.Pointer,
  1069  	path js.Ref,
  1070  	privateKeyPath js.Ref,
  1071  	flags int32)
  1072  
  1073  //go:wasmimport plat/js/webext/developerprivate try_PackDirectory
  1074  //go:noescape
  1075  func TryPackDirectory(
  1076  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1077  	path js.Ref,
  1078  	privateKeyPath js.Ref,
  1079  	flags int32) (ok js.Ref)
  1080  
  1081  //go:wasmimport plat/js/webext/developerprivate has_Reload
  1082  //go:noescape
  1083  func HasFuncReload() js.Ref
  1084  
  1085  //go:wasmimport plat/js/webext/developerprivate func_Reload
  1086  //go:noescape
  1087  func FuncReload(fn unsafe.Pointer)
  1088  
  1089  //go:wasmimport plat/js/webext/developerprivate call_Reload
  1090  //go:noescape
  1091  func CallReload(
  1092  	retPtr unsafe.Pointer,
  1093  	extensionId js.Ref,
  1094  	options unsafe.Pointer)
  1095  
  1096  //go:wasmimport plat/js/webext/developerprivate try_Reload
  1097  //go:noescape
  1098  func TryReload(
  1099  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1100  	extensionId js.Ref,
  1101  	options unsafe.Pointer) (ok js.Ref)
  1102  
  1103  //go:wasmimport plat/js/webext/developerprivate has_RemoveHostPermission
  1104  //go:noescape
  1105  func HasFuncRemoveHostPermission() js.Ref
  1106  
  1107  //go:wasmimport plat/js/webext/developerprivate func_RemoveHostPermission
  1108  //go:noescape
  1109  func FuncRemoveHostPermission(fn unsafe.Pointer)
  1110  
  1111  //go:wasmimport plat/js/webext/developerprivate call_RemoveHostPermission
  1112  //go:noescape
  1113  func CallRemoveHostPermission(
  1114  	retPtr unsafe.Pointer,
  1115  	extensionId js.Ref,
  1116  	host js.Ref)
  1117  
  1118  //go:wasmimport plat/js/webext/developerprivate try_RemoveHostPermission
  1119  //go:noescape
  1120  func TryRemoveHostPermission(
  1121  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1122  	extensionId js.Ref,
  1123  	host js.Ref) (ok js.Ref)
  1124  
  1125  //go:wasmimport plat/js/webext/developerprivate has_RemoveMultipleExtensions
  1126  //go:noescape
  1127  func HasFuncRemoveMultipleExtensions() js.Ref
  1128  
  1129  //go:wasmimport plat/js/webext/developerprivate func_RemoveMultipleExtensions
  1130  //go:noescape
  1131  func FuncRemoveMultipleExtensions(fn unsafe.Pointer)
  1132  
  1133  //go:wasmimport plat/js/webext/developerprivate call_RemoveMultipleExtensions
  1134  //go:noescape
  1135  func CallRemoveMultipleExtensions(
  1136  	retPtr unsafe.Pointer,
  1137  	extensionIds js.Ref)
  1138  
  1139  //go:wasmimport plat/js/webext/developerprivate try_RemoveMultipleExtensions
  1140  //go:noescape
  1141  func TryRemoveMultipleExtensions(
  1142  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1143  	extensionIds js.Ref) (ok js.Ref)
  1144  
  1145  //go:wasmimport plat/js/webext/developerprivate has_RemoveUserSpecifiedSites
  1146  //go:noescape
  1147  func HasFuncRemoveUserSpecifiedSites() js.Ref
  1148  
  1149  //go:wasmimport plat/js/webext/developerprivate func_RemoveUserSpecifiedSites
  1150  //go:noescape
  1151  func FuncRemoveUserSpecifiedSites(fn unsafe.Pointer)
  1152  
  1153  //go:wasmimport plat/js/webext/developerprivate call_RemoveUserSpecifiedSites
  1154  //go:noescape
  1155  func CallRemoveUserSpecifiedSites(
  1156  	retPtr unsafe.Pointer,
  1157  	options unsafe.Pointer)
  1158  
  1159  //go:wasmimport plat/js/webext/developerprivate try_RemoveUserSpecifiedSites
  1160  //go:noescape
  1161  func TryRemoveUserSpecifiedSites(
  1162  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1163  	options unsafe.Pointer) (ok js.Ref)
  1164  
  1165  //go:wasmimport plat/js/webext/developerprivate has_RepairExtension
  1166  //go:noescape
  1167  func HasFuncRepairExtension() js.Ref
  1168  
  1169  //go:wasmimport plat/js/webext/developerprivate func_RepairExtension
  1170  //go:noescape
  1171  func FuncRepairExtension(fn unsafe.Pointer)
  1172  
  1173  //go:wasmimport plat/js/webext/developerprivate call_RepairExtension
  1174  //go:noescape
  1175  func CallRepairExtension(
  1176  	retPtr unsafe.Pointer,
  1177  	extensionId js.Ref)
  1178  
  1179  //go:wasmimport plat/js/webext/developerprivate try_RepairExtension
  1180  //go:noescape
  1181  func TryRepairExtension(
  1182  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1183  	extensionId js.Ref) (ok js.Ref)
  1184  
  1185  //go:wasmimport plat/js/webext/developerprivate has_RequestFileSource
  1186  //go:noescape
  1187  func HasFuncRequestFileSource() js.Ref
  1188  
  1189  //go:wasmimport plat/js/webext/developerprivate func_RequestFileSource
  1190  //go:noescape
  1191  func FuncRequestFileSource(fn unsafe.Pointer)
  1192  
  1193  //go:wasmimport plat/js/webext/developerprivate call_RequestFileSource
  1194  //go:noescape
  1195  func CallRequestFileSource(
  1196  	retPtr unsafe.Pointer,
  1197  	properties unsafe.Pointer)
  1198  
  1199  //go:wasmimport plat/js/webext/developerprivate try_RequestFileSource
  1200  //go:noescape
  1201  func TryRequestFileSource(
  1202  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1203  	properties unsafe.Pointer) (ok js.Ref)
  1204  
  1205  //go:wasmimport plat/js/webext/developerprivate has_SetShortcutHandlingSuspended
  1206  //go:noescape
  1207  func HasFuncSetShortcutHandlingSuspended() js.Ref
  1208  
  1209  //go:wasmimport plat/js/webext/developerprivate func_SetShortcutHandlingSuspended
  1210  //go:noescape
  1211  func FuncSetShortcutHandlingSuspended(fn unsafe.Pointer)
  1212  
  1213  //go:wasmimport plat/js/webext/developerprivate call_SetShortcutHandlingSuspended
  1214  //go:noescape
  1215  func CallSetShortcutHandlingSuspended(
  1216  	retPtr unsafe.Pointer,
  1217  	isSuspended js.Ref)
  1218  
  1219  //go:wasmimport plat/js/webext/developerprivate try_SetShortcutHandlingSuspended
  1220  //go:noescape
  1221  func TrySetShortcutHandlingSuspended(
  1222  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1223  	isSuspended js.Ref) (ok js.Ref)
  1224  
  1225  //go:wasmimport plat/js/webext/developerprivate has_ShowOptions
  1226  //go:noescape
  1227  func HasFuncShowOptions() js.Ref
  1228  
  1229  //go:wasmimport plat/js/webext/developerprivate func_ShowOptions
  1230  //go:noescape
  1231  func FuncShowOptions(fn unsafe.Pointer)
  1232  
  1233  //go:wasmimport plat/js/webext/developerprivate call_ShowOptions
  1234  //go:noescape
  1235  func CallShowOptions(
  1236  	retPtr unsafe.Pointer,
  1237  	extensionId js.Ref)
  1238  
  1239  //go:wasmimport plat/js/webext/developerprivate try_ShowOptions
  1240  //go:noescape
  1241  func TryShowOptions(
  1242  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1243  	extensionId js.Ref) (ok js.Ref)
  1244  
  1245  //go:wasmimport plat/js/webext/developerprivate has_ShowPath
  1246  //go:noescape
  1247  func HasFuncShowPath() js.Ref
  1248  
  1249  //go:wasmimport plat/js/webext/developerprivate func_ShowPath
  1250  //go:noescape
  1251  func FuncShowPath(fn unsafe.Pointer)
  1252  
  1253  //go:wasmimport plat/js/webext/developerprivate call_ShowPath
  1254  //go:noescape
  1255  func CallShowPath(
  1256  	retPtr unsafe.Pointer,
  1257  	extensionId js.Ref)
  1258  
  1259  //go:wasmimport plat/js/webext/developerprivate try_ShowPath
  1260  //go:noescape
  1261  func TryShowPath(
  1262  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1263  	extensionId js.Ref) (ok js.Ref)
  1264  
  1265  //go:wasmimport plat/js/webext/developerprivate has_UpdateExtensionCommand
  1266  //go:noescape
  1267  func HasFuncUpdateExtensionCommand() js.Ref
  1268  
  1269  //go:wasmimport plat/js/webext/developerprivate func_UpdateExtensionCommand
  1270  //go:noescape
  1271  func FuncUpdateExtensionCommand(fn unsafe.Pointer)
  1272  
  1273  //go:wasmimport plat/js/webext/developerprivate call_UpdateExtensionCommand
  1274  //go:noescape
  1275  func CallUpdateExtensionCommand(
  1276  	retPtr unsafe.Pointer,
  1277  	update unsafe.Pointer)
  1278  
  1279  //go:wasmimport plat/js/webext/developerprivate try_UpdateExtensionCommand
  1280  //go:noescape
  1281  func TryUpdateExtensionCommand(
  1282  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1283  	update unsafe.Pointer) (ok js.Ref)
  1284  
  1285  //go:wasmimport plat/js/webext/developerprivate has_UpdateExtensionConfiguration
  1286  //go:noescape
  1287  func HasFuncUpdateExtensionConfiguration() js.Ref
  1288  
  1289  //go:wasmimport plat/js/webext/developerprivate func_UpdateExtensionConfiguration
  1290  //go:noescape
  1291  func FuncUpdateExtensionConfiguration(fn unsafe.Pointer)
  1292  
  1293  //go:wasmimport plat/js/webext/developerprivate call_UpdateExtensionConfiguration
  1294  //go:noescape
  1295  func CallUpdateExtensionConfiguration(
  1296  	retPtr unsafe.Pointer,
  1297  	update unsafe.Pointer)
  1298  
  1299  //go:wasmimport plat/js/webext/developerprivate try_UpdateExtensionConfiguration
  1300  //go:noescape
  1301  func TryUpdateExtensionConfiguration(
  1302  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1303  	update unsafe.Pointer) (ok js.Ref)
  1304  
  1305  //go:wasmimport plat/js/webext/developerprivate has_UpdateProfileConfiguration
  1306  //go:noescape
  1307  func HasFuncUpdateProfileConfiguration() js.Ref
  1308  
  1309  //go:wasmimport plat/js/webext/developerprivate func_UpdateProfileConfiguration
  1310  //go:noescape
  1311  func FuncUpdateProfileConfiguration(fn unsafe.Pointer)
  1312  
  1313  //go:wasmimport plat/js/webext/developerprivate call_UpdateProfileConfiguration
  1314  //go:noescape
  1315  func CallUpdateProfileConfiguration(
  1316  	retPtr unsafe.Pointer,
  1317  	update unsafe.Pointer)
  1318  
  1319  //go:wasmimport plat/js/webext/developerprivate try_UpdateProfileConfiguration
  1320  //go:noescape
  1321  func TryUpdateProfileConfiguration(
  1322  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1323  	update unsafe.Pointer) (ok js.Ref)
  1324  
  1325  //go:wasmimport plat/js/webext/developerprivate has_UpdateSiteAccess
  1326  //go:noescape
  1327  func HasFuncUpdateSiteAccess() js.Ref
  1328  
  1329  //go:wasmimport plat/js/webext/developerprivate func_UpdateSiteAccess
  1330  //go:noescape
  1331  func FuncUpdateSiteAccess(fn unsafe.Pointer)
  1332  
  1333  //go:wasmimport plat/js/webext/developerprivate call_UpdateSiteAccess
  1334  //go:noescape
  1335  func CallUpdateSiteAccess(
  1336  	retPtr unsafe.Pointer,
  1337  	site js.Ref,
  1338  	updates js.Ref)
  1339  
  1340  //go:wasmimport plat/js/webext/developerprivate try_UpdateSiteAccess
  1341  //go:noescape
  1342  func TryUpdateSiteAccess(
  1343  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1344  	site js.Ref,
  1345  	updates js.Ref) (ok js.Ref)