Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h |
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..74f7509ea89997196018fd1b22bbbafbf7d634ee |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h |
| @@ -0,0 +1,27 @@ |
| +// 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 WebPresentationConnectionProxy_h |
| +#define WebPresentationConnectionProxy_h |
| + |
| +namespace blink { |
| + |
| +class WebPresentationConnection; |
| + |
| +// The implementation the embedder has to provide for the Presentation API to |
| +// work. |
|
mark a. foltz
2016/10/21 00:53:03
Can you describe what functions specifically have
zhaobin
2016/10/22 02:44:14
Done.
|
| +class WebPresentationConnectionProxy { |
| + public: |
| + virtual ~WebPresentationConnectionProxy() {} |
| + |
| + virtual void SetSourceConnection(blink::WebPresentationConnection*) = 0; |
| + |
| + virtual void SendString(const blink::WebString& message) = 0; |
| + |
| + virtual void SendArrayBuffer(const uint8_t* data, size_t length) = 0; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebPresentationConnectionProxy_h |