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

Unified Diff: Source/core/dom/ContextLifecycleNotifier.h

Issue 17351003: Rename ContextDestructionObserver to ContextLifecycleObserver (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reapplied Created 7 years, 6 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
« no previous file with comments | « Source/core/dom/ContextDestructionObserver.cpp ('k') | Source/core/dom/ContextLifecycleNotifier.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContextLifecycleNotifier.h
diff --git a/Source/core/dom/ContextLifecycleNotifier.h b/Source/core/dom/ContextLifecycleNotifier.h
index f5410b0f7a26c1e411b073dcac2fcbee31416435..4929ade1c60e76066c37489bf4a10673c99f0665 100644
--- a/Source/core/dom/ContextLifecycleNotifier.h
+++ b/Source/core/dom/ContextLifecycleNotifier.h
@@ -38,7 +38,7 @@ class MemoryObjectInfo;
namespace WebCore {
class ActiveDOMObject;
-class ContextDestructionObserver;
+class ContextLifecycleObserver;
class ScriptExecutionContext;
class ContextLifecycleNotifier {
@@ -47,13 +47,13 @@ public:
virtual ~ContextLifecycleNotifier();
- typedef HashSet<ContextDestructionObserver*> ContextObserverSet;
+ typedef HashSet<ContextLifecycleObserver*> ContextObserverSet;
typedef HashSet<ActiveDOMObject*> ActiveDOMObjectSet;
const ActiveDOMObjectSet& activeDOMObjects() const { return m_activeDOMObjects; }
- virtual void addObserver(ContextDestructionObserver*, ContextDestructionObserver::Type as);
- virtual void removeObserver(ContextDestructionObserver*, ContextDestructionObserver::Type as);
+ virtual void addObserver(ContextLifecycleObserver*, ContextLifecycleObserver::Type as);
+ virtual void removeObserver(ContextLifecycleObserver*, ContextLifecycleObserver::Type as);
void notifyResumingActiveDOMObjects();
void notifySuspendingActiveDOMObjects(ActiveDOMObject::ReasonForSuspension);
@@ -79,7 +79,7 @@ protected:
private:
ScriptExecutionContext* m_context;
- ContextObserverSet m_destructionObservers;
+ ContextObserverSet m_contextObservers;
ActiveDOMObjectSet m_activeDOMObjects;
bool m_inDestructor;
};
« no previous file with comments | « Source/core/dom/ContextDestructionObserver.cpp ('k') | Source/core/dom/ContextLifecycleNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698