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

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

Issue 1024903003: [Presentation API] Plumbing of |onstatechange| from the Mojo service to the public/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call the Mojo method again from the callback 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_session_client.h
diff --git a/content/renderer/presentation/presentation_session_client.h b/content/renderer/presentation/presentation_session_client.h
index c6cc2599e7b4a4633311f2df7df9a2937243f0ae..1bdcf15bf2860dba39f64da1a91b5c4c4dd3bbbf 100644
--- a/content/renderer/presentation/presentation_session_client.h
+++ b/content/renderer/presentation/presentation_session_client.h
@@ -7,18 +7,18 @@
#include "base/compiler_specific.h"
#include "content/common/content_export.h"
+#include "content/common/presentation/presentation_service.mojom.h"
#include "third_party/WebKit/public/platform/modules/presentation/WebPresentationSessionClient.h"
namespace content {
-class PresentationSessionDispatcher;
-
// PresentationSessionClient is passed to the Blink layer if presentation
// session has been created successfully. Owned by the callback.
class CONTENT_EXPORT PresentationSessionClient
: public NON_EXPORTED_BASE(blink::WebPresentationSessionClient) {
public:
- explicit PresentationSessionClient(PresentationSessionDispatcher* dispatcher);
+ explicit PresentationSessionClient(
+ presentation::PresentationSessionInfoPtr session_info);
~PresentationSessionClient() override;
// WebPresentationSessionClient implementation.
« no previous file with comments | « content/renderer/presentation/presentation_dispatcher.cc ('k') | content/renderer/presentation/presentation_session_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698