Index: content/common/presentation/presentation_service.mojom |
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..caf88800f7342e52fd0cf243892472a4ac6b567f |
--- /dev/null |
+++ b/content/common/presentation/presentation_service.mojom |
@@ -0,0 +1,18 @@ |
+// 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. |
+ |
+module presentation; |
+ |
+import "content/common/presentation/presentation_service_client.mojom"; |
+ |
+interface PresentationService { |
+ // Binds the PresentationService with the renderer side of the Presentation |
+ // API. |
+ SetClient(PresentationServiceClient client); |
+ |
+ // Called when the first listener is added to or the last listener is removed |
+ // from the |availablechange| event. |
+ // Might start or stop the presentation screens discovery. |
+ UpdateAvailableChangeWatched(bool watched); |
+}; |