| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6757410af11f2ccfb482eca21b73622c0fed2e63
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 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 WebPresentationReceiver_h
|
| +#define WebPresentationReceiver_h
|
| +
|
| +#include "public/platform/WebCommon.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebPresentationConnectionClient;
|
| +
|
| +// The delegate Blink provides to WebPresentationReceiverClient in order to get updates.
|
| +class BLINK_PLATFORM_EXPORT WebPresentationReceiver {
|
| +public:
|
| + virtual ~WebPresentationReceiver() = default;
|
| +
|
| + // Called when receiver page gets an incoming connection.
|
| + virtual void onReceiverConnectionAvailable(WebPresentationConnectionClient*) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebPresentationReceiver_h
|
|
|