Chromium Code Reviews| 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; |