Closed Bug 1095550 Opened 10 years ago Closed 7 years ago

[HierarchyManager] SleepMenu should join compete for hierarchy

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alive, Unassigned)

References

Details

User Story

The hierarchyManager will manage the competition between modules with "top level" UI elements.

hierarchyManager.registerHierarchy(module);
hierarchyManager.unregisterHierarchy(module);

The module responsible for displaying "top level" UI elements to the user should:
* Implement the isActive function
* Dispatch activated/deactivated events when active state changes
* (Optional) Implement getActiveWindow if the module is a window manager
* (Optional) Implement setHierarchy which will be invoked by hierarchy manager when the top most module is changed.

Any module who wants to get focus should do:

System.request('focus', module);
If you are the top most module, HierarchyManager will then invoke module.setHierarchy(true). Otherwise the request will just be ignored.

The hierarchyManager will replace the visibilityManager, including the a11y and audio-channel support.

== List of competing modules ==
* AttentionWindowManager
* SecureWindowManager
* LockScreenWindowManager
* AppWindowManager
* UtilityTray
* SIM PIN Dialog
* Dev tools Dialog
* Rocketbar / Search
* Cards View
* Bluetooth Pairing Dialog ?
      No description provided.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.