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

Unified Diff: Source/core/dom/ContextLifecycleObserver.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/ContextLifecycleNotifier.cpp ('k') | Source/core/dom/ContextLifecycleObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContextLifecycleObserver.h
diff --git a/Source/core/dom/ContextDestructionObserver.h b/Source/core/dom/ContextLifecycleObserver.h
similarity index 86%
rename from Source/core/dom/ContextDestructionObserver.h
rename to Source/core/dom/ContextLifecycleObserver.h
index 1254a0ad8cd5fc7dc46897344a81f288943028b7..574455e861a357cf4f33514367aaf69b3657d5a9 100644
--- a/Source/core/dom/ContextDestructionObserver.h
+++ b/Source/core/dom/ContextLifecycleObserver.h
@@ -20,18 +20,18 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-#ifndef ContextDestructionObserver_h
-#define ContextDestructionObserver_h
+#ifndef ContextLifecycleObserver_h
+#define ContextLifecycleObserver_h
namespace WebCore {
class ScriptExecutionContext;
-class ContextDestructionObserver {
+class ContextLifecycleObserver {
public:
enum Type {
ActiveDOMObjectType,
@@ -39,13 +39,13 @@ public:
GenericType
};
- explicit ContextDestructionObserver(ScriptExecutionContext*, Type = GenericType);
+ explicit ContextLifecycleObserver(ScriptExecutionContext*, Type = GenericType);
virtual void contextDestroyed();
ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionContext; }
protected:
- virtual ~ContextDestructionObserver();
+ virtual ~ContextLifecycleObserver();
void observeContext(ScriptExecutionContext*, Type);
ScriptExecutionContext* m_scriptExecutionContext;
@@ -53,4 +53,4 @@ protected:
} // namespace WebCore
-#endif // ContextDestructionObserver_h
+#endif // ContextLifecycleObserver_h
« no previous file with comments | « Source/core/dom/ContextLifecycleNotifier.cpp ('k') | Source/core/dom/ContextLifecycleObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698