| OLD | NEW |
| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo, | 171 OnConnectionMessagesReceived(PresentationSessionInfo sessionInfo, |
| 172 array<ConnectionMessage> messages); | 172 array<ConnectionMessage> messages); |
| 173 | 173 |
| 174 // Called on a presentation receiver when presentation connection is available | 174 // Called on a presentation receiver when presentation connection is available |
| 175 // from the controlling page. | 175 // from the controlling page. |
| 176 OnReceiverConnectionAvailable( | 176 OnReceiverConnectionAvailable( |
| 177 PresentationSessionInfo sessionInfo, | 177 PresentationSessionInfo sessionInfo, |
| 178 PresentationConnection controller_connection_ptr, | 178 PresentationConnection controller_connection_ptr, |
| 179 PresentationConnection& receiver_connection_request); | 179 PresentationConnection& receiver_connection_request); |
| 180 }; | 180 }; |
| OLD | NEW |