Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/browser/media/router/media_router.mojom

Issue 1273423004: Shows a launch spinner next to a sink once it is selected to create a route. The launch spinner sur… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router_type_converters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 module media_router.interfaces; 5 module media_router.interfaces;
6 6
7 // Represents an output sink to which media can be routed. 7 // Represents an output sink to which media can be routed.
8 struct MediaSink { 8 struct MediaSink {
9 // The sink identifier, e.g. "rs71w7mFzYLFlabir_qO4NHl6SUc." 9 // The sink identifier, e.g. "rs71w7mFzYLFlabir_qO4NHl6SUc."
10 string sink_id; 10 string sink_id;
11 // The human-readable name, e.g. "Janet's Chromecast". 11 // The human-readable name, e.g. "Janet's Chromecast".
12 string name; 12 string name;
13 // True if a route is being created to this sink.
14 bool is_launching;
13 }; 15 };
14 16
15 // Should be kept in sync with media_route.h. 17 // Should be kept in sync with media_route.h.
16 struct MediaRoute { 18 struct MediaRoute {
17 // The ID of this media route, e.g. "r_PR1O_blkC9dsKp-tb1ti8qurOo". 19 // The ID of this media route, e.g. "r_PR1O_blkC9dsKp-tb1ti8qurOo".
18 string media_route_id; 20 string media_route_id;
19 // The ID of the media source being sent through this media route. 21 // The ID of the media source being sent through this media route.
20 // May be missing if route is not local. 22 // May be missing if route is not local.
21 string? media_source; 23 string? media_source;
22 // The sink that is rendering the media content. 24 // The sink that is rendering the media content.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Called when the Media Route Manager receives a new list of sinks. 179 // Called when the Media Route Manager receives a new list of sinks.
178 OnSinksReceived(string media_source, array<MediaSink> sinks); 180 OnSinksReceived(string media_source, array<MediaSink> sinks);
179 181
180 // Called when issues are reported for media routes. 182 // Called when issues are reported for media routes.
181 OnIssue(Issue issue); 183 OnIssue(Issue issue);
182 184
183 // Called when list of routes has been updated. 185 // Called when list of routes has been updated.
184 OnRoutesUpdated(array<MediaRoute> routes); 186 OnRoutesUpdated(array<MediaRoute> routes);
185 }; 187 };
186 188
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698