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

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

Issue 1033733007: [PresentationAPI] renamed GetScreenAvailability to ListenForScreenAvailability for consistency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated the test Created 5 years, 9 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
index 0476e9dea653633316664162cbca9b1fa8b41822..36756e23a080698ec63f93627b099bba23d9750e 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -38,15 +38,14 @@ interface PresentationService {
// 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) =>
+ // stop discovery once there are no active calls to
+ // ListenForScreenAvailability. |presentation_url| can be specified to help
+ // the implementation to filter out incompatible screens.
+ ListenForScreenAvailability(string? presentation_url) =>
(string? presentation_url, bool available);
- // Called when the frame no longer listens to the
- // |availablechange| event.
- OnScreenAvailabilityListenerRemoved(string? presentation_url);
+ // Called when the frame no longer listens to the |availablechange| event.
+ RemoveScreenAvailabilityListener(string? presentation_url);
// Called when the renderer is ready to receive the browser initiated
// session. If the default session is started by the embedder before this

Powered by Google App Engine
This is Rietveld 408576698