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

Unified Diff: content/renderer/presentation/presentation_dispatcher.h

Issue 979413002: [Presentation API] Additional plumbing for PresentationServiceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@REAL-NEW-MASTER
Patch Set: rm presentation_session.mojom 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: content/renderer/presentation/presentation_dispatcher.h
diff --git a/content/renderer/presentation/presentation_dispatcher.h b/content/renderer/presentation/presentation_dispatcher.h
index e17d72ac0e6e24ac3ff340c2e841cab03c366860..2fcd493928ff5844998dc5e11e4e78d6df436038 100644
--- a/content/renderer/presentation/presentation_dispatcher.h
+++ b/content/renderer/presentation/presentation_dispatcher.h
@@ -45,16 +45,22 @@ class CONTENT_EXPORT PresentationDispatcher
// RenderFrameObserver
void DidChangeDefaultPresentation() override;
- void OnScreenAvailabilityChanged(bool available);
+ void OnScreenAvailabilityChanged(
+ const std::string& presentation_url,
+ bool available);
void OnSessionCreated(
- blink::WebPresentationSessionClientCallbacks* callback,
- presentation::PresentationSessionInfoPtr session_info,
- presentation::PresentationErrorPtr error);
+ blink::WebPresentationSessionClientCallbacks* callback,
+ presentation::PresentationSessionInfoPtr session_info,
+ presentation::PresentationErrorPtr error);
void OnDefaultSessionStarted(
presentation::PresentationSessionInfoPtr session_info);
void ConnectToPresentationServiceIfNeeded();
+ void DoUpdateAvailableChangeWatched(
+ const std::string& presentation_url,
+ bool watched);
+
// Used as a weak reference. Can be null since lifetime is bound to the frame.
blink::WebPresentationController* controller_;
presentation::PresentationServicePtr presentation_service_;
« no previous file with comments | « content/public/browser/presentation_session.cc ('k') | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698