| 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..2fc233682a2ee51516d32c9722bb836b681e7699
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentShutdownNotifier.h
|
| @@ -0,0 +1,29 @@
|
| +// 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 "core/CoreExport.h"
|
| +#include "platform/LifecycleNotifier.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class Document;
|
| +class DocumentShutdownObserver;
|
| +
|
| +// Sibling class of DocumentShutdownObserver; implemented by Document to notify
|
| +// subclasses of DocumentShutdownObserver of Document shutdown.
|
| +class CORE_EXPORT DocumentShutdownNotifier
|
| + : public LifecycleNotifier<Document, DocumentShutdownObserver> {
|
| + protected:
|
| + DocumentShutdownNotifier();
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DocumentShutdownNotifier);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // DocumentShutdownNotifier_h
|
|
|