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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h

Issue 2562303002: Add ContextLifecycleObserver::frame() (Closed)
Patch Set: temp 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/core/loader/appcache/ApplicationCache.h
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h
index a122383448c7f84f971167f272b8f98ae5c1c6d5..50cbcbcd3aae6d2fbd58b267df2e14dc4d9c7c75 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.h
@@ -26,9 +26,8 @@
#ifndef ApplicationCache_h
#define ApplicationCache_h
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/events/EventTarget.h"
-
-#include "core/frame/DOMWindowProperty.h"
#include "core/loader/appcache/ApplicationCacheHost.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -39,7 +38,7 @@ class ExceptionState;
class LocalFrame;
class ApplicationCache final : public EventTargetWithInlineData,
- public DOMWindowProperty {
+ public ContextLifecycleObserver {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache);
@@ -49,7 +48,7 @@ class ApplicationCache final : public EventTargetWithInlineData,
}
~ApplicationCache() override {}
- void frameDestroyed() override;
+ void contextDestroyed() override;
unsigned short status() const;
void update(ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698