Chromium Code Reviews| Index: chrome/browser/resources/media_router/elements/route_details/route_details.js |
| diff --git a/chrome/browser/resources/media_router/elements/route_details/route_details.js b/chrome/browser/resources/media_router/elements/route_details/route_details.js |
| index 92ba82eccf98442b937c07126e479281c688eb5e..b98230b70295fcdd53044039b53a1a9f42ecc338 100644 |
| --- a/chrome/browser/resources/media_router/elements/route_details/route_details.js |
| +++ b/chrome/browser/resources/media_router/elements/route_details/route_details.js |
| @@ -47,6 +47,15 @@ Polymer({ |
| }, |
| /** |
| + * The text for the join casting button. |
| + * @private {string} |
| + */ |
| + joinCastingButtonText_: { |
| + type: String, |
| + value: loadTimeData.getString('joinCastingButton'), |
|
imcheng
2015/11/19 18:55:08
joinButton ?
matt.boetger
2015/11/24 19:45:24
Same could be said for the stop button - but I wan
imcheng
2015/11/26 00:49:45
For stop button, it is named so because the button
matt.boetger
2015/12/01 01:26:55
Done.
|
| + }, |
| + |
| + /** |
| * The text for the stop casting button. |
| * @private {string} |
| */ |
| @@ -69,6 +78,16 @@ Polymer({ |
| }, |
| /** |
| + * Fires a join-route-click event. This is called when the button to |
| + * the current route is clicked. |
| + * |
| + * @private |
| + */ |
| + joinRoute_: function() { |
| + this.fire('join-route-click', {route: this.route}); |
| + }, |
| + |
| + /** |
| * Fires a close-route-click event. This is called when the button to close |
| * the current route is clicked. |
| * |