diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 15:05:36 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:33:47 +0000 |
commit | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (patch) | |
tree | d55b4003bde34d7d05f558f02cfd82b2a66a7aac /chromium/third_party/blink/renderer/modules/battery/battery_manager.h | |
parent | 2b94bfe47ccb6c08047959d1c26e392919550e86 (diff) | |
download | qtwebengine-chromium-e684a3455bcc29a6e3e66a004e352dea4e1141e7.tar.gz |
BASELINE: Update Chromium to 72.0.3626.110 and Ninja to 1.9.0
Change-Id: Ic57220b00ecc929a893c91f5cc552f5d3e99e922
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/battery/battery_manager.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/battery/battery_manager.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/modules/battery/battery_manager.h b/chromium/third_party/blink/renderer/modules/battery/battery_manager.h index 478606eb068..93b1acfaf6f 100644 --- a/chromium/third_party/blink/renderer/modules/battery/battery_manager.h +++ b/chromium/third_party/blink/renderer/modules/battery/battery_manager.h @@ -33,7 +33,7 @@ class BatteryManager final : public EventTargetWithInlineData, // EventTarget implementation. const WTF::AtomicString& InterfaceName() const override { - return EventTargetNames::BatteryManager; + return event_target_names::kBatteryManager; } ExecutionContext* GetExecutionContext() const override { return ContextLifecycleObserver::GetExecutionContext(); @@ -44,10 +44,11 @@ class BatteryManager final : public EventTargetWithInlineData, double dischargingTime(); double level(); - DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingchange); - DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingtimechange); - DEFINE_ATTRIBUTE_EVENT_LISTENER(dischargingtimechange); - DEFINE_ATTRIBUTE_EVENT_LISTENER(levelchange); + DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingchange, kChargingchange); + DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingtimechange, kChargingtimechange); + DEFINE_ATTRIBUTE_EVENT_LISTENER(dischargingtimechange, + kDischargingtimechange); + DEFINE_ATTRIBUTE_EVENT_LISTENER(levelchange, kLevelchange); // Inherited from PlatformEventController. void DidUpdateData() override; |