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

Side by Side Diff: content/common/presentation/presentation.mojom

Issue 2622993002: [Presentation API] Move presentation.mojom to content/common/presentation (Closed)
Patch Set: Fix #include and OWNERS Created 3 years, 11 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
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 content.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 }; 14 };
15 15
16 enum PresentationConnectionState { 16 enum PresentationConnectionState {
17 CONNECTING, 17 CONNECTING,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // See PresentationService::ListenForConnectionMessages. 139 // See PresentationService::ListenForConnectionMessages.
140 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo, 140 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo,
141 array<ConnectionMessage> messages); 141 array<ConnectionMessage> messages);
142 142
143 // See PresentationService::SetDefaultPresentationURL. 143 // See PresentationService::SetDefaultPresentationURL.
144 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); 144 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo);
145 145
146 // See PresentationService::OnReceiverConnectionAvailable. 146 // See PresentationService::OnReceiverConnectionAvailable.
147 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo); 147 OnReceiverConnectionAvailable(PresentationSessionInfo sessionInfo);
148 }; 148 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698