RESOLVED FIXED 89558
[WK2] Add support for Battery Status API
https://bugs.webkit.org/show_bug.cgi?id=89558
Summary [WK2] Add support for Battery Status API
Chris Dumez
Reported 2012-06-20 03:19:38 PDT
There is currently no support for the Battery Status API in WebKit 2, we need to bring support for it.
Attachments
Patch (66.85 KB, patch)
2012-06-20 05:59 PDT, Chris Dumez
webkit-ews: commit-queue-
Patch (67.91 KB, patch)
2012-06-20 06:23 PDT, Chris Dumez
gustavo: commit-queue-
Patch (57.92 KB, patch)
2012-06-20 08:39 PDT, Chris Dumez
no flags
Patch (58.00 KB, patch)
2012-06-20 09:34 PDT, Chris Dumez
no flags
Patch (57.93 KB, patch)
2012-06-20 22:57 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2012-06-20 05:59:41 PDT
Created attachment 148544 [details] Patch The ews-mac probably won't be happy because I haven't added the new files to the XCode project yet (I don't have a mac machine available at the moment). The C APIs for WKBatteryManager and WKBatteryStatus are not included in this patch and will be provided separately to reduce patch size.
Early Warning System Bot
Comment 2 2012-06-20 06:11:14 PDT
Build Bot
Comment 3 2012-06-20 06:15:59 PDT
Chris Dumez
Comment 4 2012-06-20 06:23:54 PDT
Created attachment 148548 [details] Patch Attempt to fix Qt, GTK and Win build.
Gustavo Noronha (kov)
Comment 5 2012-06-20 06:35:05 PDT
Build Bot
Comment 6 2012-06-20 06:46:03 PDT
Early Warning System Bot
Comment 7 2012-06-20 06:48:43 PDT
Build Bot
Comment 8 2012-06-20 06:52:39 PDT
Chris Dumez
Comment 9 2012-06-20 08:39:01 PDT
Chris Dumez
Comment 10 2012-06-20 09:34:57 PDT
Gyuyoung Kim
Comment 11 2012-06-20 20:14:18 PDT
Comment on attachment 148584 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=148584&action=review > Source/WebKit2/UIProcess/API/C/WKBatteryManager.h:29 > +#if ENABLE(BATTERY_STATUS) As I mentioned in other bugs, I'm not sure if ENABLE(...) still can be used in WK header files. WK header files have not used ENABLE(...) except for ENABLE(INSPECTOR).
Chris Dumez
Comment 12 2012-06-20 22:57:46 PDT
Created attachment 148734 [details] Patch Take Gyuyoung's feedback into consideration.
Kenneth Rohde Christiansen
Comment 13 2012-06-24 19:33:33 PDT
Comment on attachment 148734 [details] Patch LGTM
Gyuyoung Kim
Comment 14 2012-06-25 17:49:12 PDT
Comment on attachment 148734 [details] Patch Looks fine too.
WebKit Review Bot
Comment 15 2012-07-03 12:15:25 PDT
Comment on attachment 148734 [details] Patch Rejecting attachment 148734 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: t/git/webkit-commit-queue/Source/WebKit/chromium/v8 --revision 11978 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 47>At revision 11978. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output: http://queues.webkit.org/results/13126546
Chris Dumez
Comment 16 2012-07-03 12:21:18 PDT
Comment on attachment 148734 [details] Patch Error is "Could not resolve hostname `svn.webkit.org'". Seems unrelated so resetting cq flag.
WebKit Review Bot
Comment 17 2012-07-03 16:34:12 PDT
Comment on attachment 148734 [details] Patch Clearing flags on attachment: 148734 Committed r121808: <http://trac.webkit.org/changeset/121808>
WebKit Review Bot
Comment 18 2012-07-03 16:34:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.