The VR UI has several elements that exhibit transient visibility:
- Temporary WebVR warning
- Loading indicator
- WebVR URL bar
- Presentation/fullscreen toasts
Instead of each element and/or scene manager manually controlling visibility, the elements should derive from a class. That class could offer:
- Enable() to show the element temporarily
- Disable() to immediately hide the element
- Kick() to re-show the element temporarily if enabled
- ForceVisible() to keep the element visible indefinitely if enabled.
Comment 1 by cjgrant@chromium.org
, Jun 21 2017