| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 */ | 59 */ |
| 60 media_router.MediaRouterView = { | 60 media_router.MediaRouterView = { |
| 61 CAST_MODE_LIST: 'cast-mode-list', | 61 CAST_MODE_LIST: 'cast-mode-list', |
| 62 FILTER: 'filter', | 62 FILTER: 'filter', |
| 63 ISSUE: 'issue', | 63 ISSUE: 'issue', |
| 64 ROUTE_DETAILS: 'route-details', | 64 ROUTE_DETAILS: 'route-details', |
| 65 SINK_LIST: 'sink-list', | 65 SINK_LIST: 'sink-list', |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 /** | 68 /** |
| 69 * The minimum number of sinks to have to enable the search input strictly for |
| 70 * filtering (i.e. the Media Router doesn't support search so the search input |
| 71 * only filters existing sinks). |
| 72 * @const {number} |
| 73 */ |
| 74 media_router.MINIMUM_SINKS_FOR_SEARCH = 20; |
| 75 |
| 76 /** |
| 69 * This corresponds to the C++ MediaSink IconType. | 77 * This corresponds to the C++ MediaSink IconType. |
| 70 * @enum {number} | 78 * @enum {number} |
| 71 */ | 79 */ |
| 72 media_router.SinkIconType = { | 80 media_router.SinkIconType = { |
| 73 CAST: 0, | 81 CAST: 0, |
| 74 CAST_AUDIO: 1, | 82 CAST_AUDIO: 1, |
| 75 CAST_AUDIO_GROUP: 2, | 83 CAST_AUDIO_GROUP: 2, |
| 76 GENERIC: 3, | 84 GENERIC: 3, |
| 77 HANGOUT: 4, | 85 HANGOUT: 4, |
| 78 }; | 86 }; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 257 |
| 250 return { | 258 return { |
| 251 AUTO_CAST_MODE: AUTO_CAST_MODE, | 259 AUTO_CAST_MODE: AUTO_CAST_MODE, |
| 252 CastMode: CastMode, | 260 CastMode: CastMode, |
| 253 Issue: Issue, | 261 Issue: Issue, |
| 254 Route: Route, | 262 Route: Route, |
| 255 Sink: Sink, | 263 Sink: Sink, |
| 256 TabInfo: TabInfo, | 264 TabInfo: TabInfo, |
| 257 }; | 265 }; |
| 258 }); | 266 }); |
| OLD | NEW |