OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 /** |
| 6 * Interface for the Polymer element that shows media controls for a route that |
| 7 * is currently cast to a device. |
| 8 * @record |
| 9 */ |
| 10 function RouteControlsInterface() {} |
| 11 |
| 12 /** |
| 13 * @type {!media_router.RouteStatus} |
| 14 */ |
| 15 RouteControlsInterface.prototype.routeStatus; |
| 16 |
| 17 /** |
| 18 * Resets the route controls. Called when the route details view is closed. |
| 19 */ |
| 20 RouteControlsInterface.prototype.reset = function() {}; |
| 21 |
| 22 /** |
| 23 * Called when the route is updated. Updates the description shown if it has |
| 24 * not been provided by status updates. |
| 25 * @param {!media_router.Route} route |
| 26 */ |
| 27 RouteControlsInterface.prototype.onRouteUpdated = function(route) {}; |
OLD | NEW |