Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h

Issue 2379703002: [Presentation API] (alternative) 1-UA: send message between controller and receiver page (Closed)
Patch Set: resolve code review comments from Mark Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 // The implementation the embedder has to provide for the Presentation API to
11 // work.
12 class WebPresentationConnectionProxy {
13 public:
14 virtual ~WebPresentationConnectionProxy() {}
15
16 virtual void SetConnection(blink::WebPresentationConnection*) = 0;
17
18 virtual void SendString(const blink::WebString& message) = 0;
19
20 virtual void SendArrayBuffer(const uint8_t* data, size_t length) = 0;
21 };
22
23 } // namespace blink
24
25 #endif // WebPresentationConnectionProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698