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

Unified Diff: public/platform/WebPresentationClient.h

Issue 832263007: Added plumbing for the availablechange event from Blink to WebPresentationClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: public/platform/WebPresentationClient.h
diff --git a/public/platform/WebPresentationClient.h b/public/platform/WebPresentationClient.h
new file mode 100644
index 0000000000000000000000000000000000000000..91ce38583a6bf5d8e4bbe869d149c700916a5a3a
--- /dev/null
+++ b/public/platform/WebPresentationClient.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
Peter Beverloo 2015/01/07 14:29:09 nit: no (c).
whywhat 2015/01/07 16:22:16 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebPresentationClient_h
+#define WebPresentationClient_h
+
+namespace blink {
+
+class WebPresentationController;
+
+class WebPresentationClient {
Peter Beverloo 2015/01/07 14:29:09 This is an API class, so please add documentation
whywhat 2015/01/07 16:22:16 Done.
+public:
+ virtual ~WebPresentationClient() { }
+
+ virtual void setController(WebPresentationController*) = 0;
+
+ virtual void addDeviceAvailabilityListener() = 0;
+ virtual void removeDeviceAvailabilityListener() = 0;
+};
+
+} // namespace blink
+
+#endif // WebPresentationClient_h

Powered by Google App Engine
This is Rietveld 408576698