| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 /** @type {?number} */ | 192 /** @type {?number} */ |
| 193 this.tabId = tabId; | 193 this.tabId = tabId; |
| 194 | 194 |
| 195 /** @type {boolean} */ | 195 /** @type {boolean} */ |
| 196 this.isLocal = isLocal; | 196 this.isLocal = isLocal; |
| 197 | 197 |
| 198 /** @type {boolean} */ | 198 /** @type {boolean} */ |
| 199 this.canJoin = canJoin; | 199 this.canJoin = canJoin; |
| 200 | 200 |
| 201 /** @type {number|undefined} */ |
| 202 this.currentCastMode = undefined; |
| 203 |
| 201 /** @type {?string} */ | 204 /** @type {?string} */ |
| 202 this.customControllerPath = customControllerPath; | 205 this.customControllerPath = customControllerPath; |
| 203 }; | 206 }; |
| 204 | 207 |
| 205 | 208 |
| 206 /** | 209 /** |
| 207 * @param {string} id The ID of the media sink. | 210 * @param {string} id The ID of the media sink. |
| 208 * @param {string} name The name of the sink. | 211 * @param {string} name The name of the sink. |
| 209 * @param {?string} description Optional description of the sink. | 212 * @param {?string} description Optional description of the sink. |
| 210 * @param {?string} domain Optional domain of the sink. | 213 * @param {?string} domain Optional domain of the sink. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 261 |
| 259 return { | 262 return { |
| 260 AUTO_CAST_MODE: AUTO_CAST_MODE, | 263 AUTO_CAST_MODE: AUTO_CAST_MODE, |
| 261 CastMode: CastMode, | 264 CastMode: CastMode, |
| 262 Issue: Issue, | 265 Issue: Issue, |
| 263 Route: Route, | 266 Route: Route, |
| 264 Sink: Sink, | 267 Sink: Sink, |
| 265 TabInfo: TabInfo, | 268 TabInfo: TabInfo, |
| 266 }; | 269 }; |
| 267 }); | 270 }); |
| OLD | NEW |