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

Unified Diff: public/platform/modules/presentation/WebPresentationClient.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: Default implementation for the new WebPresentationClient method 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/WebPresentationClient.h
diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h
index f11b22ff5204ab0f86ee172e6226831e079fc184..89cfa4331d52f0323ca2998d4334a8532989504e 100644
--- a/public/platform/modules/presentation/WebPresentationClient.h
+++ b/public/platform/modules/presentation/WebPresentationClient.h
@@ -6,6 +6,7 @@
#define WebPresentationClient_h
#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebCommon.h"
namespace blink {
@@ -31,6 +32,10 @@ public:
// last event listener from the |availablechange| event.
virtual void updateAvailableChangeWatched(bool watched) = 0;
+ // Called when the frame attaches the first event listener to or removes the
+ // last event listener from the |defaultpresentationstart| event.
+ virtual void updateDefaultPresentationStartWatched(bool watched) { BLINK_ASSERT_NOT_REACHED(); }
Peter Beverloo 2015/03/03 21:19:25 nit: add a FIXME to change this to be pure virtual
whywhat 2015/03/05 18:41:47 Done.
+
// Called when the frame request to start a new session.
// The ownership of the |callbacks| argument is transferred to the embedder.
virtual void startSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;

Powered by Google App Engine
This is Rietveld 408576698