Commit Graph

56 Commits

Author SHA1 Message Date
Mounir Lamouri
9041b2ae2a Bug 678694 - (7/7) Interaction between DOM and hal. r=sicking
The battery status is coming from hal and when there is an update, hal informs
the DOM which then dispatch the appropriate event.
2011-11-02 16:27:06 +01:00
Mounir Lamouri
0da0fba3a7 Bug 678694 - (6/7) hal code for the Battery API. r=cjones 2011-11-02 16:14:01 +01:00
Mounir Lamouri
e4a26be94c Bug 678694 - (4/7) Dummy BatteryManager DOM code. r=sicking
Returns default values only and doesn't send events.
2011-11-02 16:01:32 +01:00
Mounir Lamouri
878ed2bcad Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
38f9e56d0b Bug 678694 - (2/7) BatteryManager interface. r=sicking 2011-11-02 13:05:09 +01:00
Mounir Lamouri
e02cb184cb Bug 678694 - (1/7) Makefile boilerplate. r=sicking 2011-11-02 12:51:38 +01:00