Index: chrome/browser/media/router/presentation_service_delegate_impl.h |
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.h b/chrome/browser/media/router/presentation_service_delegate_impl.h |
index fb63b45a55970065cfcd440df526c45e8c14bd96..5ebbdfb52114a48012dbf4932ade86f7d160691f 100644 |
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h |
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h |
@@ -35,6 +35,7 @@ namespace media_router { |
class MediaRoute; |
class MediaSinksObserver; |
+class OffscreenPresentationManager; |
class PresentationFrameManager; |
class RouteRequestResult; |
@@ -130,7 +131,6 @@ class PresentationServiceDelegateImpl |
const content::PresentationSessionInfo& connection, |
const content::PresentationConnectionStateChangedCallback& |
state_changed_cb) override; |
- |
// Callback invoked when a default PresentationRequest is started from a |
// browser-initiated dialog. |
void OnRouteResponse(const PresentationRequest& request, |
@@ -164,6 +164,20 @@ class PresentationServiceDelegateImpl |
int render_frame_id, |
const MediaSource::Id& source_id) const; |
+ void RegisterOffscreenPresentationReceiver( |
+ content::OffscreenPresentationClient*) override {} |
+ |
+ void UnregisterOffscreenPresentationReceiver( |
+ content::OffscreenPresentationClient*) override {} |
+ |
+ void RegisterOffscreenPresentationController( |
+ const std::string& presentationId, |
+ content::OffscreenPresentationClient*) override; |
+ |
+ void UnregisterOffscreenPresentationController( |
+ const std::string& presentationId, |
+ content::OffscreenPresentationClient*) override; |
+ |
private: |
friend class content::WebContentsUserData<PresentationServiceDelegateImpl>; |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceDelegateImplTest, |
@@ -204,6 +218,8 @@ class PresentationServiceDelegateImpl |
std::unique_ptr<PresentationFrameManager> frame_manager_; |
+ OffscreenPresentationManager* const m_offscreenPresentationManager; |
imcheng
2016/09/19 23:01:17
offscreen_presentation_manager_;
zhaobin
2016/09/23 17:18:18
Done.
|
+ |
base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); |