lib/browser/guest-view-manager.js
function (visibilityState) {
    for (const guestInstanceId in guestInstances) {
      const guestInstance = guestInstances[guestInstanceId]
      guestInstance.visibilityState = visibilityState
      if (guestInstance.embedder === embedder) {
        guestInstance.guest._sendInternal('ELECTRON_GUEST_INSTANCE_VISIBILITY_CHANGE', visibilityState)
      }
    }
  }
function (visibilityState) {
    for (const guestInstanceId in guestInstances) {
      const guestInstance = guestInstances[guestInstanceId]
      guestInstance.visibilityState = visibilityState
      if (guestInstance.embedder === embedder) {
        guestInstance.guest._sendInternal('ELECTRON_GUEST_INSTANCE_VISIBILITY_CHANGE', visibilityState)
      }
    }
  }
function ( visibilityState ) { for ( const guestInstanceId in guestInstances ) { const guestInstance = guestInstances [ guestInstanceId ] guestInstance . visibilityState = visibilityState if ( guestInstance . embedder === embedder ) { guestInstance . guest . _sendInternal ( 'ELECTRON_GUEST_INSTANCE_VISIBILITY_CHANGE' , visibilityState ) } } }
Forward embedder window visiblity change events to guest
Forward embedder window visiblity change events to guest