github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/chromeos/events/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/chromeos/events constof_AudioJackDeviceType
    20  //go:noescape
    21  func ConstOfAudioJackDeviceType(str js.Ref) uint32
    22  
    23  //go:wasmimport plat/js/webext/chromeos/events constof_AudioJackEvent
    24  //go:noescape
    25  func ConstOfAudioJackEvent(str js.Ref) uint32
    26  
    27  //go:wasmimport plat/js/webext/chromeos/events store_AudioJackEventInfo
    28  //go:noescape
    29  func AudioJackEventInfoJSStore(
    30  	ptr unsafe.Pointer, ref js.Ref)
    31  
    32  //go:wasmimport plat/js/webext/chromeos/events load_AudioJackEventInfo
    33  //go:noescape
    34  func AudioJackEventInfoJSLoad(
    35  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    36  
    37  //go:wasmimport plat/js/webext/chromeos/events constof_DisplayInputType
    38  //go:noescape
    39  func ConstOfDisplayInputType(str js.Ref) uint32
    40  
    41  //go:wasmimport plat/js/webext/chromeos/events constof_EventCategory
    42  //go:noescape
    43  func ConstOfEventCategory(str js.Ref) uint32
    44  
    45  //go:wasmimport plat/js/webext/chromeos/events constof_EventSupportStatus
    46  //go:noescape
    47  func ConstOfEventSupportStatus(str js.Ref) uint32
    48  
    49  //go:wasmimport plat/js/webext/chromeos/events store_EventSupportStatusInfo
    50  //go:noescape
    51  func EventSupportStatusInfoJSStore(
    52  	ptr unsafe.Pointer, ref js.Ref)
    53  
    54  //go:wasmimport plat/js/webext/chromeos/events load_EventSupportStatusInfo
    55  //go:noescape
    56  func EventSupportStatusInfoJSLoad(
    57  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    58  
    59  //go:wasmimport plat/js/webext/chromeos/events constof_ExternalDisplayEvent
    60  //go:noescape
    61  func ConstOfExternalDisplayEvent(str js.Ref) uint32
    62  
    63  //go:wasmimport plat/js/webext/chromeos/events store_ExternalDisplayInfo
    64  //go:noescape
    65  func ExternalDisplayInfoJSStore(
    66  	ptr unsafe.Pointer, ref js.Ref)
    67  
    68  //go:wasmimport plat/js/webext/chromeos/events load_ExternalDisplayInfo
    69  //go:noescape
    70  func ExternalDisplayInfoJSLoad(
    71  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    72  
    73  //go:wasmimport plat/js/webext/chromeos/events store_ExternalDisplayEventInfo
    74  //go:noescape
    75  func ExternalDisplayEventInfoJSStore(
    76  	ptr unsafe.Pointer, ref js.Ref)
    77  
    78  //go:wasmimport plat/js/webext/chromeos/events load_ExternalDisplayEventInfo
    79  //go:noescape
    80  func ExternalDisplayEventInfoJSLoad(
    81  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    82  
    83  //go:wasmimport plat/js/webext/chromeos/events constof_InputTouchButton
    84  //go:noescape
    85  func ConstOfInputTouchButton(str js.Ref) uint32
    86  
    87  //go:wasmimport plat/js/webext/chromeos/events constof_InputTouchButtonState
    88  //go:noescape
    89  func ConstOfInputTouchButtonState(str js.Ref) uint32
    90  
    91  //go:wasmimport plat/js/webext/chromeos/events constof_KeyboardConnectionType
    92  //go:noescape
    93  func ConstOfKeyboardConnectionType(str js.Ref) uint32
    94  
    95  //go:wasmimport plat/js/webext/chromeos/events constof_PhysicalKeyboardLayout
    96  //go:noescape
    97  func ConstOfPhysicalKeyboardLayout(str js.Ref) uint32
    98  
    99  //go:wasmimport plat/js/webext/chromeos/events constof_MechanicalKeyboardLayout
   100  //go:noescape
   101  func ConstOfMechanicalKeyboardLayout(str js.Ref) uint32
   102  
   103  //go:wasmimport plat/js/webext/chromeos/events constof_KeyboardNumberPadPresence
   104  //go:noescape
   105  func ConstOfKeyboardNumberPadPresence(str js.Ref) uint32
   106  
   107  //go:wasmimport plat/js/webext/chromeos/events constof_KeyboardTopRowKey
   108  //go:noescape
   109  func ConstOfKeyboardTopRowKey(str js.Ref) uint32
   110  
   111  //go:wasmimport plat/js/webext/chromeos/events constof_KeyboardTopRightKey
   112  //go:noescape
   113  func ConstOfKeyboardTopRightKey(str js.Ref) uint32
   114  
   115  //go:wasmimport plat/js/webext/chromeos/events store_KeyboardInfo
   116  //go:noescape
   117  func KeyboardInfoJSStore(
   118  	ptr unsafe.Pointer, ref js.Ref)
   119  
   120  //go:wasmimport plat/js/webext/chromeos/events load_KeyboardInfo
   121  //go:noescape
   122  func KeyboardInfoJSLoad(
   123  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   124  
   125  //go:wasmimport plat/js/webext/chromeos/events store_KeyboardDiagnosticEventInfo
   126  //go:noescape
   127  func KeyboardDiagnosticEventInfoJSStore(
   128  	ptr unsafe.Pointer, ref js.Ref)
   129  
   130  //go:wasmimport plat/js/webext/chromeos/events load_KeyboardDiagnosticEventInfo
   131  //go:noescape
   132  func KeyboardDiagnosticEventInfoJSLoad(
   133  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   134  
   135  //go:wasmimport plat/js/webext/chromeos/events constof_LidEvent
   136  //go:noescape
   137  func ConstOfLidEvent(str js.Ref) uint32
   138  
   139  //go:wasmimport plat/js/webext/chromeos/events store_LidEventInfo
   140  //go:noescape
   141  func LidEventInfoJSStore(
   142  	ptr unsafe.Pointer, ref js.Ref)
   143  
   144  //go:wasmimport plat/js/webext/chromeos/events load_LidEventInfo
   145  //go:noescape
   146  func LidEventInfoJSLoad(
   147  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   148  
   149  //go:wasmimport plat/js/webext/chromeos/events constof_PowerEvent
   150  //go:noescape
   151  func ConstOfPowerEvent(str js.Ref) uint32
   152  
   153  //go:wasmimport plat/js/webext/chromeos/events store_PowerEventInfo
   154  //go:noescape
   155  func PowerEventInfoJSStore(
   156  	ptr unsafe.Pointer, ref js.Ref)
   157  
   158  //go:wasmimport plat/js/webext/chromeos/events load_PowerEventInfo
   159  //go:noescape
   160  func PowerEventInfoJSLoad(
   161  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   162  
   163  //go:wasmimport plat/js/webext/chromeos/events constof_SdCardEvent
   164  //go:noescape
   165  func ConstOfSdCardEvent(str js.Ref) uint32
   166  
   167  //go:wasmimport plat/js/webext/chromeos/events store_SdCardEventInfo
   168  //go:noescape
   169  func SdCardEventInfoJSStore(
   170  	ptr unsafe.Pointer, ref js.Ref)
   171  
   172  //go:wasmimport plat/js/webext/chromeos/events load_SdCardEventInfo
   173  //go:noescape
   174  func SdCardEventInfoJSLoad(
   175  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   176  
   177  //go:wasmimport plat/js/webext/chromeos/events store_StylusConnectedEventInfo
   178  //go:noescape
   179  func StylusConnectedEventInfoJSStore(
   180  	ptr unsafe.Pointer, ref js.Ref)
   181  
   182  //go:wasmimport plat/js/webext/chromeos/events load_StylusConnectedEventInfo
   183  //go:noescape
   184  func StylusConnectedEventInfoJSLoad(
   185  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   186  
   187  //go:wasmimport plat/js/webext/chromeos/events constof_StylusGarageEvent
   188  //go:noescape
   189  func ConstOfStylusGarageEvent(str js.Ref) uint32
   190  
   191  //go:wasmimport plat/js/webext/chromeos/events store_StylusGarageEventInfo
   192  //go:noescape
   193  func StylusGarageEventInfoJSStore(
   194  	ptr unsafe.Pointer, ref js.Ref)
   195  
   196  //go:wasmimport plat/js/webext/chromeos/events load_StylusGarageEventInfo
   197  //go:noescape
   198  func StylusGarageEventInfoJSLoad(
   199  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   200  
   201  //go:wasmimport plat/js/webext/chromeos/events store_StylusTouchPointInfo
   202  //go:noescape
   203  func StylusTouchPointInfoJSStore(
   204  	ptr unsafe.Pointer, ref js.Ref)
   205  
   206  //go:wasmimport plat/js/webext/chromeos/events load_StylusTouchPointInfo
   207  //go:noescape
   208  func StylusTouchPointInfoJSLoad(
   209  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   210  
   211  //go:wasmimport plat/js/webext/chromeos/events store_StylusTouchEventInfo
   212  //go:noescape
   213  func StylusTouchEventInfoJSStore(
   214  	ptr unsafe.Pointer, ref js.Ref)
   215  
   216  //go:wasmimport plat/js/webext/chromeos/events load_StylusTouchEventInfo
   217  //go:noescape
   218  func StylusTouchEventInfoJSLoad(
   219  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   220  
   221  //go:wasmimport plat/js/webext/chromeos/events store_TouchPointInfo
   222  //go:noescape
   223  func TouchPointInfoJSStore(
   224  	ptr unsafe.Pointer, ref js.Ref)
   225  
   226  //go:wasmimport plat/js/webext/chromeos/events load_TouchPointInfo
   227  //go:noescape
   228  func TouchPointInfoJSLoad(
   229  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   230  
   231  //go:wasmimport plat/js/webext/chromeos/events store_TouchpadButtonEventInfo
   232  //go:noescape
   233  func TouchpadButtonEventInfoJSStore(
   234  	ptr unsafe.Pointer, ref js.Ref)
   235  
   236  //go:wasmimport plat/js/webext/chromeos/events load_TouchpadButtonEventInfo
   237  //go:noescape
   238  func TouchpadButtonEventInfoJSLoad(
   239  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   240  
   241  //go:wasmimport plat/js/webext/chromeos/events store_TouchpadConnectedEventInfo
   242  //go:noescape
   243  func TouchpadConnectedEventInfoJSStore(
   244  	ptr unsafe.Pointer, ref js.Ref)
   245  
   246  //go:wasmimport plat/js/webext/chromeos/events load_TouchpadConnectedEventInfo
   247  //go:noescape
   248  func TouchpadConnectedEventInfoJSLoad(
   249  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   250  
   251  //go:wasmimport plat/js/webext/chromeos/events store_TouchpadTouchEventInfo
   252  //go:noescape
   253  func TouchpadTouchEventInfoJSStore(
   254  	ptr unsafe.Pointer, ref js.Ref)
   255  
   256  //go:wasmimport plat/js/webext/chromeos/events load_TouchpadTouchEventInfo
   257  //go:noescape
   258  func TouchpadTouchEventInfoJSLoad(
   259  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   260  
   261  //go:wasmimport plat/js/webext/chromeos/events store_TouchscreenConnectedEventInfo
   262  //go:noescape
   263  func TouchscreenConnectedEventInfoJSStore(
   264  	ptr unsafe.Pointer, ref js.Ref)
   265  
   266  //go:wasmimport plat/js/webext/chromeos/events load_TouchscreenConnectedEventInfo
   267  //go:noescape
   268  func TouchscreenConnectedEventInfoJSLoad(
   269  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   270  
   271  //go:wasmimport plat/js/webext/chromeos/events store_TouchscreenTouchEventInfo
   272  //go:noescape
   273  func TouchscreenTouchEventInfoJSStore(
   274  	ptr unsafe.Pointer, ref js.Ref)
   275  
   276  //go:wasmimport plat/js/webext/chromeos/events load_TouchscreenTouchEventInfo
   277  //go:noescape
   278  func TouchscreenTouchEventInfoJSLoad(
   279  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   280  
   281  //go:wasmimport plat/js/webext/chromeos/events constof_UsbEvent
   282  //go:noescape
   283  func ConstOfUsbEvent(str js.Ref) uint32
   284  
   285  //go:wasmimport plat/js/webext/chromeos/events store_UsbEventInfo
   286  //go:noescape
   287  func UsbEventInfoJSStore(
   288  	ptr unsafe.Pointer, ref js.Ref)
   289  
   290  //go:wasmimport plat/js/webext/chromeos/events load_UsbEventInfo
   291  //go:noescape
   292  func UsbEventInfoJSLoad(
   293  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   294  
   295  //go:wasmimport plat/js/webext/chromeos/events has_IsEventSupported
   296  //go:noescape
   297  func HasFuncIsEventSupported() js.Ref
   298  
   299  //go:wasmimport plat/js/webext/chromeos/events func_IsEventSupported
   300  //go:noescape
   301  func FuncIsEventSupported(fn unsafe.Pointer)
   302  
   303  //go:wasmimport plat/js/webext/chromeos/events call_IsEventSupported
   304  //go:noescape
   305  func CallIsEventSupported(
   306  	retPtr unsafe.Pointer,
   307  	category uint32)
   308  
   309  //go:wasmimport plat/js/webext/chromeos/events try_IsEventSupported
   310  //go:noescape
   311  func TryIsEventSupported(
   312  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   313  	category uint32) (ok js.Ref)
   314  
   315  //go:wasmimport plat/js/webext/chromeos/events has_OnAudioJackEvent
   316  //go:noescape
   317  func HasFuncOnAudioJackEvent() js.Ref
   318  
   319  //go:wasmimport plat/js/webext/chromeos/events func_OnAudioJackEvent
   320  //go:noescape
   321  func FuncOnAudioJackEvent(fn unsafe.Pointer)
   322  
   323  //go:wasmimport plat/js/webext/chromeos/events call_OnAudioJackEvent
   324  //go:noescape
   325  func CallOnAudioJackEvent(
   326  	retPtr unsafe.Pointer,
   327  	callback js.Ref)
   328  
   329  //go:wasmimport plat/js/webext/chromeos/events try_OnAudioJackEvent
   330  //go:noescape
   331  func TryOnAudioJackEvent(
   332  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   333  	callback js.Ref) (ok js.Ref)
   334  
   335  //go:wasmimport plat/js/webext/chromeos/events has_OffAudioJackEvent
   336  //go:noescape
   337  func HasFuncOffAudioJackEvent() js.Ref
   338  
   339  //go:wasmimport plat/js/webext/chromeos/events func_OffAudioJackEvent
   340  //go:noescape
   341  func FuncOffAudioJackEvent(fn unsafe.Pointer)
   342  
   343  //go:wasmimport plat/js/webext/chromeos/events call_OffAudioJackEvent
   344  //go:noescape
   345  func CallOffAudioJackEvent(
   346  	retPtr unsafe.Pointer,
   347  	callback js.Ref)
   348  
   349  //go:wasmimport plat/js/webext/chromeos/events try_OffAudioJackEvent
   350  //go:noescape
   351  func TryOffAudioJackEvent(
   352  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   353  	callback js.Ref) (ok js.Ref)
   354  
   355  //go:wasmimport plat/js/webext/chromeos/events has_HasOnAudioJackEvent
   356  //go:noescape
   357  func HasFuncHasOnAudioJackEvent() js.Ref
   358  
   359  //go:wasmimport plat/js/webext/chromeos/events func_HasOnAudioJackEvent
   360  //go:noescape
   361  func FuncHasOnAudioJackEvent(fn unsafe.Pointer)
   362  
   363  //go:wasmimport plat/js/webext/chromeos/events call_HasOnAudioJackEvent
   364  //go:noescape
   365  func CallHasOnAudioJackEvent(
   366  	retPtr unsafe.Pointer,
   367  	callback js.Ref)
   368  
   369  //go:wasmimport plat/js/webext/chromeos/events try_HasOnAudioJackEvent
   370  //go:noescape
   371  func TryHasOnAudioJackEvent(
   372  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   373  	callback js.Ref) (ok js.Ref)
   374  
   375  //go:wasmimport plat/js/webext/chromeos/events has_OnExternalDisplayEvent
   376  //go:noescape
   377  func HasFuncOnExternalDisplayEvent() js.Ref
   378  
   379  //go:wasmimport plat/js/webext/chromeos/events func_OnExternalDisplayEvent
   380  //go:noescape
   381  func FuncOnExternalDisplayEvent(fn unsafe.Pointer)
   382  
   383  //go:wasmimport plat/js/webext/chromeos/events call_OnExternalDisplayEvent
   384  //go:noescape
   385  func CallOnExternalDisplayEvent(
   386  	retPtr unsafe.Pointer,
   387  	callback js.Ref)
   388  
   389  //go:wasmimport plat/js/webext/chromeos/events try_OnExternalDisplayEvent
   390  //go:noescape
   391  func TryOnExternalDisplayEvent(
   392  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   393  	callback js.Ref) (ok js.Ref)
   394  
   395  //go:wasmimport plat/js/webext/chromeos/events has_OffExternalDisplayEvent
   396  //go:noescape
   397  func HasFuncOffExternalDisplayEvent() js.Ref
   398  
   399  //go:wasmimport plat/js/webext/chromeos/events func_OffExternalDisplayEvent
   400  //go:noescape
   401  func FuncOffExternalDisplayEvent(fn unsafe.Pointer)
   402  
   403  //go:wasmimport plat/js/webext/chromeos/events call_OffExternalDisplayEvent
   404  //go:noescape
   405  func CallOffExternalDisplayEvent(
   406  	retPtr unsafe.Pointer,
   407  	callback js.Ref)
   408  
   409  //go:wasmimport plat/js/webext/chromeos/events try_OffExternalDisplayEvent
   410  //go:noescape
   411  func TryOffExternalDisplayEvent(
   412  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   413  	callback js.Ref) (ok js.Ref)
   414  
   415  //go:wasmimport plat/js/webext/chromeos/events has_HasOnExternalDisplayEvent
   416  //go:noescape
   417  func HasFuncHasOnExternalDisplayEvent() js.Ref
   418  
   419  //go:wasmimport plat/js/webext/chromeos/events func_HasOnExternalDisplayEvent
   420  //go:noescape
   421  func FuncHasOnExternalDisplayEvent(fn unsafe.Pointer)
   422  
   423  //go:wasmimport plat/js/webext/chromeos/events call_HasOnExternalDisplayEvent
   424  //go:noescape
   425  func CallHasOnExternalDisplayEvent(
   426  	retPtr unsafe.Pointer,
   427  	callback js.Ref)
   428  
   429  //go:wasmimport plat/js/webext/chromeos/events try_HasOnExternalDisplayEvent
   430  //go:noescape
   431  func TryHasOnExternalDisplayEvent(
   432  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   433  	callback js.Ref) (ok js.Ref)
   434  
   435  //go:wasmimport plat/js/webext/chromeos/events has_OnKeyboardDiagnosticEvent
   436  //go:noescape
   437  func HasFuncOnKeyboardDiagnosticEvent() js.Ref
   438  
   439  //go:wasmimport plat/js/webext/chromeos/events func_OnKeyboardDiagnosticEvent
   440  //go:noescape
   441  func FuncOnKeyboardDiagnosticEvent(fn unsafe.Pointer)
   442  
   443  //go:wasmimport plat/js/webext/chromeos/events call_OnKeyboardDiagnosticEvent
   444  //go:noescape
   445  func CallOnKeyboardDiagnosticEvent(
   446  	retPtr unsafe.Pointer,
   447  	callback js.Ref)
   448  
   449  //go:wasmimport plat/js/webext/chromeos/events try_OnKeyboardDiagnosticEvent
   450  //go:noescape
   451  func TryOnKeyboardDiagnosticEvent(
   452  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   453  	callback js.Ref) (ok js.Ref)
   454  
   455  //go:wasmimport plat/js/webext/chromeos/events has_OffKeyboardDiagnosticEvent
   456  //go:noescape
   457  func HasFuncOffKeyboardDiagnosticEvent() js.Ref
   458  
   459  //go:wasmimport plat/js/webext/chromeos/events func_OffKeyboardDiagnosticEvent
   460  //go:noescape
   461  func FuncOffKeyboardDiagnosticEvent(fn unsafe.Pointer)
   462  
   463  //go:wasmimport plat/js/webext/chromeos/events call_OffKeyboardDiagnosticEvent
   464  //go:noescape
   465  func CallOffKeyboardDiagnosticEvent(
   466  	retPtr unsafe.Pointer,
   467  	callback js.Ref)
   468  
   469  //go:wasmimport plat/js/webext/chromeos/events try_OffKeyboardDiagnosticEvent
   470  //go:noescape
   471  func TryOffKeyboardDiagnosticEvent(
   472  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   473  	callback js.Ref) (ok js.Ref)
   474  
   475  //go:wasmimport plat/js/webext/chromeos/events has_HasOnKeyboardDiagnosticEvent
   476  //go:noescape
   477  func HasFuncHasOnKeyboardDiagnosticEvent() js.Ref
   478  
   479  //go:wasmimport plat/js/webext/chromeos/events func_HasOnKeyboardDiagnosticEvent
   480  //go:noescape
   481  func FuncHasOnKeyboardDiagnosticEvent(fn unsafe.Pointer)
   482  
   483  //go:wasmimport plat/js/webext/chromeos/events call_HasOnKeyboardDiagnosticEvent
   484  //go:noescape
   485  func CallHasOnKeyboardDiagnosticEvent(
   486  	retPtr unsafe.Pointer,
   487  	callback js.Ref)
   488  
   489  //go:wasmimport plat/js/webext/chromeos/events try_HasOnKeyboardDiagnosticEvent
   490  //go:noescape
   491  func TryHasOnKeyboardDiagnosticEvent(
   492  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   493  	callback js.Ref) (ok js.Ref)
   494  
   495  //go:wasmimport plat/js/webext/chromeos/events has_OnLidEvent
   496  //go:noescape
   497  func HasFuncOnLidEvent() js.Ref
   498  
   499  //go:wasmimport plat/js/webext/chromeos/events func_OnLidEvent
   500  //go:noescape
   501  func FuncOnLidEvent(fn unsafe.Pointer)
   502  
   503  //go:wasmimport plat/js/webext/chromeos/events call_OnLidEvent
   504  //go:noescape
   505  func CallOnLidEvent(
   506  	retPtr unsafe.Pointer,
   507  	callback js.Ref)
   508  
   509  //go:wasmimport plat/js/webext/chromeos/events try_OnLidEvent
   510  //go:noescape
   511  func TryOnLidEvent(
   512  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   513  	callback js.Ref) (ok js.Ref)
   514  
   515  //go:wasmimport plat/js/webext/chromeos/events has_OffLidEvent
   516  //go:noescape
   517  func HasFuncOffLidEvent() js.Ref
   518  
   519  //go:wasmimport plat/js/webext/chromeos/events func_OffLidEvent
   520  //go:noescape
   521  func FuncOffLidEvent(fn unsafe.Pointer)
   522  
   523  //go:wasmimport plat/js/webext/chromeos/events call_OffLidEvent
   524  //go:noescape
   525  func CallOffLidEvent(
   526  	retPtr unsafe.Pointer,
   527  	callback js.Ref)
   528  
   529  //go:wasmimport plat/js/webext/chromeos/events try_OffLidEvent
   530  //go:noescape
   531  func TryOffLidEvent(
   532  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   533  	callback js.Ref) (ok js.Ref)
   534  
   535  //go:wasmimport plat/js/webext/chromeos/events has_HasOnLidEvent
   536  //go:noescape
   537  func HasFuncHasOnLidEvent() js.Ref
   538  
   539  //go:wasmimport plat/js/webext/chromeos/events func_HasOnLidEvent
   540  //go:noescape
   541  func FuncHasOnLidEvent(fn unsafe.Pointer)
   542  
   543  //go:wasmimport plat/js/webext/chromeos/events call_HasOnLidEvent
   544  //go:noescape
   545  func CallHasOnLidEvent(
   546  	retPtr unsafe.Pointer,
   547  	callback js.Ref)
   548  
   549  //go:wasmimport plat/js/webext/chromeos/events try_HasOnLidEvent
   550  //go:noescape
   551  func TryHasOnLidEvent(
   552  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   553  	callback js.Ref) (ok js.Ref)
   554  
   555  //go:wasmimport plat/js/webext/chromeos/events has_OnPowerEvent
   556  //go:noescape
   557  func HasFuncOnPowerEvent() js.Ref
   558  
   559  //go:wasmimport plat/js/webext/chromeos/events func_OnPowerEvent
   560  //go:noescape
   561  func FuncOnPowerEvent(fn unsafe.Pointer)
   562  
   563  //go:wasmimport plat/js/webext/chromeos/events call_OnPowerEvent
   564  //go:noescape
   565  func CallOnPowerEvent(
   566  	retPtr unsafe.Pointer,
   567  	callback js.Ref)
   568  
   569  //go:wasmimport plat/js/webext/chromeos/events try_OnPowerEvent
   570  //go:noescape
   571  func TryOnPowerEvent(
   572  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   573  	callback js.Ref) (ok js.Ref)
   574  
   575  //go:wasmimport plat/js/webext/chromeos/events has_OffPowerEvent
   576  //go:noescape
   577  func HasFuncOffPowerEvent() js.Ref
   578  
   579  //go:wasmimport plat/js/webext/chromeos/events func_OffPowerEvent
   580  //go:noescape
   581  func FuncOffPowerEvent(fn unsafe.Pointer)
   582  
   583  //go:wasmimport plat/js/webext/chromeos/events call_OffPowerEvent
   584  //go:noescape
   585  func CallOffPowerEvent(
   586  	retPtr unsafe.Pointer,
   587  	callback js.Ref)
   588  
   589  //go:wasmimport plat/js/webext/chromeos/events try_OffPowerEvent
   590  //go:noescape
   591  func TryOffPowerEvent(
   592  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   593  	callback js.Ref) (ok js.Ref)
   594  
   595  //go:wasmimport plat/js/webext/chromeos/events has_HasOnPowerEvent
   596  //go:noescape
   597  func HasFuncHasOnPowerEvent() js.Ref
   598  
   599  //go:wasmimport plat/js/webext/chromeos/events func_HasOnPowerEvent
   600  //go:noescape
   601  func FuncHasOnPowerEvent(fn unsafe.Pointer)
   602  
   603  //go:wasmimport plat/js/webext/chromeos/events call_HasOnPowerEvent
   604  //go:noescape
   605  func CallHasOnPowerEvent(
   606  	retPtr unsafe.Pointer,
   607  	callback js.Ref)
   608  
   609  //go:wasmimport plat/js/webext/chromeos/events try_HasOnPowerEvent
   610  //go:noescape
   611  func TryHasOnPowerEvent(
   612  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   613  	callback js.Ref) (ok js.Ref)
   614  
   615  //go:wasmimport plat/js/webext/chromeos/events has_OnSdCardEvent
   616  //go:noescape
   617  func HasFuncOnSdCardEvent() js.Ref
   618  
   619  //go:wasmimport plat/js/webext/chromeos/events func_OnSdCardEvent
   620  //go:noescape
   621  func FuncOnSdCardEvent(fn unsafe.Pointer)
   622  
   623  //go:wasmimport plat/js/webext/chromeos/events call_OnSdCardEvent
   624  //go:noescape
   625  func CallOnSdCardEvent(
   626  	retPtr unsafe.Pointer,
   627  	callback js.Ref)
   628  
   629  //go:wasmimport plat/js/webext/chromeos/events try_OnSdCardEvent
   630  //go:noescape
   631  func TryOnSdCardEvent(
   632  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   633  	callback js.Ref) (ok js.Ref)
   634  
   635  //go:wasmimport plat/js/webext/chromeos/events has_OffSdCardEvent
   636  //go:noescape
   637  func HasFuncOffSdCardEvent() js.Ref
   638  
   639  //go:wasmimport plat/js/webext/chromeos/events func_OffSdCardEvent
   640  //go:noescape
   641  func FuncOffSdCardEvent(fn unsafe.Pointer)
   642  
   643  //go:wasmimport plat/js/webext/chromeos/events call_OffSdCardEvent
   644  //go:noescape
   645  func CallOffSdCardEvent(
   646  	retPtr unsafe.Pointer,
   647  	callback js.Ref)
   648  
   649  //go:wasmimport plat/js/webext/chromeos/events try_OffSdCardEvent
   650  //go:noescape
   651  func TryOffSdCardEvent(
   652  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   653  	callback js.Ref) (ok js.Ref)
   654  
   655  //go:wasmimport plat/js/webext/chromeos/events has_HasOnSdCardEvent
   656  //go:noescape
   657  func HasFuncHasOnSdCardEvent() js.Ref
   658  
   659  //go:wasmimport plat/js/webext/chromeos/events func_HasOnSdCardEvent
   660  //go:noescape
   661  func FuncHasOnSdCardEvent(fn unsafe.Pointer)
   662  
   663  //go:wasmimport plat/js/webext/chromeos/events call_HasOnSdCardEvent
   664  //go:noescape
   665  func CallHasOnSdCardEvent(
   666  	retPtr unsafe.Pointer,
   667  	callback js.Ref)
   668  
   669  //go:wasmimport plat/js/webext/chromeos/events try_HasOnSdCardEvent
   670  //go:noescape
   671  func TryHasOnSdCardEvent(
   672  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   673  	callback js.Ref) (ok js.Ref)
   674  
   675  //go:wasmimport plat/js/webext/chromeos/events has_OnStylusConnectedEvent
   676  //go:noescape
   677  func HasFuncOnStylusConnectedEvent() js.Ref
   678  
   679  //go:wasmimport plat/js/webext/chromeos/events func_OnStylusConnectedEvent
   680  //go:noescape
   681  func FuncOnStylusConnectedEvent(fn unsafe.Pointer)
   682  
   683  //go:wasmimport plat/js/webext/chromeos/events call_OnStylusConnectedEvent
   684  //go:noescape
   685  func CallOnStylusConnectedEvent(
   686  	retPtr unsafe.Pointer,
   687  	callback js.Ref)
   688  
   689  //go:wasmimport plat/js/webext/chromeos/events try_OnStylusConnectedEvent
   690  //go:noescape
   691  func TryOnStylusConnectedEvent(
   692  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   693  	callback js.Ref) (ok js.Ref)
   694  
   695  //go:wasmimport plat/js/webext/chromeos/events has_OffStylusConnectedEvent
   696  //go:noescape
   697  func HasFuncOffStylusConnectedEvent() js.Ref
   698  
   699  //go:wasmimport plat/js/webext/chromeos/events func_OffStylusConnectedEvent
   700  //go:noescape
   701  func FuncOffStylusConnectedEvent(fn unsafe.Pointer)
   702  
   703  //go:wasmimport plat/js/webext/chromeos/events call_OffStylusConnectedEvent
   704  //go:noescape
   705  func CallOffStylusConnectedEvent(
   706  	retPtr unsafe.Pointer,
   707  	callback js.Ref)
   708  
   709  //go:wasmimport plat/js/webext/chromeos/events try_OffStylusConnectedEvent
   710  //go:noescape
   711  func TryOffStylusConnectedEvent(
   712  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   713  	callback js.Ref) (ok js.Ref)
   714  
   715  //go:wasmimport plat/js/webext/chromeos/events has_HasOnStylusConnectedEvent
   716  //go:noescape
   717  func HasFuncHasOnStylusConnectedEvent() js.Ref
   718  
   719  //go:wasmimport plat/js/webext/chromeos/events func_HasOnStylusConnectedEvent
   720  //go:noescape
   721  func FuncHasOnStylusConnectedEvent(fn unsafe.Pointer)
   722  
   723  //go:wasmimport plat/js/webext/chromeos/events call_HasOnStylusConnectedEvent
   724  //go:noescape
   725  func CallHasOnStylusConnectedEvent(
   726  	retPtr unsafe.Pointer,
   727  	callback js.Ref)
   728  
   729  //go:wasmimport plat/js/webext/chromeos/events try_HasOnStylusConnectedEvent
   730  //go:noescape
   731  func TryHasOnStylusConnectedEvent(
   732  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   733  	callback js.Ref) (ok js.Ref)
   734  
   735  //go:wasmimport plat/js/webext/chromeos/events has_OnStylusGarageEvent
   736  //go:noescape
   737  func HasFuncOnStylusGarageEvent() js.Ref
   738  
   739  //go:wasmimport plat/js/webext/chromeos/events func_OnStylusGarageEvent
   740  //go:noescape
   741  func FuncOnStylusGarageEvent(fn unsafe.Pointer)
   742  
   743  //go:wasmimport plat/js/webext/chromeos/events call_OnStylusGarageEvent
   744  //go:noescape
   745  func CallOnStylusGarageEvent(
   746  	retPtr unsafe.Pointer,
   747  	callback js.Ref)
   748  
   749  //go:wasmimport plat/js/webext/chromeos/events try_OnStylusGarageEvent
   750  //go:noescape
   751  func TryOnStylusGarageEvent(
   752  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   753  	callback js.Ref) (ok js.Ref)
   754  
   755  //go:wasmimport plat/js/webext/chromeos/events has_OffStylusGarageEvent
   756  //go:noescape
   757  func HasFuncOffStylusGarageEvent() js.Ref
   758  
   759  //go:wasmimport plat/js/webext/chromeos/events func_OffStylusGarageEvent
   760  //go:noescape
   761  func FuncOffStylusGarageEvent(fn unsafe.Pointer)
   762  
   763  //go:wasmimport plat/js/webext/chromeos/events call_OffStylusGarageEvent
   764  //go:noescape
   765  func CallOffStylusGarageEvent(
   766  	retPtr unsafe.Pointer,
   767  	callback js.Ref)
   768  
   769  //go:wasmimport plat/js/webext/chromeos/events try_OffStylusGarageEvent
   770  //go:noescape
   771  func TryOffStylusGarageEvent(
   772  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   773  	callback js.Ref) (ok js.Ref)
   774  
   775  //go:wasmimport plat/js/webext/chromeos/events has_HasOnStylusGarageEvent
   776  //go:noescape
   777  func HasFuncHasOnStylusGarageEvent() js.Ref
   778  
   779  //go:wasmimport plat/js/webext/chromeos/events func_HasOnStylusGarageEvent
   780  //go:noescape
   781  func FuncHasOnStylusGarageEvent(fn unsafe.Pointer)
   782  
   783  //go:wasmimport plat/js/webext/chromeos/events call_HasOnStylusGarageEvent
   784  //go:noescape
   785  func CallHasOnStylusGarageEvent(
   786  	retPtr unsafe.Pointer,
   787  	callback js.Ref)
   788  
   789  //go:wasmimport plat/js/webext/chromeos/events try_HasOnStylusGarageEvent
   790  //go:noescape
   791  func TryHasOnStylusGarageEvent(
   792  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   793  	callback js.Ref) (ok js.Ref)
   794  
   795  //go:wasmimport plat/js/webext/chromeos/events has_OnStylusTouchEvent
   796  //go:noescape
   797  func HasFuncOnStylusTouchEvent() js.Ref
   798  
   799  //go:wasmimport plat/js/webext/chromeos/events func_OnStylusTouchEvent
   800  //go:noescape
   801  func FuncOnStylusTouchEvent(fn unsafe.Pointer)
   802  
   803  //go:wasmimport plat/js/webext/chromeos/events call_OnStylusTouchEvent
   804  //go:noescape
   805  func CallOnStylusTouchEvent(
   806  	retPtr unsafe.Pointer,
   807  	callback js.Ref)
   808  
   809  //go:wasmimport plat/js/webext/chromeos/events try_OnStylusTouchEvent
   810  //go:noescape
   811  func TryOnStylusTouchEvent(
   812  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   813  	callback js.Ref) (ok js.Ref)
   814  
   815  //go:wasmimport plat/js/webext/chromeos/events has_OffStylusTouchEvent
   816  //go:noescape
   817  func HasFuncOffStylusTouchEvent() js.Ref
   818  
   819  //go:wasmimport plat/js/webext/chromeos/events func_OffStylusTouchEvent
   820  //go:noescape
   821  func FuncOffStylusTouchEvent(fn unsafe.Pointer)
   822  
   823  //go:wasmimport plat/js/webext/chromeos/events call_OffStylusTouchEvent
   824  //go:noescape
   825  func CallOffStylusTouchEvent(
   826  	retPtr unsafe.Pointer,
   827  	callback js.Ref)
   828  
   829  //go:wasmimport plat/js/webext/chromeos/events try_OffStylusTouchEvent
   830  //go:noescape
   831  func TryOffStylusTouchEvent(
   832  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   833  	callback js.Ref) (ok js.Ref)
   834  
   835  //go:wasmimport plat/js/webext/chromeos/events has_HasOnStylusTouchEvent
   836  //go:noescape
   837  func HasFuncHasOnStylusTouchEvent() js.Ref
   838  
   839  //go:wasmimport plat/js/webext/chromeos/events func_HasOnStylusTouchEvent
   840  //go:noescape
   841  func FuncHasOnStylusTouchEvent(fn unsafe.Pointer)
   842  
   843  //go:wasmimport plat/js/webext/chromeos/events call_HasOnStylusTouchEvent
   844  //go:noescape
   845  func CallHasOnStylusTouchEvent(
   846  	retPtr unsafe.Pointer,
   847  	callback js.Ref)
   848  
   849  //go:wasmimport plat/js/webext/chromeos/events try_HasOnStylusTouchEvent
   850  //go:noescape
   851  func TryHasOnStylusTouchEvent(
   852  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   853  	callback js.Ref) (ok js.Ref)
   854  
   855  //go:wasmimport plat/js/webext/chromeos/events has_OnTouchpadButtonEvent
   856  //go:noescape
   857  func HasFuncOnTouchpadButtonEvent() js.Ref
   858  
   859  //go:wasmimport plat/js/webext/chromeos/events func_OnTouchpadButtonEvent
   860  //go:noescape
   861  func FuncOnTouchpadButtonEvent(fn unsafe.Pointer)
   862  
   863  //go:wasmimport plat/js/webext/chromeos/events call_OnTouchpadButtonEvent
   864  //go:noescape
   865  func CallOnTouchpadButtonEvent(
   866  	retPtr unsafe.Pointer,
   867  	callback js.Ref)
   868  
   869  //go:wasmimport plat/js/webext/chromeos/events try_OnTouchpadButtonEvent
   870  //go:noescape
   871  func TryOnTouchpadButtonEvent(
   872  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   873  	callback js.Ref) (ok js.Ref)
   874  
   875  //go:wasmimport plat/js/webext/chromeos/events has_OffTouchpadButtonEvent
   876  //go:noescape
   877  func HasFuncOffTouchpadButtonEvent() js.Ref
   878  
   879  //go:wasmimport plat/js/webext/chromeos/events func_OffTouchpadButtonEvent
   880  //go:noescape
   881  func FuncOffTouchpadButtonEvent(fn unsafe.Pointer)
   882  
   883  //go:wasmimport plat/js/webext/chromeos/events call_OffTouchpadButtonEvent
   884  //go:noescape
   885  func CallOffTouchpadButtonEvent(
   886  	retPtr unsafe.Pointer,
   887  	callback js.Ref)
   888  
   889  //go:wasmimport plat/js/webext/chromeos/events try_OffTouchpadButtonEvent
   890  //go:noescape
   891  func TryOffTouchpadButtonEvent(
   892  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   893  	callback js.Ref) (ok js.Ref)
   894  
   895  //go:wasmimport plat/js/webext/chromeos/events has_HasOnTouchpadButtonEvent
   896  //go:noescape
   897  func HasFuncHasOnTouchpadButtonEvent() js.Ref
   898  
   899  //go:wasmimport plat/js/webext/chromeos/events func_HasOnTouchpadButtonEvent
   900  //go:noescape
   901  func FuncHasOnTouchpadButtonEvent(fn unsafe.Pointer)
   902  
   903  //go:wasmimport plat/js/webext/chromeos/events call_HasOnTouchpadButtonEvent
   904  //go:noescape
   905  func CallHasOnTouchpadButtonEvent(
   906  	retPtr unsafe.Pointer,
   907  	callback js.Ref)
   908  
   909  //go:wasmimport plat/js/webext/chromeos/events try_HasOnTouchpadButtonEvent
   910  //go:noescape
   911  func TryHasOnTouchpadButtonEvent(
   912  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   913  	callback js.Ref) (ok js.Ref)
   914  
   915  //go:wasmimport plat/js/webext/chromeos/events has_OnTouchpadConnectedEvent
   916  //go:noescape
   917  func HasFuncOnTouchpadConnectedEvent() js.Ref
   918  
   919  //go:wasmimport plat/js/webext/chromeos/events func_OnTouchpadConnectedEvent
   920  //go:noescape
   921  func FuncOnTouchpadConnectedEvent(fn unsafe.Pointer)
   922  
   923  //go:wasmimport plat/js/webext/chromeos/events call_OnTouchpadConnectedEvent
   924  //go:noescape
   925  func CallOnTouchpadConnectedEvent(
   926  	retPtr unsafe.Pointer,
   927  	callback js.Ref)
   928  
   929  //go:wasmimport plat/js/webext/chromeos/events try_OnTouchpadConnectedEvent
   930  //go:noescape
   931  func TryOnTouchpadConnectedEvent(
   932  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   933  	callback js.Ref) (ok js.Ref)
   934  
   935  //go:wasmimport plat/js/webext/chromeos/events has_OffTouchpadConnectedEvent
   936  //go:noescape
   937  func HasFuncOffTouchpadConnectedEvent() js.Ref
   938  
   939  //go:wasmimport plat/js/webext/chromeos/events func_OffTouchpadConnectedEvent
   940  //go:noescape
   941  func FuncOffTouchpadConnectedEvent(fn unsafe.Pointer)
   942  
   943  //go:wasmimport plat/js/webext/chromeos/events call_OffTouchpadConnectedEvent
   944  //go:noescape
   945  func CallOffTouchpadConnectedEvent(
   946  	retPtr unsafe.Pointer,
   947  	callback js.Ref)
   948  
   949  //go:wasmimport plat/js/webext/chromeos/events try_OffTouchpadConnectedEvent
   950  //go:noescape
   951  func TryOffTouchpadConnectedEvent(
   952  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   953  	callback js.Ref) (ok js.Ref)
   954  
   955  //go:wasmimport plat/js/webext/chromeos/events has_HasOnTouchpadConnectedEvent
   956  //go:noescape
   957  func HasFuncHasOnTouchpadConnectedEvent() js.Ref
   958  
   959  //go:wasmimport plat/js/webext/chromeos/events func_HasOnTouchpadConnectedEvent
   960  //go:noescape
   961  func FuncHasOnTouchpadConnectedEvent(fn unsafe.Pointer)
   962  
   963  //go:wasmimport plat/js/webext/chromeos/events call_HasOnTouchpadConnectedEvent
   964  //go:noescape
   965  func CallHasOnTouchpadConnectedEvent(
   966  	retPtr unsafe.Pointer,
   967  	callback js.Ref)
   968  
   969  //go:wasmimport plat/js/webext/chromeos/events try_HasOnTouchpadConnectedEvent
   970  //go:noescape
   971  func TryHasOnTouchpadConnectedEvent(
   972  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   973  	callback js.Ref) (ok js.Ref)
   974  
   975  //go:wasmimport plat/js/webext/chromeos/events has_OnTouchpadTouchEvent
   976  //go:noescape
   977  func HasFuncOnTouchpadTouchEvent() js.Ref
   978  
   979  //go:wasmimport plat/js/webext/chromeos/events func_OnTouchpadTouchEvent
   980  //go:noescape
   981  func FuncOnTouchpadTouchEvent(fn unsafe.Pointer)
   982  
   983  //go:wasmimport plat/js/webext/chromeos/events call_OnTouchpadTouchEvent
   984  //go:noescape
   985  func CallOnTouchpadTouchEvent(
   986  	retPtr unsafe.Pointer,
   987  	callback js.Ref)
   988  
   989  //go:wasmimport plat/js/webext/chromeos/events try_OnTouchpadTouchEvent
   990  //go:noescape
   991  func TryOnTouchpadTouchEvent(
   992  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   993  	callback js.Ref) (ok js.Ref)
   994  
   995  //go:wasmimport plat/js/webext/chromeos/events has_OffTouchpadTouchEvent
   996  //go:noescape
   997  func HasFuncOffTouchpadTouchEvent() js.Ref
   998  
   999  //go:wasmimport plat/js/webext/chromeos/events func_OffTouchpadTouchEvent
  1000  //go:noescape
  1001  func FuncOffTouchpadTouchEvent(fn unsafe.Pointer)
  1002  
  1003  //go:wasmimport plat/js/webext/chromeos/events call_OffTouchpadTouchEvent
  1004  //go:noescape
  1005  func CallOffTouchpadTouchEvent(
  1006  	retPtr unsafe.Pointer,
  1007  	callback js.Ref)
  1008  
  1009  //go:wasmimport plat/js/webext/chromeos/events try_OffTouchpadTouchEvent
  1010  //go:noescape
  1011  func TryOffTouchpadTouchEvent(
  1012  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1013  	callback js.Ref) (ok js.Ref)
  1014  
  1015  //go:wasmimport plat/js/webext/chromeos/events has_HasOnTouchpadTouchEvent
  1016  //go:noescape
  1017  func HasFuncHasOnTouchpadTouchEvent() js.Ref
  1018  
  1019  //go:wasmimport plat/js/webext/chromeos/events func_HasOnTouchpadTouchEvent
  1020  //go:noescape
  1021  func FuncHasOnTouchpadTouchEvent(fn unsafe.Pointer)
  1022  
  1023  //go:wasmimport plat/js/webext/chromeos/events call_HasOnTouchpadTouchEvent
  1024  //go:noescape
  1025  func CallHasOnTouchpadTouchEvent(
  1026  	retPtr unsafe.Pointer,
  1027  	callback js.Ref)
  1028  
  1029  //go:wasmimport plat/js/webext/chromeos/events try_HasOnTouchpadTouchEvent
  1030  //go:noescape
  1031  func TryHasOnTouchpadTouchEvent(
  1032  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1033  	callback js.Ref) (ok js.Ref)
  1034  
  1035  //go:wasmimport plat/js/webext/chromeos/events has_OnTouchscreenConnectedEvent
  1036  //go:noescape
  1037  func HasFuncOnTouchscreenConnectedEvent() js.Ref
  1038  
  1039  //go:wasmimport plat/js/webext/chromeos/events func_OnTouchscreenConnectedEvent
  1040  //go:noescape
  1041  func FuncOnTouchscreenConnectedEvent(fn unsafe.Pointer)
  1042  
  1043  //go:wasmimport plat/js/webext/chromeos/events call_OnTouchscreenConnectedEvent
  1044  //go:noescape
  1045  func CallOnTouchscreenConnectedEvent(
  1046  	retPtr unsafe.Pointer,
  1047  	callback js.Ref)
  1048  
  1049  //go:wasmimport plat/js/webext/chromeos/events try_OnTouchscreenConnectedEvent
  1050  //go:noescape
  1051  func TryOnTouchscreenConnectedEvent(
  1052  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1053  	callback js.Ref) (ok js.Ref)
  1054  
  1055  //go:wasmimport plat/js/webext/chromeos/events has_OffTouchscreenConnectedEvent
  1056  //go:noescape
  1057  func HasFuncOffTouchscreenConnectedEvent() js.Ref
  1058  
  1059  //go:wasmimport plat/js/webext/chromeos/events func_OffTouchscreenConnectedEvent
  1060  //go:noescape
  1061  func FuncOffTouchscreenConnectedEvent(fn unsafe.Pointer)
  1062  
  1063  //go:wasmimport plat/js/webext/chromeos/events call_OffTouchscreenConnectedEvent
  1064  //go:noescape
  1065  func CallOffTouchscreenConnectedEvent(
  1066  	retPtr unsafe.Pointer,
  1067  	callback js.Ref)
  1068  
  1069  //go:wasmimport plat/js/webext/chromeos/events try_OffTouchscreenConnectedEvent
  1070  //go:noescape
  1071  func TryOffTouchscreenConnectedEvent(
  1072  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1073  	callback js.Ref) (ok js.Ref)
  1074  
  1075  //go:wasmimport plat/js/webext/chromeos/events has_HasOnTouchscreenConnectedEvent
  1076  //go:noescape
  1077  func HasFuncHasOnTouchscreenConnectedEvent() js.Ref
  1078  
  1079  //go:wasmimport plat/js/webext/chromeos/events func_HasOnTouchscreenConnectedEvent
  1080  //go:noescape
  1081  func FuncHasOnTouchscreenConnectedEvent(fn unsafe.Pointer)
  1082  
  1083  //go:wasmimport plat/js/webext/chromeos/events call_HasOnTouchscreenConnectedEvent
  1084  //go:noescape
  1085  func CallHasOnTouchscreenConnectedEvent(
  1086  	retPtr unsafe.Pointer,
  1087  	callback js.Ref)
  1088  
  1089  //go:wasmimport plat/js/webext/chromeos/events try_HasOnTouchscreenConnectedEvent
  1090  //go:noescape
  1091  func TryHasOnTouchscreenConnectedEvent(
  1092  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1093  	callback js.Ref) (ok js.Ref)
  1094  
  1095  //go:wasmimport plat/js/webext/chromeos/events has_OnTouchscreenTouchEvent
  1096  //go:noescape
  1097  func HasFuncOnTouchscreenTouchEvent() js.Ref
  1098  
  1099  //go:wasmimport plat/js/webext/chromeos/events func_OnTouchscreenTouchEvent
  1100  //go:noescape
  1101  func FuncOnTouchscreenTouchEvent(fn unsafe.Pointer)
  1102  
  1103  //go:wasmimport plat/js/webext/chromeos/events call_OnTouchscreenTouchEvent
  1104  //go:noescape
  1105  func CallOnTouchscreenTouchEvent(
  1106  	retPtr unsafe.Pointer,
  1107  	callback js.Ref)
  1108  
  1109  //go:wasmimport plat/js/webext/chromeos/events try_OnTouchscreenTouchEvent
  1110  //go:noescape
  1111  func TryOnTouchscreenTouchEvent(
  1112  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1113  	callback js.Ref) (ok js.Ref)
  1114  
  1115  //go:wasmimport plat/js/webext/chromeos/events has_OffTouchscreenTouchEvent
  1116  //go:noescape
  1117  func HasFuncOffTouchscreenTouchEvent() js.Ref
  1118  
  1119  //go:wasmimport plat/js/webext/chromeos/events func_OffTouchscreenTouchEvent
  1120  //go:noescape
  1121  func FuncOffTouchscreenTouchEvent(fn unsafe.Pointer)
  1122  
  1123  //go:wasmimport plat/js/webext/chromeos/events call_OffTouchscreenTouchEvent
  1124  //go:noescape
  1125  func CallOffTouchscreenTouchEvent(
  1126  	retPtr unsafe.Pointer,
  1127  	callback js.Ref)
  1128  
  1129  //go:wasmimport plat/js/webext/chromeos/events try_OffTouchscreenTouchEvent
  1130  //go:noescape
  1131  func TryOffTouchscreenTouchEvent(
  1132  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1133  	callback js.Ref) (ok js.Ref)
  1134  
  1135  //go:wasmimport plat/js/webext/chromeos/events has_HasOnTouchscreenTouchEvent
  1136  //go:noescape
  1137  func HasFuncHasOnTouchscreenTouchEvent() js.Ref
  1138  
  1139  //go:wasmimport plat/js/webext/chromeos/events func_HasOnTouchscreenTouchEvent
  1140  //go:noescape
  1141  func FuncHasOnTouchscreenTouchEvent(fn unsafe.Pointer)
  1142  
  1143  //go:wasmimport plat/js/webext/chromeos/events call_HasOnTouchscreenTouchEvent
  1144  //go:noescape
  1145  func CallHasOnTouchscreenTouchEvent(
  1146  	retPtr unsafe.Pointer,
  1147  	callback js.Ref)
  1148  
  1149  //go:wasmimport plat/js/webext/chromeos/events try_HasOnTouchscreenTouchEvent
  1150  //go:noescape
  1151  func TryHasOnTouchscreenTouchEvent(
  1152  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1153  	callback js.Ref) (ok js.Ref)
  1154  
  1155  //go:wasmimport plat/js/webext/chromeos/events has_OnUsbEvent
  1156  //go:noescape
  1157  func HasFuncOnUsbEvent() js.Ref
  1158  
  1159  //go:wasmimport plat/js/webext/chromeos/events func_OnUsbEvent
  1160  //go:noescape
  1161  func FuncOnUsbEvent(fn unsafe.Pointer)
  1162  
  1163  //go:wasmimport plat/js/webext/chromeos/events call_OnUsbEvent
  1164  //go:noescape
  1165  func CallOnUsbEvent(
  1166  	retPtr unsafe.Pointer,
  1167  	callback js.Ref)
  1168  
  1169  //go:wasmimport plat/js/webext/chromeos/events try_OnUsbEvent
  1170  //go:noescape
  1171  func TryOnUsbEvent(
  1172  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1173  	callback js.Ref) (ok js.Ref)
  1174  
  1175  //go:wasmimport plat/js/webext/chromeos/events has_OffUsbEvent
  1176  //go:noescape
  1177  func HasFuncOffUsbEvent() js.Ref
  1178  
  1179  //go:wasmimport plat/js/webext/chromeos/events func_OffUsbEvent
  1180  //go:noescape
  1181  func FuncOffUsbEvent(fn unsafe.Pointer)
  1182  
  1183  //go:wasmimport plat/js/webext/chromeos/events call_OffUsbEvent
  1184  //go:noescape
  1185  func CallOffUsbEvent(
  1186  	retPtr unsafe.Pointer,
  1187  	callback js.Ref)
  1188  
  1189  //go:wasmimport plat/js/webext/chromeos/events try_OffUsbEvent
  1190  //go:noescape
  1191  func TryOffUsbEvent(
  1192  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1193  	callback js.Ref) (ok js.Ref)
  1194  
  1195  //go:wasmimport plat/js/webext/chromeos/events has_HasOnUsbEvent
  1196  //go:noescape
  1197  func HasFuncHasOnUsbEvent() js.Ref
  1198  
  1199  //go:wasmimport plat/js/webext/chromeos/events func_HasOnUsbEvent
  1200  //go:noescape
  1201  func FuncHasOnUsbEvent(fn unsafe.Pointer)
  1202  
  1203  //go:wasmimport plat/js/webext/chromeos/events call_HasOnUsbEvent
  1204  //go:noescape
  1205  func CallHasOnUsbEvent(
  1206  	retPtr unsafe.Pointer,
  1207  	callback js.Ref)
  1208  
  1209  //go:wasmimport plat/js/webext/chromeos/events try_HasOnUsbEvent
  1210  //go:noescape
  1211  func TryHasOnUsbEvent(
  1212  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1213  	callback js.Ref) (ok js.Ref)
  1214  
  1215  //go:wasmimport plat/js/webext/chromeos/events has_StartCapturingEvents
  1216  //go:noescape
  1217  func HasFuncStartCapturingEvents() js.Ref
  1218  
  1219  //go:wasmimport plat/js/webext/chromeos/events func_StartCapturingEvents
  1220  //go:noescape
  1221  func FuncStartCapturingEvents(fn unsafe.Pointer)
  1222  
  1223  //go:wasmimport plat/js/webext/chromeos/events call_StartCapturingEvents
  1224  //go:noescape
  1225  func CallStartCapturingEvents(
  1226  	retPtr unsafe.Pointer,
  1227  	category uint32)
  1228  
  1229  //go:wasmimport plat/js/webext/chromeos/events try_StartCapturingEvents
  1230  //go:noescape
  1231  func TryStartCapturingEvents(
  1232  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1233  	category uint32) (ok js.Ref)
  1234  
  1235  //go:wasmimport plat/js/webext/chromeos/events has_StopCapturingEvents
  1236  //go:noescape
  1237  func HasFuncStopCapturingEvents() js.Ref
  1238  
  1239  //go:wasmimport plat/js/webext/chromeos/events func_StopCapturingEvents
  1240  //go:noescape
  1241  func FuncStopCapturingEvents(fn unsafe.Pointer)
  1242  
  1243  //go:wasmimport plat/js/webext/chromeos/events call_StopCapturingEvents
  1244  //go:noescape
  1245  func CallStopCapturingEvents(
  1246  	retPtr unsafe.Pointer,
  1247  	category uint32)
  1248  
  1249  //go:wasmimport plat/js/webext/chromeos/events try_StopCapturingEvents
  1250  //go:noescape
  1251  func TryStopCapturingEvents(
  1252  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1253  	category uint32) (ok js.Ref)