Make AppWindow as standalone as possible.



Firefox OS
Gaia::System::Window Mgmt
3 years ago
3 years ago


(Reporter: alive, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)


AppWindow is the core module of the new Window Management System.
As a module I would like to keep it has no dependency on other environmental modules.

Excluding the sub modules, now we have SettingsListener and OrientationManager.

For SettingsListener, it's the suspending app support. We might use Mediator or Factory and send the settings when creating new AppWindow instances.

For OrientationManager, maybe we could detect window.OrientationManager and request to lock orientation if there is, lock the orientation directly if there is not.
Blocks: 1049347
No longer blocks: 902766
You need to log in before you can comment on or make changes to this bug.