| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 this.domain = domain; | 220 this.domain = domain; |
| 221 | 221 |
| 222 /** @type {!media_router.SinkIconType} */ | 222 /** @type {!media_router.SinkIconType} */ |
| 223 this.iconType = iconType; | 223 this.iconType = iconType; |
| 224 | 224 |
| 225 /** @type {!media_router.SinkStatus} */ | 225 /** @type {!media_router.SinkStatus} */ |
| 226 this.status = status; | 226 this.status = status; |
| 227 | 227 |
| 228 /** @type {number} */ | 228 /** @type {number} */ |
| 229 this.castModes = castModes; | 229 this.castModes = castModes; |
| 230 |
| 231 /** @type {boolean} */ |
| 232 this.isPseudoSink = false; |
| 230 }; | 233 }; |
| 231 | 234 |
| 232 | 235 |
| 233 /** | 236 /** |
| 234 * @param {number} tabId The current tab ID. | 237 * @param {number} tabId The current tab ID. |
| 235 * @param {string} domain The domain of the current tab. | 238 * @param {string} domain The domain of the current tab. |
| 236 * @constructor | 239 * @constructor |
| 237 * @struct | 240 * @struct |
| 238 */ | 241 */ |
| 239 var TabInfo = function(tabId, domain) { | 242 var TabInfo = function(tabId, domain) { |
| 240 /** @type {number} */ | 243 /** @type {number} */ |
| 241 this.tabId = tabId; | 244 this.tabId = tabId; |
| 242 | 245 |
| 243 /** @type {string} */ | 246 /** @type {string} */ |
| 244 this.domain = domain; | 247 this.domain = domain; |
| 245 }; | 248 }; |
| 246 | 249 |
| 247 return { | 250 return { |
| 248 AUTO_CAST_MODE: AUTO_CAST_MODE, | 251 AUTO_CAST_MODE: AUTO_CAST_MODE, |
| 249 CastMode: CastMode, | 252 CastMode: CastMode, |
| 250 Issue: Issue, | 253 Issue: Issue, |
| 251 Route: Route, | 254 Route: Route, |
| 252 Sink: Sink, | 255 Sink: Sink, |
| 253 TabInfo: TabInfo, | 256 TabInfo: TabInfo, |
| 254 }; | 257 }; |
| 255 }); | 258 }); |
| OLD | NEW |