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

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: Fixed last reviewers wishes Created 5 years, 9 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
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8ed2da2f86fa5916a696978cba54dd8cd75a50ff 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 presentation session is started by the embedder using
+ // the default presentation URL and id.
+ virtual void didStartDefaultSession(WebPresentationSessionClient*) = 0;
};
} // namespace blink
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698