Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebPresentationConnectionProxy_h | |
| 6 #define WebPresentationConnectionProxy_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 class WebPresentationConnection; | |
| 11 | |
| 12 // The implementation the embedder has to provide for the Presentation API to | |
| 13 // 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.
| |
| 14 class WebPresentationConnectionProxy { | |
| 15 public: | |
| 16 virtual ~WebPresentationConnectionProxy() {} | |
| 17 | |
| 18 virtual void SetSourceConnection(blink::WebPresentationConnection*) = 0; | |
| 19 | |
| 20 virtual void SendString(const blink::WebString& message) = 0; | |
| 21 | |
| 22 virtual void SendArrayBuffer(const uint8_t* data, size_t length) = 0; | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // WebPresentationConnectionProxy_h | |
| OLD | NEW |