1 // Copyright 2015 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.
5 #ifndef WebPresentationAvailabilityObserver_h
6 #define WebPresentationAvailabilityObserver_h
8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebURL.h"
13 // WebPresentationAvailabilityObserver is an interface that is implemented by
14 // objects that wish to be notified when there is a presentation display
15 // availability change for a given URL.
16 class BLINK_PLATFORM_EXPORT WebPresentationAvailabilityObserver
{
18 virtual ~WebPresentationAvailabilityObserver() = default;
20 virtual void availabilityChanged(bool) = 0;
22 virtual const WebURL
url() const = 0;
27 #endif // WebPresentationAvailabilityObserver_h