Closed Bug 943700 (focuswindow-consumer) Opened 11 years ago Closed 6 years ago

[Window Management] Implement Active Window Event Consumer

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alive, Assigned: alive)

References

Details

There're many modules in system app requires WindowManager to do something to current active app. What's problematic is they all call WindowManager directly, that's bad.

Proposed change:
All modules who are not managers of windows should dispatch a request event accompanying with module itself OR the function call. AppWindowManager would be the event consumer. To make AppWindowManager lighter, I prefer let AWM redirect the event to the active App and let active App to call the function.
Alias: focuswindow-consumer
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.