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

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

Issue 2471883002: [Presentation API] (1st) (1-UA) Add is_offscreen_presentation attribute to MediaRouter (Closed)
Patch Set: 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 // TODO(crbug.com/647290): Rename "Session" to "Connection" 5 // TODO(crbug.com/647290): Rename "Session" to "Connection"
6 6
7 module blink.mojom; 7 module blink.mojom;
8 8
9 import "url/mojo/url.mojom"; 9 import "url/mojo/url.mojom";
10 10
11 struct PresentationSessionInfo { 11 struct PresentationSessionInfo {
12 url.mojom.Url url; 12 url.mojom.Url url;
13 string id; 13 string id;
14 bool is_offscreen;
14 }; 15 };
15 16
16 enum PresentationConnectionState { 17 enum PresentationConnectionState {
17 CONNECTING, 18 CONNECTING,
18 CONNECTED, 19 CONNECTED,
19 CLOSED, 20 CLOSED,
20 TERMINATED 21 TERMINATED
21 }; 22 };
22 23
23 enum PresentationConnectionCloseReason { 24 enum PresentationConnectionCloseReason {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // See PresentationService::ListenForSessionMessages. 139 // See PresentationService::ListenForSessionMessages.
139 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo, 140 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo,
140 array<SessionMessage> messages); 141 array<SessionMessage> messages);
141 142
142 // See PresentationService::SetDefaultPresentationURL. 143 // See PresentationService::SetDefaultPresentationURL.
143 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); 144 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo);
144 145
145 // See PresentationService::ListeningForReceiverPageRendered. 146 // See PresentationService::ListeningForReceiverPageRendered.
146 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo); 147 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo);
147 }; 148 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698