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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationController.h

Issue 2569963003: Remove DOMWindowProperty from PresentationController (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/presentation/PresentationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/presentation/PresentationController.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.h b/third_party/WebKit/Source/modules/presentation/PresentationController.h
index 6de10b8383fa54ee6fe698f579527ed37f98c66b..9aecc0f4c95e7ca5fe0ae9f76640a15f451eaddf 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.h
@@ -5,7 +5,7 @@
#ifndef PresentationController_h
#define PresentationController_h
-#include "core/frame/DOMWindowProperty.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/LocalFrame.h"
#include "modules/ModulesExport.h"
#include "modules/presentation/Presentation.h"
@@ -27,7 +27,7 @@ enum class WebPresentationConnectionState;
class MODULES_EXPORT PresentationController final
: public GarbageCollectedFinalized<PresentationController>,
public Supplement<LocalFrame>,
- public DOMWindowProperty,
+ public ContextLifecycleObserver,
public WebPresentationController {
USING_GARBAGE_COLLECTED_MIXIN(PresentationController);
WTF_MAKE_NONCOPYABLE(PresentationController);
@@ -76,8 +76,8 @@ class MODULES_EXPORT PresentationController final
private:
PresentationController(LocalFrame&, WebPresentationClient*);
- // Implementation of DOMWindowProperty.
- void frameDestroyed() override;
+ // Implementation of ContextLifecycleObserver.
+ void contextDestroyed() override;
// Return the connection associated with the given |connectionClient| or
// null if it doesn't exist.
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/presentation/PresentationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698