Index

VisibilityManager

new VisibilityManager()

VisibilityManager manages visibility events and broadcast
to AppWindowManager.
When an UI layer is overlapping the current app,
WindowManager should set the visibility of app iframe to false
And reset to true when the layer is gone.
We may need to handle windowclosing, windowopened in the future.

Methods

start()

Startup. Start listening all related events that changes visibility.