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..be14c8e194c63f70384ffda7e4720baa4276c309 |
--- /dev/null |
+++ b/content/common/presentation/presentation_service.mojom |
@@ -0,0 +1,15 @@ |
+// 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 { |
+ // Called when there's at least one listener for the |availablechange| event |
+ // and the client is ready to process the result. To get the subsequent event |
mark a. foltz
2015/01/27 21:56:09
I didn't quite follow the second sentence. Should
whywhat
2015/01/28 01:52:37
Call the method repeatedly. Updated the wording.
|
+ // the client has to call the method again when it's ready. |
+ // Might start the presentation screens discovery. The discovery might be |
mark a. foltz
2015/01/27 21:56:09
May start discovery of presentation screens. The
whywhat
2015/01/28 01:52:37
I actually introduced an explicit OnScreenAvailabi
|
+ // stopped by the service implementation if there's no active calls to get |
+ // screens availability at the moment. |
+ GetScreenAvailability() => (bool available); |
+}; |