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

Side by Side Diff: chrome/browser/media/router/mojo/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: rebase Created 4 years, 6 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 bool is_local; 42 bool is_local;
43 // An optional path to an HTML page bundled bundled with the media router 43 // An optional path to an HTML page bundled bundled with the media router
44 // component extension. When set, the route can have custom route detail as 44 // component extension. When set, the route can have custom route detail as
45 // well as its own route controls in the media router dialog. 45 // well as its own route controls in the media router dialog.
46 string? custom_controller_path; 46 string? custom_controller_path;
47 // Set to true if this route should be displayed for |media_sink_id| in UI. 47 // Set to true if this route should be displayed for |media_sink_id| in UI.
48 bool for_display; 48 bool for_display;
49 // Set to true if this route was created by an off the record (incognito) 49 // Set to true if this route was created by an off the record (incognito)
50 // profile. 50 // profile.
51 bool off_the_record; 51 bool off_the_record;
52 // Set to true if this route corresponds to an offscreen presentation.
53 bool is_offscreen_presentation;
52 }; 54 };
53 55
54 // Notifications or an actionable events to be shown to the user. 56 // Notifications or an actionable events to be shown to the user.
55 // When is_blocking is true, media router UI shows issue only: 57 // When is_blocking is true, media router UI shows issue only:
56 // 58 //
57 // Title 59 // Title
58 // Message 60 // Message
59 // default_action_button secondary_action_button 61 // default_action_button secondary_action_button
60 // 62 //
61 // When is_blocking is false, media router UI uses banner: 63 // When is_blocking is false, media router UI uses banner:
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // changed to |state|. 371 // changed to |state|.
370 OnPresentationConnectionStateChanged( 372 OnPresentationConnectionStateChanged(
371 string route_id, PresentationConnectionState state); 373 string route_id, PresentationConnectionState state);
372 374
373 // Called when the presentation connected to route |route_id| has closed. 375 // Called when the presentation connected to route |route_id| has closed.
374 OnPresentationConnectionClosed( 376 OnPresentationConnectionClosed(
375 string route_id, PresentationConnectionCloseReason reason, 377 string route_id, PresentationConnectionCloseReason reason,
376 string message); 378 string message);
377 }; 379 };
378 380
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router.gypi ('k') | chrome/browser/media/router/mojo/media_router_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698