Index: public/platform/modules/presentation/WebPresentationController.h |
diff --git a/public/platform/modules/presentation/WebPresentationController.h b/public/platform/modules/presentation/WebPresentationController.h |
index 9ce4747794957b3ec0ffd743e138282fb5ee0083..ec54ac7bf5356037b8eefc310229c5a142b5c3db 100644 |
--- a/public/platform/modules/presentation/WebPresentationController.h |
+++ b/public/platform/modules/presentation/WebPresentationController.h |
@@ -7,6 +7,8 @@ |
namespace blink { |
+class WebPresentationSessionClient; |
+ |
// The delegate Blink provides to WebPresentationClient in order to get updates. |
class WebPresentationController { |
public: |
@@ -18,6 +20,13 @@ public: |
// Indicates if the frame has listeners to the |availablechange| event. |
virtual bool isAvailableChangeWatched() const = 0; |
+ |
+ // Called when the default presentation is started by the embedder. |
+ // May not be called if there's no registered listener for the event. |
+ virtual void didStartDefaultPresentation(WebPresentationSessionClient*) = 0; |
+ |
+ // Indicates if the frame has listeners to the |defaultpresentationstart| event. |
+ virtual bool isDefaultPresentationStartWatched() const = 0; |
}; |
} // namespace blink |