OLD | NEW |
(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 |
OLD | NEW |