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..e774ebf40a3ad039591ba2b57a1c26c6c50500e5 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.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 WebPresentationConnectionProxy_h |
| +#define WebPresentationConnectionProxy_h |
| + |
| +namespace blink { |
| + |
| +class WebPresentationConnection; |
| +class WebString; |
| + |
| +// The implementation the embedder has to provide for the Presentation API to |
| +// work. This class is used to send messages to a PresentationConnection hosted |
| +// in a different frame. |
| +class WebPresentationConnectionProxy { |
| + public: |
| + virtual ~WebPresentationConnectionProxy() {} |
|
mlamouri (slow - plz ping)
2016/12/06 09:57:01
nit: = default
zhaobin
2016/12/08 02:41:10
Done.
|
| + |
| + virtual void SetSourceConnection(blink::WebPresentationConnection*) = 0; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebPresentationConnectionProxy_h |