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

Unified Diff: Source/modules/presentation/PresentationController.h

Issue 1020303004: [PresentationAPI] Plumbing |onstatechange| event for the PresentationSession from Blink to platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added a return statement for the conversion function 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
Index: Source/modules/presentation/PresentationController.h
diff --git a/Source/modules/presentation/PresentationController.h b/Source/modules/presentation/PresentationController.h
index ad2aae3386e3239ccdf4e660fdaad53430e39970..239b938b50d932dcfc0e4886d23b9eab3d9b7a0a 100644
--- a/Source/modules/presentation/PresentationController.h
+++ b/Source/modules/presentation/PresentationController.h
@@ -16,6 +16,7 @@ namespace blink {
class LocalFrame;
class WebPresentationSessionClient;
+enum class WebPresentationSessionState;
// The coordinator between the various page exposed properties and the content
// layer represented via |WebPresentationClient|.
@@ -43,6 +44,7 @@ public:
virtual void didChangeAvailability(bool available) override;
virtual bool isAvailableChangeWatched() const override;
virtual void didStartDefaultSession(WebPresentationSessionClient*) override;
+ virtual void didChangeSessionState(WebPresentationSessionClient*, WebPresentationSessionState) override;
// Called when the first listener was added to or the last listener was removed from the
// |availablechange| event.
« no previous file with comments | « Source/modules/presentation/Presentation.cpp ('k') | Source/modules/presentation/PresentationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698