| Index: third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h b/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
|
| index 06e454e81c07052e654f7bc447ebef9648760e10..5c6c1e4c2e9da9431fda69b2139b65e05a924fb6 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationAvailability.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef PresentationAvailability_h
|
| #define PresentationAvailability_h
|
|
|
| +#include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| #include "core/events/EventTarget.h"
|
| #include "core/page/PageLifecycleObserver.h"
|
| @@ -24,6 +25,7 @@ class ScriptPromiseResolver;
|
| // change. The object will only listen to changes when required.
|
| class MODULES_EXPORT PresentationAvailability final
|
| : public RefCountedGarbageCollectedEventTargetWithInlineData<PresentationAvailability>
|
| + , public ActiveScriptWrappable
|
| , public ActiveDOMObject
|
| , public PageLifecycleObserver
|
| , public WebPresentationAvailabilityObserver {
|
| @@ -42,8 +44,10 @@ public:
|
| void availabilityChanged(bool) override;
|
| const WebURL url() const override;
|
|
|
| + // ActiveScriptWrappable implementation.
|
| + bool hasPendingActivity() const final;
|
| +
|
| // ActiveDOMObject implementation.
|
| - bool hasPendingActivity() const override;
|
| void suspend() override;
|
| void resume() override;
|
| void stop() override;
|
|
|