Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module presentation; | |
| 6 | |
| 7 interface PresentationService { | |
| 8 // Returns the last session state if it’s changed since the last time the | |
|
mark a. foltz
2015/01/28 19:37:02
Returns the last screen availability state
whywhat
2015/01/28 20:26:03
Done.
| |
| 9 // method was called. The client has to call this method again when handling | |
| 10 // the callback to get the next updates about the last availability status. | |
|
mark a. foltz
2015/01/28 19:37:02
Which callback?
mark a. foltz
2015/01/28 19:37:02
s/updates/update/
s/last//
whywhat
2015/01/28 20:26:03
Done.
whywhat
2015/01/28 20:26:04
Done.
| |
| 11 // May start discovery of the presentation screens. The implementation might | |
| 12 // stop discovery once there are no active calls to GetScreenAvailability. | |
| 13 // |presentation_url| might be specified to help the | |
|
mark a. foltz
2015/01/28 19:37:02
s/might/can/
whywhat
2015/01/28 20:26:04
Done.
| |
| 14 // implementation to filter the incompatible screens. | |
|
mark a. foltz
2015/01/28 19:37:02
s/the/out/
whywhat
2015/01/28 20:26:03
Done.
| |
| 15 GetScreenAvailability(string? presentation_url) => (bool available); | |
| 16 | |
| 17 // Called when the frame no longer listens to the | |
| 18 // |availablechange| event. | |
| 19 OnScreenAvailabilityListenerRemoved(); | |
| 20 }; | |
| OLD | NEW |