Chromium Code Reviews| 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 module presentation; | 5 module presentation; |
| 6 | 6 |
| 7 struct PresentationSessionInfo { | 7 struct PresentationSessionInfo { |
| 8 string url; | 8 string url; |
| 9 string id; | 9 string id; |
| 10 }; | 10 }; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 92 | 92 |
| 93 // Called when the frame is ready to process the next state change. Returns | 93 // Called when the frame is ready to process the next state change. Returns |
| 94 // the last session state if it’s changed since the last time the callback | 94 // the last session state if it’s changed since the last time the callback |
| 95 // was called. Might cause the event fired with the initial state change. | 95 // was called. Might cause the event fired with the initial state change. |
| 96 ListenForSessionStateChange() | 96 ListenForSessionStateChange() |
| 97 => (PresentationSessionInfo sessionInfo, | 97 => (PresentationSessionInfo sessionInfo, |
| 98 PresentationSessionState newState); | 98 PresentationSessionState newState); |
| 99 | 99 |
| 100 // Called when the frame is ready to process the next batch of messages. | 100 // Called when the frame is ready to process the next batch of messages. |
| 101 ListenForSessionMessages() | 101 ListenForSessionMessages() |
| 102 => (array<SessionMessage> messages); | 102 => (array<SessionMessage>? messages); |
|
imcheng (use chromium acct)
2015/05/04 19:53:55
Document what it means to invoke the callback with
haibinlu
2015/05/04 21:33:50
Done.
| |
| 103 }; | 103 }; |
| OLD | NEW |