| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 /** | 43 /** |
| 44 * This corresponds to the C++ MediaRouterMetrics MediaRouterUserAction. | 44 * This corresponds to the C++ MediaRouterMetrics MediaRouterUserAction. |
| 45 * @enum {number} | 45 * @enum {number} |
| 46 */ | 46 */ |
| 47 media_router.MediaRouterUserAction = { | 47 media_router.MediaRouterUserAction = { |
| 48 CHANGE_MODE: 0, | 48 CHANGE_MODE: 0, |
| 49 START_LOCAL: 1, | 49 START_LOCAL: 1, |
| 50 STOP_LOCAL: 2, | 50 STOP_LOCAL: 2, |
| 51 CLOSE: 3, | 51 CLOSE: 3, |
| 52 STATUS_REMOTE: 4, | 52 STATUS_REMOTE: 4, |
| 53 REPLACE_LOCAL_ROUTE: 5, |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 /** | 56 /** |
| 56 * The possible states of the Media Router dialog. Used to determine which | 57 * The possible states of the Media Router dialog. Used to determine which |
| 57 * components to show. | 58 * components to show. |
| 58 * @enum {string} | 59 * @enum {string} |
| 59 */ | 60 */ |
| 60 media_router.MediaRouterView = { | 61 media_router.MediaRouterView = { |
| 61 CAST_MODE_LIST: 'cast-mode-list', | 62 CAST_MODE_LIST: 'cast-mode-list', |
| 62 FILTER: 'filter', | 63 FILTER: 'filter', |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 258 |
| 258 return { | 259 return { |
| 259 AUTO_CAST_MODE: AUTO_CAST_MODE, | 260 AUTO_CAST_MODE: AUTO_CAST_MODE, |
| 260 CastMode: CastMode, | 261 CastMode: CastMode, |
| 261 Issue: Issue, | 262 Issue: Issue, |
| 262 Route: Route, | 263 Route: Route, |
| 263 Sink: Sink, | 264 Sink: Sink, |
| 264 TabInfo: TabInfo, | 265 TabInfo: TabInfo, |
| 265 }; | 266 }; |
| 266 }); | 267 }); |
| OLD | NEW |