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

Side by Side Diff: third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h

Issue 2939223003: Add DocumentShutdown{Notifier,Observer} (Closed)
Patch Set: Add CORE_EXPORT to DocumentShutdownNotifier 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DocumentShutdownNotifier_h
6 #define DocumentShutdownNotifier_h
7
8 #include "core/CoreExport.h"
9 #include "platform/LifecycleNotifier.h"
10
11 namespace blink {
12
13 class Document;
14 class DocumentShutdownObserver;
15
16 // Sibling class of DocumentShutdownObserver; implemented by Document to notify
17 // subclasses of DocumentShutdownObserver of Document shutdown.
18 class CORE_EXPORT DocumentShutdownNotifier
19 : public LifecycleNotifier<Document, DocumentShutdownObserver> {
20 protected:
21 DocumentShutdownNotifier();
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(DocumentShutdownNotifier);
25 };
26
27 } // namespace blink
28
29 #endif // DocumentShutdownNotifier_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698