Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: third_party/WebKit/Source/modules/battery/BatteryManager.h

Issue 1740843002: Revert of Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/battery/BatteryManager.h
diff --git a/third_party/WebKit/Source/modules/battery/BatteryManager.h b/third_party/WebKit/Source/modules/battery/BatteryManager.h
index 114273c79acaecd1a92bc203af94d914cd5f206a..8c421a3ffe247e6720e1fbbf3741eacd1c956fcc 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.h
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.h
@@ -11,10 +11,11 @@
#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/PlatformEventController.h"
#include "modules/EventTargetModules.h"
-#include "platform/battery/battery_status.h"
#include "platform/heap/Handle.h"
namespace blink {
+
+class BatteryStatus;
class BatteryManager final : public RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>, public ActiveDOMObject, public PlatformEventController {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(BatteryManager);
@@ -60,7 +61,7 @@
using BatteryProperty = ScriptPromiseProperty<Member<BatteryManager>, Member<BatteryManager>, Member<DOMException>>;
Member<BatteryProperty> m_batteryProperty;
- BatteryStatus m_batteryStatus;
+ Member<BatteryStatus> m_batteryStatus;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698