OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Any strings used here will already be localized. Values such as | 5 // Any strings used here will already be localized. Values such as |
6 // CastMode.type or IDs will be defined elsewhere and determined later. | 6 // CastMode.type or IDs will be defined elsewhere and determined later. |
7 | 7 |
8 cr.exportPath('media_router'); | 8 cr.exportPath('media_router'); |
9 | 9 |
10 /** | 10 /** |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 this.isLocal = isLocal; | 214 this.isLocal = isLocal; |
215 | 215 |
216 /** @type {boolean} */ | 216 /** @type {boolean} */ |
217 this.canJoin = canJoin; | 217 this.canJoin = canJoin; |
218 | 218 |
219 /** @type {number|undefined} */ | 219 /** @type {number|undefined} */ |
220 this.currentCastMode = undefined; | 220 this.currentCastMode = undefined; |
221 | 221 |
222 /** @type {?string} */ | 222 /** @type {?string} */ |
223 this.customControllerPath = customControllerPath; | 223 this.customControllerPath = customControllerPath; |
224 | |
225 /** @type {boolean} */ | |
226 this.supportsWebUiController = false; | |
imcheng
2017/06/16 00:12:32
This value should be supplied by the constructor,
takumif
2017/06/16 18:16:52
The ctor is only used by tests, and since most of
| |
224 }; | 227 }; |
225 | 228 |
226 /** | 229 /** |
227 * @param {string} title The title of the route. | 230 * @param {string} title The title of the route. |
228 * @param {string} description A description for the route. | 231 * @param {string} description A description for the route. |
229 * @param {boolean} canPlayPause Whether the route can be played/paused. | 232 * @param {boolean} canPlayPause Whether the route can be played/paused. |
230 * @param {boolean} canMute Whether the route can be muted/unmuted. | 233 * @param {boolean} canMute Whether the route can be muted/unmuted. |
231 * @param {boolean} canSetVolume Whether the route volume can be changed. | 234 * @param {boolean} canSetVolume Whether the route volume can be changed. |
232 * @param {boolean} canSeek Whether the route's playback position can be | 235 * @param {boolean} canSeek Whether the route's playback position can be |
233 * changed. | 236 * changed. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
335 return { | 338 return { |
336 AUTO_CAST_MODE: AUTO_CAST_MODE, | 339 AUTO_CAST_MODE: AUTO_CAST_MODE, |
337 CastMode: CastMode, | 340 CastMode: CastMode, |
338 Issue: Issue, | 341 Issue: Issue, |
339 Route: Route, | 342 Route: Route, |
340 RouteStatus: RouteStatus, | 343 RouteStatus: RouteStatus, |
341 Sink: Sink, | 344 Sink: Sink, |
342 TabInfo: TabInfo, | 345 TabInfo: TabInfo, |
343 }; | 346 }; |
344 }); | 347 }); |
OLD | NEW |