blob: 49d68359d3a189c9280664f7c3eb239ee13a3bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2015 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 WebPresentationAvailabilityObserver_h
#define WebPresentationAvailabilityObserver_h
#include "public/platform/WebCommon.h"
#include "public/platform/WebURL.h"
namespace blink {
// WebPresentationAvailabilityObserver is an interface that is implemented by
// objects that wish to be notified when there is a presentation display
// availability change for a given URL.
class BLINK_PLATFORM_EXPORT WebPresentationAvailabilityObserver {
public:
virtual ~WebPresentationAvailabilityObserver() = default;
virtual void availabilityChanged(bool) = 0;
virtual const WebURL url() const = 0;
};
} // namespace blink
#endif // WebPresentationAvailabilityObserver_h
|