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

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: Updated comment 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
« no previous file with comments | « content/common/presentation/OWNERS ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2ff381a41cb5d2f7affb681cf2cc65dfddadd909
--- /dev/null
+++ b/content/common/presentation/presentation_service.mojom
@@ -0,0 +1,21 @@
+// 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;
+
+interface PresentationService {
+ // Returns the last screen availability state if it’s changed since the last
+ // time the method was called. The client has to call this method again when
+ // handling the result (provided via Mojo callback) to get the next update
+ // about the availability status.
+ // May start discovery of the presentation screens. The implementation might
+ // stop discovery once there are no active calls to GetScreenAvailability.
+ // |presentation_url| can be specified to help the implementation to filter
+ // out incompatible screens.
+ GetScreenAvailability(string? presentation_url) => (bool available);
+
+ // Called when the frame no longer listens to the
+ // |availablechange| event.
+ OnScreenAvailabilityListenerRemoved();
+};
« no previous file with comments | « content/common/presentation/OWNERS ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698