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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h

Issue 2939223003: Add DocumentShutdown{Notifier,Observer} (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h b/third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h
new file mode 100644
index 0000000000000000000000000000000000000000..da74e129511d7db0c997a0f9a8110ff3effff3fb
--- /dev/null
+++ b/third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h
@@ -0,0 +1,26 @@
+// Copyright 2017 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 DocumentShutdownNotifier_h
+#define DocumentShutdownNotifier_h
+
+#include "platform/LifecycleNotifier.h"
+
+namespace blink {
+
+class Document;
+class DocumentShutdownObserver;
+
+class DocumentShutdownNotifier
yosin_UTC9 2017/06/16 01:06:21 Could you add class level comment? It seems Docum
+ : public LifecycleNotifier<Document, DocumentShutdownObserver> {
+ protected:
+ DocumentShutdownNotifier();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DocumentShutdownNotifier);
+};
+
+} // namespace blink
+
+#endif // DocumentShutdownNotifier_h

Powered by Google App Engine
This is Rietveld 408576698