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

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

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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 076be413d83cc78f120aa8ad1db5fdfbcb69038e..825c8bdee936e0c2e55fbec390e5e195653b1931 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.h
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.h
@@ -8,8 +8,8 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptPromiseProperty.h"
-#include "core/dom/ActiveDOMObject.h"
#include "core/dom/ContextLifecycleObserver.h"
+#include "core/dom/SuspendableObject.h"
#include "core/frame/PlatformEventController.h"
#include "modules/EventTargetModules.h"
#include "modules/battery/battery_status.h"
@@ -19,7 +19,7 @@ namespace blink {
class BatteryManager final : public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public PlatformEventController {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
@@ -55,7 +55,7 @@ class BatteryManager final : public EventTargetWithInlineData,
void unregisterWithDispatcher() override;
bool hasLastData() override;
- // ActiveDOMObject implementation.
+ // SuspendableObject implementation.
void suspend() override;
void resume() override;
void contextDestroyed() override;

Powered by Google App Engine
This is Rietveld 408576698