Battery Status API: implementation for Windows.

Implementation of the Battery Status API for the Windows platform.
Implementation uses a message window to receive battery notifications.
On versions prior to Vista there is limited support as the
RegisterPowerSettingNotification function is not available.

BUG=122593, 404139
TEST=http://jsbin.com/battery-status-test (manual)

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289634

Review URL: https://codereview.chromium.org/447853002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290147 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed