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

Unified Diff: public/platform/modules/presentation/WebPresentationController.h

Issue 974993002: [Presentation API] Added the DefaultPresentationStart event and parsing of the default presentation… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced the unused forward declaration with the used one Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
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..6d4a393483a933de8e3fa9c434737734475a0c1b 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,10 @@ 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;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698