Chromium Code Reviews| 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..bfdf8dbd053965d7d8d235eb0b68ad9b37ec117a |
| --- /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 |
|
mark a. foltz
2016/09/15 16:53:18
Nit: terminate with period.
zhaobin
2016/09/15 18:56:03
Done.
|
| + virtual void onReceiverConnectionAvailable(WebPresentationConnectionClient*) = 0; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebPresentationReceiver_h |