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

Unified Diff: Source/core/frame/LocalFrameLifecycleNotifier.h

Issue 1017313002: Simplify handling of LocalFrame lifecycle notifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: clear context on FDO::contextDestroyed() Created 5 years, 9 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
Index: Source/core/frame/LocalFrameLifecycleNotifier.h
diff --git a/Source/core/frame/LocalFrameLifecycleNotifier.h b/Source/core/frame/LocalFrameLifecycleNotifier.h
new file mode 100644
index 0000000000000000000000000000000000000000..cd3c85b1d515b66e484fcd04daee66c03c8e5baa
--- /dev/null
+++ b/Source/core/frame/LocalFrameLifecycleNotifier.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef LocalFrameLifecycleNotifier_h
+#define LocalFrameLifecycleNotifier_h
+
+#include "core/CoreExport.h"
+#include "platform/LifecycleNotifier.h"
+#include "wtf/Forward.h"
+
+namespace blink {
+
+class FrameDestructionObserver;
+class LocalFrame;
+
+class CORE_EXPORT LocalFrameLifecycleNotifier : public LifecycleNotifier<LocalFrame, FrameDestructionObserver> {
+public:
+ void notifyWillDetachFrameHost();
+};
+
+} // namespace blink
+
+#endif // LocalFrameLifecycleNotifier_h

Powered by Google App Engine
This is Rietveld 408576698