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

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

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 enum IconType { 9 enum IconType {
10 CAST, 10 CAST,
(...skipping 25 matching lines...) Expand all
36 // "Tab casting". 36 // "Tab casting".
37 string description; 37 string description;
38 // Specifies that the route is requested locally. 38 // Specifies that the route is requested locally.
39 bool is_local; 39 bool is_local;
40 // An optional path to an HTML page bundled bundled with the media router 40 // An optional path to an HTML page bundled bundled with the media router
41 // component extension. When set, the route can have custom route detail as 41 // component extension. When set, the route can have custom route detail as
42 // well as its own route controls in the media router dialog. 42 // well as its own route controls in the media router dialog.
43 string? custom_controller_path; 43 string? custom_controller_path;
44 // Set to true if this route should be displayed for |media_sink_id| in UI. 44 // Set to true if this route should be displayed for |media_sink_id| in UI.
45 bool for_display; 45 bool for_display;
46 // Set to true if this route corresponds to an offscreen presentation.
47 bool is_offscreen_presentation;
46 }; 48 };
47 49
48 // Notifications or an actionable events to be shown to the user. 50 // Notifications or an actionable events to be shown to the user.
49 // When is_blocking is true, media router UI shows issue only: 51 // When is_blocking is true, media router UI shows issue only:
50 // 52 //
51 // Title 53 // Title
52 // Message 54 // Message
53 // default_action_button secondary_action_button 55 // default_action_button secondary_action_button
54 // 56 //
55 // When is_blocking is false, media router UI uses banner: 57 // When is_blocking is false, media router UI uses banner:
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // Called when the Media Route Manager receives a new list of sinks. 201 // Called when the Media Route Manager receives a new list of sinks.
200 OnSinksReceived(string media_source, array<MediaSink> sinks); 202 OnSinksReceived(string media_source, array<MediaSink> sinks);
201 203
202 // Called when issues are reported for media routes. 204 // Called when issues are reported for media routes.
203 OnIssue(Issue issue); 205 OnIssue(Issue issue);
204 206
205 // Called when list of routes has been updated. 207 // Called when list of routes has been updated.
206 OnRoutesUpdated(array<MediaRoute> routes); 208 OnRoutesUpdated(array<MediaRoute> routes);
207 }; 209 };
208 210
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698