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

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

Issue 1222623003: Presentation API: implement .getAvalability() (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 5 years, 5 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/modules/presentation/WebPresentationAvailabilityObserver.h
diff --git a/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h b/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
new file mode 100644
index 0000000000000000000000000000000000000000..4b503812143ba1d3c40e3aede260440cad45d5a4
--- /dev/null
+++ b/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
@@ -0,0 +1,20 @@
+// 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 WebPresentationAvailabilityObserver_h
+#define WebPresentationAvailabilityObserver_h
+
+namespace blink {
+
+// WebPresentationAvailabilityObserver is an interface that is implemented by
+// objects that wish to be notified when there is a presentation display
+// availability change.
+class WebPresentationAvailabilityObserver {
+public:
+ virtual void availabilityChanged(bool) = 0;
+};
+
+} // namespace blink
+
+#endif // WebPresentationAvailabilityObserver_h
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | public/platform/modules/presentation/WebPresentationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698