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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationAvailability.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/presentation/PresentationAvailability.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h b/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
index 12ad7d94d24b01a5700117e329aee8b58bfe957a..cb64a3d1c70c596c300ed13bb5234e69261ba926 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
@@ -6,7 +6,7 @@
#define PresentationAvailability_h
#include "bindings/core/v8/ActiveScriptWrappable.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/SuspendableObject.h"
#include "core/events/EventTarget.h"
#include "core/page/PageVisibilityObserver.h"
#include "modules/ModulesExport.h"
@@ -26,7 +26,7 @@ class ScriptPromiseResolver;
class MODULES_EXPORT PresentationAvailability final
: public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public PageVisibilityObserver,
public WebPresentationAvailabilityObserver {
USING_GARBAGE_COLLECTED_MIXIN(PresentationAvailability);
@@ -49,7 +49,7 @@ class MODULES_EXPORT PresentationAvailability final
// ScriptWrappable implementation.
bool hasPendingActivity() const final;
- // ActiveDOMObject implementation.
+ // SuspendableObject implementation.
void suspend() override;
void resume() override;
void contextDestroyed() override;
@@ -69,7 +69,7 @@ class MODULES_EXPORT PresentationAvailability final
RegisteredEventListener&) override;
private:
- // Current state of the ActiveDOMObject. It is Active when created. It
+ // Current state of the SuspendableObject. It is Active when created. It
// becomes Suspended when suspend() is called and moves back to Active if
// resume() is called. It becomes Inactive when stop() is called or at
// destruction time.

Powered by Google App Engine
This is Rietveld 408576698