Changeset 113547 in webkit
- Timestamp:
- Apr 7, 2012, 8:30:43 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r113464 r113547 1 2012-04-07 Rob Buis <[email protected]> 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 1 12 2012-04-06 Martin Robinson <[email protected]> 2 13 -
trunk/Source/WebKit/ChangeLog
r113525 r113547 1 2012-04-07 Rob Buis <[email protected]> 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 Add BatteryClientBlackBerry.cpp to the build. 9 10 * PlatformBlackBerry.cmake: 11 1 12 2012-04-06 Charles Wei <[email protected]> 2 13 -
trunk/Source/WebKit/PlatformBlackBerry.cmake
r113525 r113547 36 36 "${TOOLS_DIR}/DumpRenderTree/blackberry" 37 37 ) 38 ENDIF () 39 40 IF (ENABLE_BATTERY_STATUS) 41 LIST(APPEND WebKit_INCLUDE_DIRECTORIES ${WEBCORE_DIR}/Modules/battery) 42 LIST(APPEND WebKit_SOURCES blackberry/WebCoreSupport/BatteryClientBlackBerry.cpp) 38 43 ENDIF () 39 44 -
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r113406 r113547 26 26 #include "BackingStoreCompositingSurface.h" 27 27 #include "BackingStore_p.h" 28 #if ENABLE(BATTERY_STATUS) 29 #include "BatteryClientBlackBerry.h" 30 #endif 28 31 #include "CString.h" 29 32 #include "CachedImage.h" … … 449 452 #if ENABLE(VIBRATION) 450 453 WebCore::provideVibrationTo(m_page, new VibrationClientBlackBerry()); 454 #endif 455 456 #if ENABLE(BATTERY_STATUS) 457 WebCore::provideBatteryTo(m_page, new WebCore::BatteryClientBlackBerry); 451 458 #endif 452 459 -
trunk/Source/WebKit/blackberry/ChangeLog
r113505 r113547 1 2012-04-07 Rob Buis <[email protected]> 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 Add client implementation for Battery API. 9 10 * Api/WebPage.cpp: 11 (BlackBerry::WebKit::WebPagePrivate::init): initialize BatteryClient. 12 * WebCoreSupport/BatteryClientBlackBerry.cpp: Added. 13 (WebCore): 14 (WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry): 15 (WebCore::BatteryClientBlackBerry::setController): 16 (WebCore::BatteryClientBlackBerry::startUpdating): 17 (WebCore::BatteryClientBlackBerry::stopUpdating): 18 (WebCore::BatteryClientBlackBerry::batteryControllerDestroyed): 19 (WebCore::BatteryClientBlackBerry::onLevelChange): 20 (WebCore::BatteryClientBlackBerry::onChargingChange): 21 (WebCore::BatteryClientBlackBerry::onChargingTimeChange): 22 (WebCore::BatteryClientBlackBerry::onDischargingTimeChange): 23 * WebCoreSupport/BatteryClientBlackBerry.h: Added. 24 (WebCore): 25 (BatteryClientBlackBerry): 26 (WebCore::BatteryClientBlackBerry::~BatteryClientBlackBerry): 27 1 28 2012-04-06 Benjamin Poulain <[email protected]> 2 29 -
trunk/Source/cmake/OptionsBlackBerry.cmake
r113404 r113547 134 134 135 135 WEBKIT_FEATURE(ENABLE_ASSEMBLER_WX_EXCLUSIVE "Assembler WX Exclusive" DEFAULT ON) 136 WEBKIT_FEATURE(ENABLE_BATTERY_STATUS "Enable battery status api" DEFAULT ON) 136 137 WEBKIT_FEATURE(ENABLE_BLOB "Enable blob slice" DEFAULT ON) 137 138 WEBKIT_FEATURE(ENABLE_CHANNEL_MESSAGING "Enable channel messaging" DEFAULT ON) -
trunk/Tools/ChangeLog
r113531 r113547 1 2012-04-07 Rob Buis <[email protected]> 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 * Scripts/build-webkit: 11 1 12 2012-04-06 Ami Fischman <[email protected]> 2 13 -
trunk/Tools/Scripts/build-webkit
r113489 r113547 165 165 166 166 { option => "battery-status-api", desc => "Toggle battery status API support", 167 define => "ENABLE_BATTERY_STATUS", default => isEfl(), value => \$batterystatusAPISupport },167 define => "ENABLE_BATTERY_STATUS", default => (isEfl() || isBlackBerry()), value => \$batterystatusAPISupport }, 168 168 169 169 { option => "blob", desc => "Toggle Blob support",
Note:
See TracChangeset
for help on using the changeset viewer.