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

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

Issue 2379703002: [Presentation API] (alternative) 1-UA: send message between controller and receiver page (Closed)
Patch Set: merge with master Created 4 years, 1 month 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebPresentationController_h 5 #ifndef WebPresentationController_h
6 #define WebPresentationController_h 6 #define WebPresentationController_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/modules/presentation/WebPresentationClient.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class WebPresentationConnectionClient;
13 class WebString; 13 class WebString;
14 enum class WebPresentationConnectionCloseReason; 14 enum class WebPresentationConnectionCloseReason;
15 enum class WebPresentationConnectionState; 15 enum class WebPresentationConnectionState;
16 16
17 // The delegate Blink provides to WebPresentationClient in order to get updates. 17 // The delegate Blink provides to WebPresentationClient in order to get updates.
18 class BLINK_PLATFORM_EXPORT WebPresentationController { 18 class BLINK_PLATFORM_EXPORT WebPresentationController {
19 public: 19 public:
20 virtual ~WebPresentationController() {} 20 virtual ~WebPresentationController() {}
21 21
22 // Called when the presentation session is started by the embedder using 22 // Called when the presentation session is started by the embedder using
(...skipping 15 matching lines...) Expand all
38 38
39 // Called when a binary message of a session is received. 39 // Called when a binary message of a session is received.
40 virtual void didReceiveSessionBinaryMessage(WebPresentationConnectionClient*, 40 virtual void didReceiveSessionBinaryMessage(WebPresentationConnectionClient*,
41 const uint8_t* data, 41 const uint8_t* data,
42 size_t length) = 0; 42 size_t length) = 0;
43 }; 43 };
44 44
45 } // namespace blink 45 } // namespace blink
46 46
47 #endif // WebPresentationController_h 47 #endif // WebPresentationController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698