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

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

Issue 2340433003: [Presentation API] 1-UA: notify receiver page when receiver connection becomes available (blink sid… (Closed)
Patch Set: resolve code review comments from dcheng 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // TODO(crbug.com/647290): Rename "Session" to "Connection"
6
5 module blink.mojom; 7 module blink.mojom;
6 8
7 import "url/mojo/url.mojom"; 9 import "url/mojo/url.mojom";
8 10
9 struct PresentationSessionInfo { 11 struct PresentationSessionInfo {
10 url.mojom.Url url; 12 url.mojom.Url url;
11 string id; 13 string id;
12 }; 14 };
13 15
14 enum PresentationConnectionState { 16 enum PresentationConnectionState {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 OnConnectionClosed(PresentationSessionInfo connection, 134 OnConnectionClosed(PresentationSessionInfo connection,
133 PresentationConnectionCloseReason reason, 135 PresentationConnectionCloseReason reason,
134 string message); 136 string message);
135 137
136 // See PresentationService::ListenForSessionMessages. 138 // See PresentationService::ListenForSessionMessages.
137 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo, 139 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo,
138 array<SessionMessage> messages); 140 array<SessionMessage> messages);
139 141
140 // See PresentationService::SetDefaultPresentationURL. 142 // See PresentationService::SetDefaultPresentationURL.
141 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); 143 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo);
144
145 // See PresentationService::ListeningForReceiverPageRendered.
146 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo);
142 }; 147 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698