Changeset 113547 for trunk/ChangeLog


Ignore:
Timestamp:
04/07/12 08:30:43 (2 years ago)
Author:
rwlbuis@webkit.org
Message:

[BlackBerry] Add Battery Status API support
https://bugs.webkit.org/show_bug.cgi?id=82615

Reviewed by George Staikos.

.:

Enable BATTERY_STATUS.

  • Source/cmake/OptionsBlackBerry.cmake:

Source/WebKit:

Add BatteryClientBlackBerry.cpp to the build.

  • PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

Add client implementation for Battery API.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::init): initialize BatteryClient.

  • WebCoreSupport/BatteryClientBlackBerry.cpp: Added.

(WebCore):
(WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry):
(WebCore::BatteryClientBlackBerry::setController):
(WebCore::BatteryClientBlackBerry::startUpdating):
(WebCore::BatteryClientBlackBerry::stopUpdating):
(WebCore::BatteryClientBlackBerry::batteryControllerDestroyed):
(WebCore::BatteryClientBlackBerry::onLevelChange):
(WebCore::BatteryClientBlackBerry::onChargingChange):
(WebCore::BatteryClientBlackBerry::onChargingTimeChange):
(WebCore::BatteryClientBlackBerry::onDischargingTimeChange):

  • WebCoreSupport/BatteryClientBlackBerry.h: Added.

(WebCore):
(BatteryClientBlackBerry):
(WebCore::BatteryClientBlackBerry::~BatteryClientBlackBerry):

Tools:

Enable BATTERY_STATUS.

  • Scripts/build-webkit:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r113464 r113547  
     12012-04-07  Rob Buis  <rbuis@rim.com> 
     2 
     3        [BlackBerry] Add Battery Status API support 
     4        https://bugs.webkit.org/show_bug.cgi?id=82615 
     5 
     6        Reviewed by George Staikos. 
     7 
     8        Enable BATTERY_STATUS. 
     9 
     10        * Source/cmake/OptionsBlackBerry.cmake: 
     11 
    1122012-04-06  Martin Robinson  <mrobinson@igalia.com> 
    213 
Note: See TracChangeset for help on using the changeset viewer.