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

Unified Diff: public/platform/modules/presentation/WebPresentationSessionClient.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: Addressed the comments, changed the enum to enum class. 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: public/platform/modules/presentation/WebPresentationSessionClient.h
diff --git a/public/platform/modules/presentation/WebPresentationSessionClient.h b/public/platform/modules/presentation/WebPresentationSessionClient.h
index 735ff3cd1602ac6c935cd078eb372a9b416930d3..87a5fba0501f2cef1f9ec612298598f37529a5a0 100644
--- a/public/platform/modules/presentation/WebPresentationSessionClient.h
+++ b/public/platform/modules/presentation/WebPresentationSessionClient.h
@@ -9,6 +9,11 @@
namespace blink {
+enum class WebPresentationSessionState {
+ Connected = 0,
+ Disconnected,
+};
mlamouri (slow - plz ping) 2015/03/23 21:25:48 Lovely <3
whywhat 2015/03/23 21:37:45 Acknowledged.
whywhat 2015/03/23 21:37:46 Acknowledged.
+
// The implementation the embedder has to provide for the Presentation API to work.
class WebPresentationSessionClient {
public:

Powered by Google App Engine
This is Rietveld 408576698