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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: resolve code review comments from mlamouri Created 3 years, 11 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: third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
index e59c632bc5331a1aabfd84d4a8658cbc605c582e..297e07ff0dda0c81ca4244b0b2ad55061b33028e 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
@@ -10,6 +10,7 @@
namespace blink {
struct WebPresentationSessionInfo;
+class WebPresentationConnection;
class WebString;
enum class WebPresentationConnectionCloseReason { Error = 0, Closed, WentAway };
@@ -28,7 +29,8 @@ class BLINK_PLATFORM_EXPORT WebPresentationController {
// Called when the presentation session is started by the embedder using
// the default presentation URL and id.
- virtual void didStartDefaultSession(const WebPresentationSessionInfo&) = 0;
+ virtual WebPresentationConnection* didStartDefaultSession(
+ const WebPresentationSessionInfo&) = 0;
// Called when the state of a session changes.
virtual void didChangeSessionState(const WebPresentationSessionInfo&,

Powered by Google App Engine
This is Rietveld 408576698