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

Unified Diff: public/platform/modules/presentation/WebPresentationSessionClient.h

Issue 935103002: [PresentationAPI] Added/changed public/platform interfaces for start/joinSession (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed the int-receiving ctor Created 5 years, 10 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
« no previous file with comments | « public/platform/modules/presentation/WebPresentationError.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/modules/presentation/WebPresentationSessionClient.h
diff --git a/public/platform/modules/presentation/WebPresentationSessionClient.h b/public/platform/modules/presentation/WebPresentationSessionClient.h
new file mode 100644
index 0000000000000000000000000000000000000000..735ff3cd1602ac6c935cd078eb372a9b416930d3
--- /dev/null
+++ b/public/platform/modules/presentation/WebPresentationSessionClient.h
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebPresentationSessionClient_h
+#define WebPresentationSessionClient_h
+
+#include "public/platform/WebString.h"
+
+namespace blink {
+
+// The implementation the embedder has to provide for the Presentation API to work.
+class WebPresentationSessionClient {
+public:
+ virtual ~WebPresentationSessionClient() { }
+
+ virtual WebString getId() = 0;
+ virtual WebString getUrl() = 0;
+};
+
+} // namespace blink
+
+#endif // WebPresentationSessionClient_h
« no previous file with comments | « public/platform/modules/presentation/WebPresentationError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698