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

Unified Diff: content/common/presentation/presentation_service.mojom

Issue 839773002: Plumbing from WebPresentationClient to the Presentation Mojo service for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: 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);
+};

Powered by Google App Engine
This is Rietveld 408576698