| Index: Source/modules/presentation/PresentationController.cpp
|
| diff --git a/Source/modules/presentation/PresentationController.cpp b/Source/modules/presentation/PresentationController.cpp
|
| index 5465efa84fb3c9727818a280134328be062e6675..3b0c26cc2850685fde0b097d2223cd9fd8df2522 100644
|
| --- a/Source/modules/presentation/PresentationController.cpp
|
| +++ b/Source/modules/presentation/PresentationController.cpp
|
| @@ -74,6 +74,24 @@ void PresentationController::updateAvailableChangeWatched(bool watched)
|
| m_client->updateAvailableChangeWatched(watched);
|
| }
|
|
|
| +void PresentationController::startSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks* callbacks)
|
| +{
|
| + if (!m_client) {
|
| + delete callbacks;
|
| + return;
|
| + }
|
| + m_client->startSession(presentationUrl, presentationId, callbacks);
|
| +}
|
| +
|
| +void PresentationController::joinSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks* callbacks)
|
| +{
|
| + if (!m_client) {
|
| + delete callbacks;
|
| + return;
|
| + }
|
| + m_client->joinSession(presentationUrl, presentationId, callbacks);
|
| +}
|
| +
|
| void PresentationController::setPresentation(Presentation* presentation)
|
| {
|
| m_presentation = presentation;
|
|
|